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!
(but I'm note sure - I never used psfrag myself).

-- 
Nadav Har'El                        |   Wednesday, Oct 10 2001, 23 Tishri 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |"Outlook not so good." Wow! That magic 8-
http://nadav.harel.org.il           |ball knows everything! So, what about IE?

=================================================================
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