Is there any way of using psfrag
with pdflatex?
It seems fairly similar to the problem of using pstricks
with pdflatex.
Do they both depend on the same things, or does psfrag
include pstricks
?
Can I assume that if I use one of the workarounds to make pstricks
work, the same workaround would do for psfrag
?
Is there an equivalent of \usepackage[pdf]{pstricks}
that will work for psfrag
?
I realise there are a few questions here rather than just one, but they all share the overall question of how to use psfrag
with pdflatex. Thank you.
Best Answer
I recommend (disclaimer, I wrote them both) either of the
pstool
or theauto-pst-pdf
packages. The latter is more useful when you have other PSTricks material;pstool
is better when you only havepsfrag
material only. (One day I'd like to extendpstool
to handle both cases.)They both use the
-shell-escape
feature to process thepsfrag
graphics separately before inserting them into the document.