I have used a tex template for my CV for years. But I recently migrated everything to a new Mac running OS 10.8.4 and the document will no longer compile. I have confirmed that the file compiles fine on OS 10.7.5. I'm working with the latest MacTex distribution on both computers.

The error generated is:

! Incomplete \iffalse; all text was ignored after line 113.

Line 113 is the first usage:


in this block:


% settings for hyperlinks
    bookmarks=true,         % show bookmarks bar?
    unicode=false,          % non-Latin characters in AcrobatÕs bookmarks
    pdftoolbar=true,        % show AcrobatÕs toolbar?
    pdfmenubar=true,        % show AcrobatÕs menu?
    pdffitwindow=false,     % window fit to page when opened
    pdfstartview={FitH},    % fits the width of the page to the window
    pdftitle={My Title},    % title
    pdfauthor={Me},     % author
    pdfsubject={Subject},   % subject of the document
    pdfcreator={Creator},   % creator of the document
    pdfproducer={Producer}, % producer of the document
    pdfkeywords={keywords}, % list of keywords
    pdfnewwindow=true,      % links in new window
    colorlinks=true,       % false: boxed links; true: colored links
    linkcolor=red,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=blue           % color of external links

%Edit these values as you see fit

\setlength{\outerbordwidth}{2.5pt}  % Width of border outside of title bars
\definecolor{shadecolor}{gray}{0.75}  % Outer background color of title bars (0 = black, 1 = white)
\definecolor{shadecolorB}{gray}{0.9}  % Inner background color of title bars

%Margin setup


%Custom commands
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
\setlength{\fboxsep}{0pt}\framebox[\textwidth][l]{\setlength{\fboxsep}   {4pt}\fcolorbox{shadecolorB}{shadecolorB}{\textbf{\sffamily{\mbox{~}\makebox[6.762in][l]{\large #1} \vphantom{p\^{E}}}}}}
    \textbf{#1} & #2 \\
    \textit{#3} & \textit{#4} \\



%%%%%%%%%%%%%%%%%%footer settings
\fancyhf{} % clear all header and footer fields
\fancyfoot[L]{\footnotesize \hspace{0.5in}J. A. Smith}
\fancyfoot[C]{\footnotesize \textit{Curriculum Vitae}}
\fancyfoot[R]{\footnotesize Page \thepage\ of 1 \hspace{0.5in}}
%%%%%%%%%%%%%%%%%%end footer settings

\textbf{\Large Joeseph A. Smith}\\
Assistant Professor -- Department of Biological Sciences\\
Curator of Mammals -- Museum of Natural Science\\
\url{http://www.foo.edu/Smith} & \href{mailto:Smith@xxx.edu}{\nolinkurl{Smith@xxx.edu}}
        \ressubheading{University of Foo}{Foo}{Ph.D. Ecology \& Evolutionary Biology}{2010}
            \resitem{Dissertation Title: blah blah}

    \ressubheading{Boo State University}{Boo}{B.S. Biology}{2000}


It's hard to believe this a problem with the code (even though that's what the error suggests), given that it compiles fine on the earlier OS, but I am not very experienced at customizing tex docs. Thanks in advance for any help!

  • 2
    Show a complete example. – Ulrike Fischer Sep 4 '13 at 14:22
  • Are you loading babel? – egreg Sep 4 '13 at 14:34
  • 1
    The most important method for debugging is creating a minimal example (or here): just by constructing it, you (yourself) are likely to figure out what is going wrong. ... And if not, someone here is likely to be able to figure it out on the basis of the MWE. – jon Sep 4 '13 at 14:53
  • @egreg No, not using babel. – Jake Sep 4 '13 at 14:54
  • @jon I edited the question to contain a complete, but minimal code block that generates the errors on OS10.8 but not 10.7. – Jake Sep 4 '13 at 15:05

The most recent version of tocloft has redefined \cdotfill in a way that seems not to agree with your usage of it in \ressubheading.

I don't really know what you're using it for, but anyway here are two fixes:

  1. \usepackage{array} in the preamble (which works because the table preamble is not subject to expansion any more)

  2. \protect\cftdotfill in the definition of \ressubheading (which achieves the same result)

However, if I use


I get the same result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.