diff options
author | Marius <mariausol@gmail.com> | 2013-03-14 18:00:16 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-03-14 18:00:16 +0200 |
commit | 800d981b5f6f6d1f196dd3b9a421edb76504d600 (patch) | |
tree | b67287c8c77ddfca8571f4160611c12d194304c9 /tex/context/base/core-uti.lua | |
parent | 660cef836abefb5cb3256ce80532e5c4abc5af7f (diff) | |
download | context-800d981b5f6f6d1f196dd3b9a421edb76504d600.tar.gz |
beta 2013.03.14 16:12
Diffstat (limited to 'tex/context/base/core-uti.lua')
-rw-r--r-- | tex/context/base/core-uti.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/core-uti.lua b/tex/context/base/core-uti.lua index b1b830c31..bf8d2c207 100644 --- a/tex/context/base/core-uti.lua +++ b/tex/context/base/core-uti.lua @@ -266,7 +266,10 @@ end) function statistics.formatruntime(runtime) if not environment.initex then -- else error when testing as not counters yet local shipped = texcount['nofshipouts'] - local pages = texcount['realpageno'] - 1 + local pages = texcount['realpageno'] + if pages > shipped then + pages = shipped + end if shipped > 0 or pages > 0 then local persecond = shipped / runtime if pages == 0 then pages = shipped end |