diff options
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r-- | Master/texmf-dist/tex/plain/config/xetex.ini | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/config/xetex.ini b/Master/texmf-dist/tex/plain/config/xetex.ini new file mode 100644 index 00000000000..5c82fce6be3 --- /dev/null +++ b/Master/texmf-dist/tex/plain/config/xetex.ini @@ -0,0 +1,36 @@ +% xetex.ini +% jonathan kew +% public domain +% updated: 15 Sept 2006 + +%% Disable the \font\preloaded=... entries from plain.tex +%% as xetex is primarily intended for use with other fonts +\catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`\^=7 \catcode`\@=11 +\let\s@vef@nt=\font +\let\preloaded=2 +\def\font{\futurelet\next\d@ntpreload} +\def\d@ntpreload{\ifx\next\preloaded + \let\next\sk@pf@nt + \begingroup \catcode`\%=12 \catcode13=12 + \else + \let\next\s@vef@nt + \fi \next} +\lccode1=13 +\lowercase{\def\sk@pf@nt\preloaded=#1^^A{\endgroup}} + +\input etex.src + +% restore the \font command and undefine other stuff +\catcode`\@=11 +\let\font=\s@vef@nt +\let\d@ntpreload=\und@fined +\let\sk@pf@nt=\und@fined +\let\s@vef@nt=\und@fined +\catcode`\@=12 + +\input unicode-letters + +\XeTeXuseglyphmetrics=1 + +\dump +\endinput |