[texhax] Question about pdfLaTeX

Hartmut Henkel hartmut_henkel at gmx.de
Sun Apr 9 08:08:44 CEST 2006

On Sun, 9 Apr 2006, Konstantin Karapetyan wrote:

> > On my machine I use the epstopdf package.  It does the conversion
> > automatically.
> I have a boring problem with this: if I change the eps file, which has
> been already processed by epstopdf package during the previos run of
> pdflatex, pdflatex uses the previous version of the picture: it takes
> the ready pdf file instead of generating a new pdf from the new eps.
> Any ways to solve the problem?

organize your overall compilation by a Makefile, like

doc.pdf:	doc.tex pic.pdf
	pdflatex $<
	pdflatex $<

%.pdf:	%.eps
	epstopdf $<

the double pdflatex call (often not even enough) can be written better,
to avoid redundant runs. Then just say "make".

Regards, Hartmut

More information about the texhax mailing list