[fptex] format file with several languages?
Jose Carlos Oliveira Santos
Jose Carlos Oliveira Santos <jcsantos@fc.up.pt>
Thu, 25 Jan 2001 21:09:01 +0000 (WET)
Hi
OK, now I know the answer to your other question. Take the
plain.tex file and save it under another name (plainpt.tex, for instance).
Open it with a text editor; you will find the following lines, almost at
the end:
\lefthyphenmin=2 \righthyphenmin=3 % disallow x- or -xx breaks
\input hyphen
Delete the second of these two lines and add the following ones:
\input pthyph
\language1
\input ushyph
\language2
\input frhyph.tex
\language0
After this, run INITEX with this file; when it stops, type "\dump" and
ENTER; you will get a file called "plainpt.fmt". To use it with a TeX
file, the first line of this file should be
%&plainpt
and it will use the portuguese hyphenation patterns. If you want to type
some text in english you should write
{\language1 Text in english}
and if you want to write in french, you should write
{\language2 Texte en fran\c cais}
I hope that this helps
José Carlos Santos