| 1 |
%%% This is part of the hyplain package by Enrico Gregorio |
| 2 |
%%% You are allowed to do anything you want with this as long |
| 3 |
%%% as you cite the source and change name to the file |
| 4 |
%%% (but don't rename it plain.tex) |
| 5 |
%%% |
| 6 |
%%% Its purpose is to load plain.tex but not hyphen.tex |
| 7 |
%%% in order to be able to define more languages than |
| 8 |
%%% American English. |
| 9 |
%%% |
| 10 |
%%% By running iniTeX on this file, you end up with a |
| 11 |
%%% plain TeX format with some new facilities for changing |
| 12 |
%%% the language (see hyrules.tex and hydoc.tex) |
| 13 |
|
| 14 |
\catcode`\{=1 % left brace is begin-group character |
| 15 |
\catcode`\}=2 % right brace is end-group character |
| 16 |
\catcode`\@=11 % Now @ is a letter |
| 17 |
|
| 18 |
%%% Save the original meaning of \input |
| 19 |
\let\orig@input\input |
| 20 |
|
| 21 |
%%% D. E. Knuth has decreed that plain.tex cannot be modified |
| 22 |
%%% except for preloaded fonts. But we can always use some |
| 23 |
%%% TeX trick; since the file is immutable, it will contain |
| 24 |
%%% the line `\input hyphen'; at that point we restore the |
| 25 |
%%% original meaning of \input and input hyrules.tex instead |
| 26 |
%%% of hyphen.tex |
| 27 |
\def\input hyphen {\let\input\orig@input \input hyrules } |
| 28 |
|
| 29 |
%%% Here we load plain.tex |
| 30 |
\orig@input plain |
| 31 |
|
| 32 |
%%% We change the contents of \fmtname |
| 33 |
\def\fmtname{plain (multiple language support)} |
| 34 |
%%% Just a reminder for \fmtversion which we keep identical |
| 35 |
%%% to the plain TeX version number |
| 36 |
% \def\fmtversion{3.14159265} |
| 37 |
\def\hyplainversion{1.0} |
| 38 |
|
| 39 |
\dump |