diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2006-09-21 11:56:51 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2006-09-21 11:56:51 +0000 |
commit | 434f9fc308018d9d049fcbef6e6a3555437449a6 (patch) | |
tree | daebf99cf68f22ea2165bbf857d2c7b196effa6a /Master/texmf-dist/tex/eplain/config | |
parent | a1e59375aa18687111b8cdf9ed6096f101924d47 (diff) |
moving .ini files for xetex-based formats into main config directories
git-svn-id: svn://tug.org/texlive/trunk@2175 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/eplain/config')
-rw-r--r-- | Master/texmf-dist/tex/eplain/config/xeplain.ini | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/eplain/config/xeplain.ini b/Master/texmf-dist/tex/eplain/config/xeplain.ini new file mode 100644 index 00000000000..969e7081ee7 --- /dev/null +++ b/Master/texmf-dist/tex/eplain/config/xeplain.ini @@ -0,0 +1,39 @@ +% Jonathan Kew +% 2006-09-15 +% Public domain +% hyphenation is set up in language.dat +% based on eplain.ini ("xeplain" = the eplain macros with xetex) + +\input unicode-letters % required before patterns are loaded + +%% 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 bplain + +% 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 eplain + +\XeTeXuseglyphmetrics=1 + +\dump +\endinput |