summaryrefslogtreecommitdiff
path: root/tex/context/base/node-tra.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-08-24 02:40:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-08-24 02:40:00 +0200
commit710bc1b1db31b0d14c37c85922350b2b47a8bf8c (patch)
tree2534f0aa26ce392e8665154578f78c400fc6889f /tex/context/base/node-tra.lua
parentd1ee576345717d670c5ee5297222fab3a38762dc (diff)
downloadcontext-710bc1b1db31b0d14c37c85922350b2b47a8bf8c.tar.gz
beta 2013.08.24 02:40
Diffstat (limited to 'tex/context/base/node-tra.lua')
-rw-r--r--tex/context/base/node-tra.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/tex/context/base/node-tra.lua b/tex/context/base/node-tra.lua
index bfdfa543b..b5187e0f6 100644
--- a/tex/context/base/node-tra.lua
+++ b/tex/context/base/node-tra.lua
@@ -571,3 +571,17 @@ end
function tracers.rule(w,h,d,c,s) -- so some day we can consider using literals (speedup)
return setproperties(new_rule(w,h,d),c,s)
end
+
+-- only nodes
+
+local nodestracerpool = { }
+
+tracers.pool = {
+ nodes = nodesstracerpool,
+}
+
+function nodestracerpool.rule(w,h,d,c,s) -- so some day we can consider using literals (speedup)
+ return setproperties(new_rule(w,h,d),c,s)
+end
+
+tracers.rule = nodestracerpool.rule -- for a while