5

I am using Texshop on my MacBook. I downloaded following files.

http://www.math.princeton.edu/sites/default/files/puthesis.cls http://www.math.princeton.edu/sites/default/files/puthesis.sample.tex

When I open the puthesis.sample.pdf file with the Adobe Reader DC, which is created from the above TEX file, the following error appears on the screen.

An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.

Could anyone help me to to get rid of this error? Thanks.

1
  • @Georg: The poster has given a MWE, or at least a WE — they’ve linked to the complete file they’re compiling, which is fairly minimal already. May 27 '17 at 9:16
6

The error seems due to

% the next two lines are needed to make packages using xcolor happy
\RequirePackage{xcolor}
\def\current@color{ Black}

If I comment out the third line, the error doesn't appear.

Actually, I'd remove also \RequirePackage{xcolor} which is not used by the class and would create problems if a user loads a package that needs xcolor with some option.

2
  • 1
    Is that really { Black} and not {Black}? May 28 '17 at 14:52
  • 1
    @MartinSchröder It doesn't matter: either is wrong. It's really { Black} in the class file.
    – egreg
    May 28 '17 at 14:57

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.