diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/luatex.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/luatex.dtx | 74 |
1 files changed, 36 insertions, 38 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/luatex.dtx b/Master/texmf-dist/source/latex/oberdiek/luatex.dtx index 6e2a5cc9ebb..ae2eac484fb 100644 --- a/Master/texmf-dist/source/latex/oberdiek/luatex.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/luatex.dtx @@ -170,7 +170,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{1216} +% \CheckSum{1218} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -490,29 +490,26 @@ and the derived files \catcode46 12 % . \catcode58 12 % : \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\let\expandafter\x\csname ver@luatex.sty\endcsname - \ifcase 0% - \ifx\x\relax % plain + \ifx\x\relax % plain-TeX, first loading + \else + \def\empty{}% + \ifx\x\empty % LaTeX, first loading, + % variable is initialized, but \ProvidesPackage not yet seen \else - \ifx\x\empty % LaTeX + \catcode35 6 % # + \expandafter\ifx\csname PackageInfo\endcsname\relax + \def\x#1#2{% + \immediate\write-1{Package #1 Info: #2.}% + }% \else - 1% + \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% \fi + \x{luatex}{The package is already loaded}% + \aftergroup\endinput \fi - \else - \catcode35 6 % # - \catcode123 1 % { - \catcode125 2 % } - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{luatex}{The package is already loaded}% - \endgroup - \expandafter\endinput \fi \endgroup % \end{macrocode} @@ -528,6 +525,8 @@ and the derived files \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ + \catcode91 12 % [ + \catcode93 12 % ] \catcode123 1 % { \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax @@ -1111,29 +1110,26 @@ and the derived files \catcode46 12 % . \catcode58 12 % : \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\let\expandafter\x\csname ver@luatex-loader.sty\endcsname - \ifcase 0% - \ifx\x\relax % plain + \ifx\x\relax % plain-TeX, first loading + \else + \def\empty{}% + \ifx\x\empty % LaTeX, first loading, + % variable is initialized, but \ProvidesPackage not yet seen \else - \ifx\x\empty % LaTeX + \catcode35 6 % # + \expandafter\ifx\csname PackageInfo\endcsname\relax + \def\x#1#2{% + \immediate\write-1{Package #1 Info: #2.}% + }% \else - 1% + \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% \fi + \x{luatex-loader}{The package is already loaded}% + \aftergroup\endinput \fi - \else - \catcode35 6 % # - \catcode123 1 % { - \catcode125 2 % } - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{luatex-loader}{The package is already loaded}% - \endgroup - \expandafter\endinput \fi \endgroup % \end{macrocode} @@ -1149,6 +1145,8 @@ and the derived files \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ + \catcode91 12 % [ + \catcode93 12 % ] \catcode123 1 % { \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax @@ -1214,7 +1212,7 @@ and the derived files % Currently \LuaTeX\ does not use KPSE when searching for module % files. The following Lua script implements a workaround. % It extends |package.loader| by another search method. -% Modules are found by the module name with extension \xext{.lua} +% Modules are found by the module name with extension \xext{lua} % similar to % \begin{quote} % \ttfamily |kpsewhich --format=texmfscripts| \meta{module}|.lua| |