summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-pps.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-06-22 19:58:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-06-22 19:58:00 +0200
commita9c288d372917c485a2882593ed18c8044bf82f1 (patch)
tree5dde88ef6591400030e42184ec2913b08ad394b9 /tex/context/base/mlib-pps.lua
parent460d0ab518e3f51383c332b82045fe3ee14ca255 (diff)
downloadcontext-a9c288d372917c485a2882593ed18c8044bf82f1.tar.gz
beta 2014.06.22 19:58
Diffstat (limited to 'tex/context/base/mlib-pps.lua')
-rw-r--r--tex/context/base/mlib-pps.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mlib-pps.lua b/tex/context/base/mlib-pps.lua
index 0f38c271e..9a3ab8f4c 100644
--- a/tex/context/base/mlib-pps.lua
+++ b/tex/context/base/mlib-pps.lua
@@ -903,8 +903,8 @@ local function tx_analyze(object,prescript) -- todo: hash content and reuse them
c = lpegmatch(pat,txc)
end
end
- local a = prescript.tr_alternative
- local t = prescript.tr_transparency
+ local a = tonumber(prescript.tr_alternative)
+ local t = tonumber(prescript.tr_transparency)
local h = fmt(tx_number,a or "-",t or "-",c or "-")
local n = data.texhash[h] -- todo: hashed variant with s (nicer for similar labels)
if not n then