TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using pdflatex and \epsfig{file=img.pdf}.

I'd like to replace some text in img.pdf. It seems that psfrag can do this with latex, and there is mention of pstools doing this with pdflatex, but it seems like pstools works with EPS not PDF files.

Is there a way to replace some text in my PDF file?

share|improve this question
Convert the file to eps! – Ian Thompson May 13 '11 at 1:26
up vote 1 down vote accepted

There is a Perl script in TeX Live that helps in these cases; it's called fragmaster.

You should stop using obsolete commands such as \epsfig{file=...}, turning to the better interface of graphicx: \includegraphics[<options>]{<file>}.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.