[luatex] ini files for TL 2009
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Sat Apr 18 14:36:31 CEST 2009
Elie Roux a écrit :
> These ones should work with every version of LuaTeX. Can you test them
> on your TL2008?
>
Works fine with luatex 0.25.4, 0.30.3, 0.35.0, 0.36.0, 0.39.0 (I dont think it
is necessary to test more versions).
I would suggest to factor out the initial code in a file luatexconfig.tex,
analogous to pdftexconfig.tex, like this:
-----BEGIN luatexconfig.tex-----
\begingroup
\catcode `\{=1
\catcode `\}=2
\expandafter\ifx\csname luatexversion\endcsname\relax
\let\luatexversion\undefined
\directlua{tex.enableprimitives('', tex.extraprimitives())}
\fi
\endgroup
-----END luatexconfig.tex-----
----BEGIN luatex.ini-----
\input luatexconfig.tex
\input pdftexconfig.tex
\scrollmode
\input latex.ltx
\endinput
-----END luatex.ini-----
-----BEGIN lualatex.ini-----
\input luatexconfig.tex
\input pdftexconfig.tex
\input plain
\dump
\endinput
-----END lualatex.ini-----
Manuel.
More information about the luatex
mailing list