Thomas Engels wrote:
I want to replace strings in *.eps files with LaTeX code, so I finally found psfrag, downloaded it and its working fine - but only when I generate a DVI file. (inserted ERT in the figure and \usepackage{psfrag} to the preamble)

I need a pdf, but when I run pdflatex, there is no error or warning, but no result. It just happens nothing, text strings in eps stay the way they were.
>
Can anyone help me?

You cannot use psfrag when working with pdflatex. However, it should work when using dvi & ps2pdf.

Get it to work first outside LyX with plain latex, then try to do the same within LyX.

I have not tried this myself, but it should also work with pdflatex using
<http://www.ctan.org/tex-archive/help/Catalogue/entries/pst-pdf.html>
<http://www.ctan.org/tex-archive/help/Catalogue/entries/auto-pst-pdf.html>

If you get it to work, it would be great if you could document this in the wiki.

/Konrad

Reply via email to