diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-01-06 20:05:31 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-01-06 20:05:31 +0100 |
commit | 40c16033d164a969e06aacc991371592731baf2a (patch) | |
tree | d74d6ccd0713b41105b83b1410d27915c7b68649 /tex/context/base/mkxl/lpdf-ren.lmt | |
parent | 9b1c3470a7a222ef9ae20106d750c4a0127819a7 (diff) | |
download | context-40c16033d164a969e06aacc991371592731baf2a.tar.gz |
2022-01-06 19:50:00
Diffstat (limited to 'tex/context/base/mkxl/lpdf-ren.lmt')
-rw-r--r-- | tex/context/base/mkxl/lpdf-ren.lmt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/lpdf-ren.lmt b/tex/context/base/mkxl/lpdf-ren.lmt index 0343ab76a..ea34505fa 100644 --- a/tex/context/base/mkxl/lpdf-ren.lmt +++ b/tex/context/base/mkxl/lpdf-ren.lmt @@ -94,7 +94,8 @@ local pagelayers, pagelayersreference, cache = nil, nil, { } local alphabetic = { } local escapednames = table.setmetatableindex(function(t,k) - local v = escaped(k) +-- local v = escaped(k) + local v = escaped(k,true) t[k] = v return v end) @@ -151,7 +152,8 @@ local function useviewerlayer(name) -- move up so that we can use it as local else hidelayers[#hidelayers+1] = nr end - pagelayers[escapednames[tag]] = dr -- check + -- pagelayers[escapednames[tag]] = dr -- check + pagelayers[tag] = dr -- check else -- todo: message end @@ -241,7 +243,8 @@ function executers.togglelayer(arguments) return setlayer(pdf_toggle,arguments) -- injection -local f_bdc = formatters["/OC /%s BDC"] +-- local f_bdc = formatters["/OC /%s BDC"] +local f_bdc = formatters["/OC %s BDC"] local s_emc = "EMC" function codeinjections.startlayer(name) -- used in mp |