GeneralInclude PDF Graphics in Latex

LaTeX specific issues not fitting into one of the other forums of this category.
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Include PDF Graphics in Latex

Post by phi »

Just to make it clear: If you compile with latex, you get a DVI file and you cannot include PDF graphics. If you compile with pdflatex, you get a PDF file (without any intermediate steps) and you can include PDF graphics (but not EPS graphics). In my eyes, the only advantage of a DVI file nowadays is the availability of viewers with inverse search functionality and the possibility to use PSTricks. Since most DVI files eventually get converted to PDF anyway, you should produce them directly if you don't insist on the inverse search functionality.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Number_6
Posts: 5
Joined: Tue Nov 25, 2008 5:35 pm

Re: Include PDF Graphics in Latex

Post by Number_6 »

To convert a pdf to eps you can also use Gimp: just open your pdf file with Gimp, then select "Save as..." from the "File" menu, and choose the eps format from the "Select file type".

But from what I see you don't need to do that if your desired output is pdf... As was pointed out earlier by localghost, just use the graphicx package without any driver, and use pdflatex to compile instead of standard latex.
darren
Posts: 5
Joined: Thu Nov 27, 2008 11:43 am

Re: Include PDF Graphics in Latex

Post by darren »

thanks heaps guys.ive got it! :D
Post Reply