1 % Test file for LaTeX2e/Babel bug report 2225
2 % Conflict between babel and ifthen. The construction \isodd{\pageref{key}}
3 % does not work when babel is active.
6 \documentclass{article}
8 \AUTHOR{Piet van Oostrum <piet@cs.ruu.nl>}
9 \FORMAT{LaTeX2e<1996/06/01>}
12 \PACKAGE[dutch]{babel}
16 \usepackage[dutch]{babel}
23 \wlog{We are on page 1, }
24 We are on an \ifthenelse{\isodd{\pageref{test}}}
25 {ODD\wlog{ODD}}{EVEN\wlog{EVEN}} page.
27 This is \ifthenelse{\pageref{test}=1}{}{NOT\wlog{NOT}} the first page.