Compile with:
pdftex --translate-file ./texmas texmas.tex
\ExplSyntaxOn | |
% (u)pLaTeXでなければ何もしない | |
\bool_lazy_or:nnF | |
{ \sys_if_engine_ptex_p: } | |
{ \sys_if_engine_uptex_p: } | |
{ | |
\ExplSyntaxOff | |
\file_input_stop: | |
} |
\ExplSyntaxOn | |
%--------------------------------------- | |
%% \token_if_jachar:N <token> | |
% Tests if <token> is a jachar token or not. | |
\bool_lazy_or:nnTF | |
{ \sys_if_engine_ptex_p: } | |
{ \sys_if_engine_uptex_p: } | |
{ | |
\use:x | |
{ |
%#!uplatex | |
%% upLaTeX で min10 してみる | |
%% TeX Live 2023 以降の uplatex が必要 | |
% ---------------------------------------------------------------------- | |
% どうして uplatex じゃないの? | |
\ifnum\jis"2121="3000 \else | |
\typeout{Why not run `uplatex'?} |
Compile with:
pdftex --translate-file ./texmas texmas.tex