1 % Test file for bug report 2372
3 %! Paragraph ended before \ifthenelse was complete.
6 %l.14 \printsometimes{Hallo.}
8 % This should *not* generate an error
9 % and print "Hallo one" in the log file
12 \documentclass{article}
15 \FORMAT{LaTeX2e<1997/06/01>}
17 \PACKAGE[german]{babel}
21 \usepackage[german]{babel}
25 \newcommand{\printsometimes}[1]{%
26 \ifthenelse{\boolean{PrintIt}}%
28 % {\par\noindent\textbf{\large(#1)}\par}%
29 % {\noindent\textbf{\large(#1)}}%
34 \setboolean{PrintIt}{true}
35 \printsometimes{Hallo one.}
36 \setboolean{PrintIt}{false}
37 \printsometimes{Hallo two.}