2

I need to start with CPE journal. I downloaded their document guidelines, which included a .cls, a .tex, a PDF and README file.

I am using TexMaker 4.4.1 with TexLive in Mac OS X.

When I opened the TEX file provided and try to Quick Build (I did not modify anything), I have an error:

enter image description here

This error seems nasty for me. Could you provide some hints to fix it?

1 Answer 1

7

The problem arises because you're compiling the file cpedoc.tex you've downloaded with pdfLaTeX and the file contains this line

\usepackage[dvips,colorlinks,bookmarksopen,bookmarksnumbered,citecolor=red,urlcolor=red]{hyperref}

The dvips option is for when you compile with LaTeX, not with pdfLaTeX.

If you want to compile with pdfLaTeX, remove that option:

\usepackage[colorlinks,bookmarksopen,bookmarksnumbered,citecolor=red,urlcolor=red]{hyperref}

Otherwise, use the chain LaTeX -> dvips -> ps2pdf.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .