diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-27 23:23:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-27 23:23:55 +0000 |
commit | 89796bf06b4f2d34d4b2b918d99967120bd74f07 (patch) | |
tree | 9b78e88eaa45255cd88a79524eff36b382f03036 /Master/texmf-dist/scripts/oberdiek | |
parent | 38b404935da1517d414a99cb996804cb778fa887 (diff) |
fixes from elie.roux@telecom-bretagne.eu for current luatex; hopefully full new version from heiko will be coming soon
git-svn-id: svn://tug.org/texlive/trunk@30141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek')
-rw-r--r-- | Master/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua | 15 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/oberdiek/pdftexcmds.lua | 11 |
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) |