[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LaTeX
- To: linux-il(at-nospam)linux.org.il
- Subject: Re: LaTeX
- From: Dan Kenigsberg <danken(at-nospam)cs.Technion.AC.IL>
- Date: Wed, 10 Oct 2001 10:21:58 +0200 (IST)
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <20011010010453.A26592@leeor.math.technion.ac.il> from "Nadav Har'El" at Oct 10, 2001 01:04:53 AM
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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 <danken@cs.Technion.AC.IL> 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 linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il