# viewing pdf file created from a TEX file with acrobat reader

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.

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

• @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, 2017 at 9:16

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.

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