luametalatex/luametaplain.ini
Marcel Fabian Krüger 8494bde0a5 Mostly language stuff
2021-11-20 15:39:43 +01:00

37 lines
921 B
INI

% tex-ini-files 2016-04-15: luatex.ini
% Karl Berry, originally written 2008. Public domain.
% PDF output by default.
% Must be done first (as needs to 'tidy up')
% \input luatexconfig.tex
% Activate primitives
\input luatexiniconfig.tex
\begingroup
% load-unicode-data needs \eTeXversion
\catcode`\{=1
\catcode`\}=2
\global\chardef\eTeXversion=2
\global\def\eTeXrevision{.2}
\directlua{unhook_expl()}
\endgroup
\input load-unicode-data.tex
\input etex.src
\directlua{initialize_pdf_toks()}%
%
\expanded {\def \noexpand \newlanguage #1\expandafter}\expandafter {%
\newlanguage{#1}%
\directlua{language.new(tex.count.allocationnumber)}%
}%
%
\expanded {\def \noexpand \uselanguage #1\expandafter}\expandafter {%
\expanded {%
\noexpand \ifcsname lang@#1\endcsname
\noexpand \directlua {lang.new(\noexpand\number\noexpand\lastnamedcs)}%
\noexpand \fi
\expandafter
}%
\uselanguage{#1}%
}%
\dump