summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-pag.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
committerMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
commit69d2352af4b60929b37fc49f3bdb263977016244 (patch)
treedb5eb11398e345dfa23b4c4500fb93575d2afb7c /tex/context/base/strc-pag.lua
parentc18f7cbe51449a611ea1819fedd9a4ff18529b7d (diff)
downloadcontext-69d2352af4b60929b37fc49f3bdb263977016244.tar.gz
stable 2012.05.30 11:26
Diffstat (limited to 'tex/context/base/strc-pag.lua')
-rw-r--r--tex/context/base/strc-pag.lua12
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