Thanks, Oleg & Nadav.

I'm embarrassed to admit I should have RTFMITLSACM (i.e. including the last
section about common mistakes)

Dan.

> 
> On Wed, Oct 10, 2001, Oleg Goldshmidt wrote about "Re: LaTeX":
> > Dan Kenigsberg <[EMAIL PROTECTED]> writes:
> > > Let's say I want to replace the 'Hell' string in that eps with a LaTeX
> > > expression such as 'Heaven'. Now what is wrong with this:
> > > \begin{document}
> > > \psfrag{Hell}{Heaven}
> > > \includegraphics{test.eps}
> > > \end{document}
> > 
> > I am not sure. it seems it should work, but it doesn't. Using
> > 
> > \psfrag{Hello}{Heaveno}
> > 
> > does the trick, apart from changing the font size. Of course, the
> > documentation of psfrag says it is bug-free, which is suspicious...
> 
> It says it as a joke... They say "Well, of course we're kidding", and
> more oppologies about the ugly postscript tricks they had to use.
> 
> The documentation (/usr/share/texmf/doc/latex/psfrag/pfgguide.ps, at
> least in Redhat 7.1) describes the replaced strings as "tag words", composed
> of unaccented letters and numbers. It probably wasn't meant for substring
> substitution, but rather for you to use a word like, e.g., "sinx" inside
> the figure, and then replace it by a nice latex sin(x).
> 
> The manual seems to suggest something even stricter: the tag should be
> the entire string inside the parantheses before a "show" (or similar
> commands) - perhaps it can't even be a word inside a bigger sentence!

Indeed. It says so clearly, and I quote "PSfrag can only replace entire strings,
not just parts of one".

Thanks,

Dan.


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to