2020-06-16 21:14:52 +02:00
|
|
|
\directlua{unhook_expl()}
|
2020-06-28 04:52:06 +02:00
|
|
|
% See baseregisters for list of toks pdfvariables
|
2020-06-28 12:12:41 +02:00
|
|
|
\directlua{initialize_pdf_toks()}
|
2020-08-13 22:24:13 +02:00
|
|
|
% We hardcode the ids of two catcodetables. If they ever change in the format, abort.
|
2021-11-20 15:39:43 +01:00
|
|
|
\if 0\ifnum1=\catcodetable@initex\else1\fi\ifnum2=\catcodetable@string\else1\fi 0\else
|
2020-08-13 22:24:13 +02:00
|
|
|
\errmessage{Inconsistent catcodetable identifiers}
|
|
|
|
\fi
|
2020-06-16 21:14:52 +02:00
|
|
|
\ifx\@tfor\undefined
|
|
|
|
\def\@tfor#1\do#2{}
|
|
|
|
\fi
|
2021-11-20 15:39:43 +01:00
|
|
|
\expanded {\def \noexpand \newlanguage #1\expandafter}\expandafter {%
|
|
|
|
\newlanguage{#1}%
|
|
|
|
\directlua{language.new(tex.count.allocationnumber)}%
|
|
|
|
}%
|
2021-11-08 15:15:07 +01:00
|
|
|
\input expl3.ltx
|