<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Greetings,<div><br></div><div>I recently downloaded and installed TeXLive-2008 (from MacTeX-2008), and quickly ran into a problem. When compiling documents using exam.cls, I get the following error:</div><div><br></div><div><div></div><blockquote type="cite"><div>This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)</div><div><br></div><div>[...]</div><div><br></div><div>(/usr/local/texlive/2008/texmf-dist/tex/latex/exam/exam.cls</div><div>Document Class: exam 2008/07/19 Version 2.3 by Philip Hirschhorn</div><div>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/ifthen.sty)</div><div>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls</div><div>Document Class: article 2005/09/16 v1.4f Standard LaTeX document class</div><div><br></div><div>[...]</div><div><br></div><div>! Undefined control sequence.</div><div>\@gtempa ...ifnum \@ne =\@ne \fi \if@printanswers </div><div> </div><div>Process aborted</div><div> \relax \TE@setvaltrue \els...</div><div>l.17 \ifthenelse{\boolean{@printanswers}}</div></blockquote><div> </div><div>The offending bit of my source file is:</div><div><br></div></div><div><blockquote type="cite" class=""><div><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">\printanswers</span></div><div><font class="Apple-style-span" color="#000000">\addpoints</font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><font class="Apple-style-span" color="#000000">\begin{document}</font></div><div><font class="Apple-style-span" color="#000000">% The title block depends on whether we are printing the original quiz, or the solutions:</font></div><div><font class="Apple-style-span" color="#000000">\ifthenelse{\boolean{@printanswers}}</font></div><div><br></div></blockquote></div><div><br></div><div>My first thought was that ifthen.sty was not being located, but the log clearly shows that it is. So I don't understand why I'm getting the "undefined control sequence" error.</div><div><br></div><div>Interestingly, the same source file compiles without complaint using the TeXLive-2007 distribution (many thanks to the developers for making it easy to switch back). </div><div><br></div><div>Any suggestions would be appreciated.</div><div><br></div><div>Thanks,</div><div><br></div><div>Todd Hufnagel</div><div><br></div><div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">-----</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">Todd Hufnagel</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">Professor</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">Department of Materials Science and Engineering</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">Johns Hopkins University</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">102 Maryland Hall</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">3400 N. Charles Street</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">Baltimore, MD 21218-2681</span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">410-516-6277/ Fax 410-516-5293 </span></span></div><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><a href="mailto:hufnagel@jhu.edu">hufnagel@jhu.edu</a></span></span></div><div style="font-family: Helvetica; "><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>