yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

option "pdftex" in the documentclass options within texlive 2009 generates error #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi
I am very new to Latex and TexLive area. Recently we upgraded our PDF building 
environment to texlive 2009. After upgrading we are unable to build PDF for the 
Latex files that use the option "pdftex"  in the documentclass options (for 
submissions that use jpeg or PDF figures) produces a PDF anymore. 

The error message I get is the following

! Package pdftex.def Error: PDF mode expected, but DVI mode detected!
(pdftex.def) If you are using `latex', then call `pdflatex'.

I went through issue 55 and the suggession is to edit the makefile but when i 
give a search for makefile within texlive2009 folder i get many under almost 
every directory. Please can you help me on this. We do not have control to the 
latex document submitted as it is submitted by end users.

Original issue reported on code.google.com by sundhar...@gmail.com on 23 Jun 2010 at 10:45

GoogleCodeExporter commented 9 years ago
Which version of the makefile are you using?

Original comment by shiblon on 23 Jun 2010 at 10:51

GoogleCodeExporter commented 9 years ago
Hi Shiblon

Can you please letme know which directory i can locate the makefile you are 
referring to.

Original comment by sundhar...@gmail.com on 24 Jun 2010 at 5:23

GoogleCodeExporter commented 9 years ago
Oh, did you know this is a support queue for a *Makefile* for LaTeX, not for 
LaTeX itself?  The makefile I have created is separate - you can download it 
from this site, and it helps you build your LaTeX documents (and TexLive 2009 
is supported).

What the error says is that you need to use pdflatex instead of latex -> dvips 
-> ps2pdf.  Either that, or add the "dvips" option (or ps2pdf, depending on the 
package) to some of your included packages.

I'm going to mark this bug as closed, but please ping me off-tracker for 
general LaTeX questions and I'll do my best to answer them.  My email is my 
username + @gmail.com

Original comment by shiblon on 24 Jun 2010 at 2:23