summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/oberdiek
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek')
-rw-r--r--Master/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua15
-rw-r--r--Master/texmf-dist/scripts/oberdiek/pdftexcmds.lua11
2 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua b/Master/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua
index fb27c4dc039..c89632f34a3 100644
--- a/Master/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua
+++ b/Master/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua
@@ -6,12 +6,12 @@
--
-- luatex.dtx (with options: `lua')
--
--- This is a generated file.
+-- This (was) a generated file.
--
-- Project: luatex
--- Version: 2010/03/09 v0.4
+-- Version: 2013/04/28 v0.4-roux
--
--- Copyright (C) 2007, 2009, 2010 by
+-- Copyright (C) 2007, 2009, 2010, 2013 by
-- Heiko Oberdiek <heiko.oberdiek at googlemail.com>
--
-- This work may be distributed and/or modified under the
@@ -47,11 +47,14 @@ function kpse_module_loader(module)
texio.write_nl("(" .. file .. ")")
return loader
end
- return "\n\t[oberdiek.luatex.kpse_module_loader] Loading error:\n\t"
+ return "\n\t[oberdiek.luatex.kpse_module_loader]-eroux Loading error:\n\t"
.. error
end
- return "\n\t[oberdiek.luatex.kpse_module_loader] Search failed"
+ return "\n\t[oberdiek.luatex.kpse_module_loader]-eroux Search failed"
end
-table.insert(package.loaders, kpse_module_loader)
+-- following line changed to use package.searchers instead of
+-- package.loaders for current luatex; this is the only change in the
+-- code. eroux, 28apr13.
+table.insert(package.searchers, kpse_module_loader)
--
-- End of File `oberdiek.luatex.lua'.
diff --git a/Master/texmf-dist/scripts/oberdiek/pdftexcmds.lua b/Master/texmf-dist/scripts/oberdiek/pdftexcmds.lua
index 0bee48a1cc6..db03beeda95 100644
--- a/Master/texmf-dist/scripts/oberdiek/pdftexcmds.lua
+++ b/Master/texmf-dist/scripts/oberdiek/pdftexcmds.lua
@@ -6,12 +6,12 @@
--
-- pdftexcmds.dtx (with options: `lua')
--
--- This is a generated file.
+-- This (was) a generated file.
--
-- Project: pdftexcmds
--- Version: 2011/11/29 v0.20
+-- Version: 2013/04/28 v0.20-eroux
--
--- Copyright (C) 2007, 2009-2011 by
+-- Copyright (C) 2007, 2009-2011, 2013 by
-- Heiko Oberdiek <heiko.oberdiek at googlemail.com>
--
-- This work may be distributed and/or modified under the
@@ -42,6 +42,8 @@ module("oberdiek.pdftexcmds", package.seeall)
local systemexitstatus
function getversion()
tex.write("2011/11/29 v0.20")
+ -- could not change above version string due to runtime version checks.
+ -- eroux/karl, 28apr13
end
function strcmp(A, B)
if A == B then
@@ -150,6 +152,9 @@ function unescapehex(str, mode, patch)
end
result = utf8
end
+ -- this next line added for current luatex; this is the only
+ -- change in the file. eroux, 28apr13.
+ local unpack = _G["unpack"] or table.unpack
tex.settoks(toks, string.char(unpack(result)))
end
function escapestring(str, mode)