summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-pag.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2014-02-01 13:40:15 +0200
committerMarius <mariausol@gmail.com>2014-02-01 13:40:15 +0200
commit882c68f8cf4b95e1cbceadb0794d7d2d212c9a8c (patch)
tree67e60d26d3b326e284148c27a0a9ade514ab8b68 /tex/context/base/strc-pag.lua
parent97467c9234f1c0867738bfb7bbe7c0eca17168fc (diff)
downloadcontext-882c68f8cf4b95e1cbceadb0794d7d2d212c9a8c.tar.gz
beta 2014.02.01 12:12
Diffstat (limited to 'tex/context/base/strc-pag.lua')
-rw-r--r--tex/context/base/strc-pag.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/strc-pag.lua b/tex/context/base/strc-pag.lua
index 02ed5610f..7b43a3a58 100644
--- a/tex/context/base/strc-pag.lua
+++ b/tex/context/base/strc-pag.lua
@@ -40,10 +40,12 @@ local collected, tobesaved = allocate(), allocate()
pages.collected = collected
pages.tobesaved = tobesaved
+pages.nofpages = 0
local function initializer()
collected = pages.collected
tobesaved = pages.tobesaved
+ pages.nofpages = #collected
end
job.register('structures.pages.collected', tobesaved, initializer)