Copy the psfrag commands and the includegraphics commands to
a LaTeX file. The file had only the psfrag and includegraphics
commands between the \begin{document} and \end{document}.
Leave the extension off the eps file.
Run LaTeX, the DVIPS with the -E* option.
Open the ps file in Ghostview and run PS to EPS.
From the command prompt run epstopdf on the new eps file.
Rename the new pdf file to the eps filename.
We then had a .pdf file corresponding to each of the eps files,
and the pdf has the psfrag labels.
Is there a better way to use psfrag labeled graphs in a pdf
document?
[...]
> Copy the psfrag commands and the includegraphics commands to
> a LaTeX file. The file had only the psfrag and includegraphics
> commands between the \begin{document} and \end{document}.
> Leave the extension off the eps file.
[...]
> Is there a better way to use psfrag labeled graphs in a pdf
> document?
You could use psfragX and copy the psfrag commands into the EPS file
itself. This way, you do not need to maintain and copy two files for each
graphic file.
You could also write a \for loop that processes all the fig**.eps files
into a given directory. This way, you would launch LaTeX only once. Of
course, you should ask dvips to split its output in one page files.
HTH,
Pascal
> Is there a better way to use psfrag labeled graphs in a pdf
> document?
use ps4pdf or the VTeX/Free compiler
http://perce.de/LaTeX/ps4pdf/
http://www.micropress-inc.com/linux/
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes