3 >Originator: oberdiek@ruf.uni-freiburg.de (Heiko Oberdiek)
6 If somebody uses \iflanguage with an macro with its parameter
7 after \iflanguage the macro is broken by \cs{else} or \cs{fi}.
12 \documentclass{article}
15 \FORMAT{LaTeX2e<1996/12/01>}
17 \AUTHOR{oberdiek@ruf.uni-freiburg.de (Heiko Oberdiek)}
18 \PACKAGE[german]{babel}
21 \usepackage[german]{babel}
27 \showboxbreadth=50\showboxdepth=50
29 \newcommand{\testgerm}[1]{[Test "`#1"' auf Deutsch]}
30 \newcommand{\testeng}[1]{[Test ``#1'' in english]}
33 \iflanguage{german}{\testgerm{ABC}}{\testeng{ABC}} is correct and}
36 \iflanguage{german}{\testgerm}{\testeng}{ABC} was wrong.}
40 \setbox0\vbox{\@parboxrestore
41 \iflanguage{german}{\section[german]}%