diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-01-18 22:43:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-01-18 22:43:00 +0100 |
commit | e1cd565bd3872eb5665b95a0ca93e9ba6982c929 (patch) | |
tree | 645d840cbec918941bfffdeacb38de331110a72e /tex/context/base/strc-pag.lua | |
parent | 4e362156550b2624811c01de388d3d695f444d77 (diff) | |
download | context-e1cd565bd3872eb5665b95a0ca93e9ba6982c929.tar.gz |
beta 2010.01.18 22:43
Diffstat (limited to 'tex/context/base/strc-pag.lua')
-rw-r--r-- | tex/context/base/strc-pag.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/strc-pag.lua b/tex/context/base/strc-pag.lua index 7338888ff..a8f8af14f 100644 --- a/tex/context/base/strc-pag.lua +++ b/tex/context/base/strc-pag.lua @@ -99,7 +99,11 @@ function pages.number(realdata,pagespec) local numberspec = realdata.numberdata local conversionset = (pagespec and pagespec.conversionset ~= "" and pagespec.conversionset) or (numberspec and numberspec.conversionset ~= "" and numberspec.conversionset) or "" local conversion = (pagespec and pagespec.conversion ~= "" and pagespec.conversion ) or (numberspec and numberspec.conversion ~= "" and numberspec.conversion ) or "" + local starter = (pagespec and pagespec.starter ~= "" and pagespec.starter ) or (numberspec and numberspec.starter ~= "" and numberspec.starter ) or "" local stopper = (pagespec and pagespec.stopper ~= "" and pagespec.stopper ) or (numberspec and numberspec.stopper ~= "" and numberspec.stopper ) or "" + if starter ~= "" then + processors.sprint(ctxcatcodes,starter) + end if conversion ~= "" then texsprint(ctxcatcodes,format("\\convertnumber{%s}{%s}",conversion,userpage)) else |