[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: Re: [OT] latex, pdflatex and graphics formats]





-------- Original Message --------
Subject: Re: [OT] latex, pdflatex and graphics formats
Date: Thu, 28 Nov 2002 11:03:55 +0200
From: Jerome BENOIT <benoit@eie.gr>
Reply-To: jgmbenoit@wanadoo.fr
To: Dominique Dumont <domi@komarr.grenoble.hp.com>
References: <[🔎] 3DE36C3B.90008@gmx.de> <[🔎] kgibs4aytjk.fsf@komarr.grenoble.hp.com>



Dominique Dumont wrote:
> Jörg Johannes <liste_joerg@gmx.de> writes:
>
>
>>Hi everybody
>>
>>For my documents, I have to use both LaTeX and pdfLaTeX. The problem I
>>have is, pdflatex does not (at least per default) understand .eps and
>>.ps files. So I have to convert my .eps figures from gnuplot into .png
>>for pdflatex in order to use them. The other way round, "normal" LaTeX
>>does not understand the .png format, so any photos or scanned-in
>>images have to be converted into .ps. My question now is: Are there
>>any \usepackage{s} for making use of .ps in pdflatex and .png in
>>LaTeX? Anything  better than
>>for i in *.eps; do convert $i `echo $i | sed s/.eps/.png/`
>>?
>
>
> I use the graphicx package to include file. Depending on the command
> you use to compile your latex file (eg. pdflatex or latex), the
> package will look for foo.eps or foo.pdf :
>
> \usepackage{graphicx} % mind the x not s
> \includegraphics{foo} % note no .eps or .pdf suffix
>
> You can create the pdf file with pstopdf.



the LaTeX package `epstopdf' allows to convert PostScript files on the
fly: you should find it at your favorite CTAN site
in the folder:
CTAN:/macros/latex/contrib/supported/oberliek

or somethinh lik that.

I hope that helps,
Jerome

>
> HTH
>



--
Jerome BENOIT, Ph.D.
JGMBenoit@wanadoo.fr




Reply to: