summaryrefslogtreecommitdiff
path: root/tex/context/base/node-tra.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-10-29 11:35:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-10-29 11:35:00 +0200
commit2e3932acbaa9da37885abbbd1f449a110c06f9a1 (patch)
tree3a4b1c5a08129cd5881cd8f8758b0ebd2fb4f80d /tex/context/base/node-tra.lua
parenta1bbb1605334a1209f43625c174ba50ad698235e (diff)
downloadcontext-2e3932acbaa9da37885abbbd1f449a110c06f9a1.tar.gz
beta 2010.10.29 11:35
Diffstat (limited to 'tex/context/base/node-tra.lua')
-rw-r--r--tex/context/base/node-tra.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/node-tra.lua b/tex/context/base/node-tra.lua
index 78042cf44..d41089e6c 100644
--- a/tex/context/base/node-tra.lua
+++ b/tex/context/base/node-tra.lua
@@ -515,7 +515,7 @@ end
--~ else
--~ t[#t+1] = format("[%s]",node_type(last_id) or "?")
--~ end
---~ return table.concat(table.reverse(t)," ")
+--~ return table.concat(table.reversed(t)," ")
--~ end
@@ -631,7 +631,7 @@ end
-- might move elsewhere
local factor = number.dimenfactors.pt
-local stripper = lpeg.patterns.strip_zeros
+local stripper = lpeg.patterns.stripzeros
local points = function(n)
return lpegmatch(stripper,format("%.5fpt",n*factor))