TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded the tex file for the documentation of animate package by Alexander Grahn and tried to run it on MikTeX instead of giving me the PDF output it generate the following error:

! LaTeX Error: Please use LaTeX to compile this documentation.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.46   \makeatother

Kindly let me know how can I fix this.

share|improve this question
    
What command did MikTeX run? Did it do pdflatex or latex or...? – Seamus May 29 '11 at 15:29
    
It did pdflatex – Scientist May 29 '11 at 15:53

You need to compile it using latex and not pdflatex. You'll get a .dvi file that now you can convert to .ps using dvips <file>.dvi; then you can use ps2pdf <file>.ps to obtain a .pdf file. Your editor probably has an output profile (LaTeX=>PS=>PDF in the case of TeXnicCenter) that can help you to automate this process.

share|improve this answer
    
Any idea why it needs DVI output? The package seems to support pdflatex: "Package ‘animate’ supports the usual PDF making workflows, i. e. pdfLATEX, LATEX ! dvips ! ps2pdf/Distiller and (X E)LATEX ! (x)dvipdfmx.". – Martin Scharrer May 29 '11 at 16:00
    
BTW: Also I personally would have phrased the error message differently, because I count pdflatex to LaTeX, which is more a collective term. (Not that I blame that on you, Gonzalo) – Martin Scharrer May 29 '11 at 16:02
3  
@Martin: the package supports pdflatex, but the file animate.tex (which I assume was the file that Scientist tried to compile) uses PS-Tricks (\usepackage{pst-3dplot}), so it requires latex for its compilation. – Gonzalo Medina May 29 '11 at 16:11
    
@Martin: I will improve the message text in the source file – AlexG May 30 '11 at 7:42
    
@Alexander: Thanks. It's not a big thing but can be confusing. Even having it in lowercase would make it clearer, i.e. 'latex' instead of LaTeX. – Martin Scharrer May 30 '11 at 7:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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