Thomas A. Schmitz wrote: fix: \def\setcurrentlanguage#1#2% sets modes: **id (currentmain) *id (current) {\edef\xaskedlanguage{#1}% otherwise clash with \askedlanguage \ifx\xaskedlanguage\empty \else \ifx\currentmainlanguage\empty\else\resetsystemmode{\systemmodeprefix\currentmainlanguage}\fi \let\currentmainlanguage\xaskedlanguage \setsystemmode{\systemmodeprefix\currentmainlanguage}% \fi \edef\xaskedlanguage{#2}% \ifx\xaskedlanguage\empty \else \ifx\currentlanguage\empty\else\resetsystemmode\currentlanguage\fi \let\currentlanguage\xaskedlanguage \setsystemmode\currentlanguage \fi} i'll make a new alpha later today ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------