[pdftex] Re: [pstricks] Choosing between graphic include files

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Dec 21 20:12:04 CET 2005


Joel Salomon wrote:

> I've been using a script to generate both eps and pdf versions of a
> PSTricks graphic.  Does a macro exist to include one or the other,
> depending on whether I'm using LaTeX or pdfLaTeX?

\includegraphics{file name} _without_ an extension will
always choose the right one.

BTW: there is no need to create a pdf or eps by hand,
choose package pst-pdf and a script, which does it all ...
http://www.dante.de/CTAN/graphics/pstricks/contrib/pst-pdf/

Herbert


-- 
LaTeX und Perl in der ZEDAT: http://userpage.fu-berlin.de/~latex



More information about the pdftex mailing list