* psfrag
@ 2003-12-14 8:07 David Munger
2003-12-14 14:35 ` psfrag Patrick Gundlach
0 siblings, 1 reply; 3+ messages in thread
From: David Munger @ 2003-12-14 8:07 UTC (permalink / raw)
Hello,
I know this topic was treated in the past years, but I couldn't find the
answer in mailing list archives.
So, is there any ConTeXt equivalent to LaTeX's \psfrag command? It would be
very useful to process PostScript output from vector graphics drawing
programs.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: psfrag
2003-12-14 8:07 psfrag David Munger
@ 2003-12-14 14:35 ` Patrick Gundlach
2003-12-14 15:45 ` Re : psfrag David Munger
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Gundlach @ 2003-12-14 14:35 UTC (permalink / raw)
Hi David,
> So, is there any ConTeXt equivalent to LaTeX's \psfrag command?
No.
> It would be very useful to process PostScript output from vector
> graphics drawing programs.
How does psfrag from LaTeX work internally? Perhaps we are able to
make something similar.
Patrick
--
mon trainsistor j'adore
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re : Re: psfrag
2003-12-14 14:35 ` psfrag Patrick Gundlach
@ 2003-12-14 15:45 ` David Munger
0 siblings, 0 replies; 3+ messages in thread
From: David Munger @ 2003-12-14 15:45 UTC (permalink / raw)
Patrick Gundlach wrote :
> Hi David,
>
> > So, is there any ConTeXt equivalent to LaTeX's \psfrag command?
>
> No.
>
> > It would be very useful to process PostScript output from vector
> > graphics drawing programs.
>
> How does psfrag from LaTeX work internally? Perhaps we are able to
> make something similar.
I don't know how about its internals, but here's a usage example. For
instance, using some vector graphics program, I write a text label "alpha" on
some figure, and I print this figure in an EPS file. Then, using PSfrag, right
before \including the EPS file, I tell PSfrag to replace "alpha" with "$\alpha
$":
\psfrag{alpha}{$\alpha$}
\includegraphics{some_eps_file}
I believe PSfrag works in conjunction with dvips. There's this PS file which
may give you some clue:
texmf/dvips/psfrag/psfrag.pro
I can neither read TeX code nor PS code, but it is likely that it builds some
sort of lookup table for the labels. If I can help anyway, please tell me.
There are those two other files:
texmf/tex/plain/graphics/psfrag.tex
texmf/tex/latex/misc/psfrag.sty
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-14 15:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-14 8:07 psfrag David Munger
2003-12-14 14:35 ` psfrag Patrick Gundlach
2003-12-14 15:45 ` Re : psfrag David Munger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).