summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua')
-rw-r--r--Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua17
1 files changed, 14 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua b/Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua
index 3fb036e8f53..2ebf1179d98 100644
--- a/Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua
+++ b/Master/texmf-dist/scripts/oberdiek/oberdiek.pdftexcmds.lua
@@ -9,7 +9,7 @@
-- This is a generated file.
--
-- Project: pdftexcmds
--- Version: 2011/04/22 v0.16
+-- Version: 2011/11/29 v0.20
--
-- Copyright (C) 2007, 2009-2011 by
-- Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -34,14 +34,14 @@
-- This work consists of the main source file pdftexcmds.dtx
-- and the derived files
-- pdftexcmds.sty, pdftexcmds.pdf, pdftexcmds.ins, pdftexcmds.drv,
--- pdftexcmds-test1.tex, pdftexcmds-test2.tex,
+-- pdftexcmds.bib, pdftexcmds-test1.tex, pdftexcmds-test2.tex,
-- pdftexcmds-test-shell.tex, pdftexcmds-test-escape.tex,
-- oberdiek.pdftexcmds.lua, pdftexcmds.lua.
--
module("oberdiek.pdftexcmds", package.seeall)
local systemexitstatus
function getversion()
- tex.write("2011/04/22 v0.16")
+ tex.write("2011/11/29 v0.20")
end
function strcmp(A, B)
if A == B then
@@ -272,6 +272,17 @@ function filemdfivesum(filename)
end
end
end
+local basetime = 0
+function resettimer()
+ basetime = os.clock()
+end
+function elapsedtime()
+ local val = (os.clock() - basetime) * 65536 + .5
+ if val > 2147483647 then
+ val = 2147483647
+ end
+ tex.write(string.format("%d", val))
+end
function shellescape()
if os.execute then
if status