diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/luatex-loader.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/oberdiek/luatex-loader.sty | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/luatex-loader.sty b/Master/texmf-dist/tex/generic/oberdiek/luatex-loader.sty index 52d39a888aa..25739de1a05 100644 --- a/Master/texmf-dist/tex/generic/oberdiek/luatex-loader.sty +++ b/Master/texmf-dist/tex/generic/oberdiek/luatex-loader.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% Copyright (C) 2007, 2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -79,6 +79,9 @@ \else \def\x#1#2[#3]{\endgroup #2[{#3}]% + \ifx#1\@undefined + \xdef#1{#3}% + \fi \ifx#1\relax \xdef#1{#3}% \fi @@ -86,7 +89,7 @@ \fi \expandafter\x\csname ver@luatex-loader.sty\endcsname \ProvidesPackage{luatex-loader}% - [2007/12/12 v0.1 Lua module loader (HO)] + [2009/04/10 v0.2 Lua module loader (HO)] \begingroup \catcode10 12 % ^^J @@ -96,11 +99,17 @@ \catcode41 12 % ) \catcode44 12 % , \catcode46 12 % . + \catcode60 12 % < \catcode61 12 % = \catcode95 12 % _ (other!) \catcode96 12 % ` \endlinechar=10 % - \directlua0{% + \ifnum\luatexversion<36 % + \directlua0% + \else % + \expandafter\directlua % + \fi % + {% do local script = "oberdiek.luatex.lua" local file = kpse.find_file(script, "texmfscripts") |