barthel@immd2.informatik.uni-erlangen.de (K. Barthelmann) (02/15/91)
Dear TeXperts, I am running \TeX 3.0 (under SUN OS 4.1) and try to use the new \language feature in \LaTeX. Therefore I added the lines \language1 \input ghyphen % german hyphenation patterns \language0 after \input hyphen in lplain.tex. (Perhaps not the most elegant solution.) This works fine in most cases, but \TeX appears to switch back to language 0 in every floating environment (footnotes, figures and tables, ...). When explaining overfull \hboxes, \TeX lists \setlanguage1 among others. But probably ``\language1'' would be what I want. Even an explicit ``\language1'', repeated within the floating environment, does not help. What am I doing wrong? Klaus Barthelmann barthel@immd2.informatik.uni-erlangen.de Lerstuhl f\"ur Programmiersprachen Universit\"at Erlangen-N\"urnberg
raichle@azu.informatik.uni-stuttgart.de (Bernd Raichle) (02/15/91)
on 14 Feb 91 17:18:05 GMT, barthel@immd2.informatik.uni-erlangen.de (K. Barthelmann) said: Klaus> This works fine in most cases, but \TeX appears to switch back to language 0 in Klaus> every floating environment (footnotes, figures and tables, ...). When Klaus> explaining overfull \hboxes, \TeX lists Klaus> \setlanguage1 Klaus> among others. But probably ``\language1'' would be what I want. Even an Klaus> explicit ``\language1'', repeated within the floating environment, does not Klaus> help. What am I doing wrong? TeX's behaviour is correct, your interpretation is wrong. TeX inserts a \setlanguage whatsit node, if you change the current language with \language. In your example the language *is* 1, not 0. -bernd