usetex with svg or pdf (was: SVG vs PNG)

Steve Schmerler <elcorto@...361...> writes:

I was wondering: Is it (technically) possible to have .svg export
capabilities with usetex-support and if so, has there been no need
for this feature so far

The usetex feature is implemented for the Agg backend (i.e., png
output) using dvipng, and for the PostScript backend using (I think)
dvips with psfrag, and neither of these is easily generalizable to
work with svg or pdf. However, some time ago I committed the
beginnings of a dvi parser and a little support code in the pdf
backend, enough to get a small demo almost working:

http://article.gmane.org/gmane.comp.python.matplotlib.devel/2687

I have no idea how difficult it would be to get this working in the
svg backend, but in the pdf backend the biggest hurdle is probably in
generalizing the current font support so that the TeX fonts can be
embedded.

···

--
Jouni K. Sepp�nen

What's the problem of using dvi2pdf, dvipdfm, dvipdfmx, or soemthing like that for PDF?
Looks quite similar to the dvips route for Postscript to me?

Greetings,
Jochen

PGP.sig (186 Bytes)

···

On 12.05.2007, at 16:37, Jouni K. Seppänen wrote:

for the PostScript backend using (I think) dvips with psfrag, and neither of these is easily generalizable to work with svg or pdf.

--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
     Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
         Sex, drugs and rock-n-roll

Jouni K. Seppänen wrote:

However, some time ago I committed the
beginnings of a dvi parser and a little support code in the pdf
backend, enough to get a small demo almost working:

http://article.gmane.org/gmane.comp.python.matplotlib.devel/2687

I have no idea how difficult it would be to get this working

I have no idea either, but thanks for getting this started -- it is absolutely the way to go -- that's the whole point of DVI (DeVice Independent)

-CHB

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...