luametalatex/luametalatex-ltexpl-hook.tex

16 lines
553 B
TeX
Raw Normal View History

\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()}
% 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
\errmessage{Inconsistent catcodetable identifiers}
\fi
\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