[Tex/LaTex] Using psfrag with pdflatex

pdftexpsfragpstricks

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 the auto-pst-pdf packages. The latter is more useful when you have other PSTricks material; pstool is better when you only have psfrag material only. (One day I'd like to extend pstool to handle both cases.)

They both use the -shell-escape feature to process the psfrag graphics separately before inserting them into the document.