1 % Test file for LaTeX2e/Babel bug report 947
2 % Conflict between babel and ifthen. The construction \isodd{\pageref{key}}
3 % does not work when babel is active.
8 \AUTHOR{Piet van Oostrum <piet@cs.ruu.nl>}
9 \FORMAT{LaTeX2e<1994/06/01> patch level 2}
12 \PACKAGE[dutch]{babel}
16 \usepackage[dutch]{babel}
22 This is page \pageref{one}.
28 This is page~\pageref{two}.
29 \ifthenelse{\isodd{\pageref{two}}}{ODD}{EVEN}
32 \ifthenelse{\isodd{\pageref{two}}}{\wlog{ODD}}{\wlog{EVEN}}
39 This is page~\pageref{three}.
40 \ifthenelse{\isodd{\pageref{three}}}{ODD}{EVEN}
43 \ifthenelse{\isodd{\pageref{three}}}{\wlog{ODD}}{\wlog{EVEN}}