diff options
Diffstat (limited to 'tex/context/base/strc-pag.lua')
-rw-r--r-- | tex/context/base/strc-pag.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tex/context/base/strc-pag.lua b/tex/context/base/strc-pag.lua index bce965546..460d4ff00 100644 --- a/tex/context/base/strc-pag.lua +++ b/tex/context/base/strc-pag.lua @@ -69,9 +69,6 @@ function pages.save(prefixdata,numberdata) end end --- We can set the pagenumber but as it only get incremented in the page --- builder we have to make sure it starts at least at 1. - function counters.specials.userpage() local r = texcount.realpageno if r > 0 then @@ -81,16 +78,7 @@ function counters.specials.userpage() if trace_pages then report_pages("forcing pagenumber of realpage %s to %s",r,t.number) end - return - end - end - local u = texcount.userpageno - if u == 0 then - if trace_pages then - report_pages("forcing pagenumber of realpage %s to %s (probably a bug)",r,1) end - counters.setvalue("userpage",1) - texcount.userpageno = 1 end end |