Re: [Matplotlib-users] usetex with svg or pdf (was: SVG vs PNG)
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. 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 -- Einigkeit und Recht und Freiheithttp://www.Jochen- Kuepper.de Liberté, Égalité, FraternitéGnuPG key: CC1B0B4D Sex, drugs and rock-n-roll PGP.sig Description: This is a digitally signed message part - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] usetex with svg or pdf (was: SVG vs PNG)
Steve Schmerler <[EMAIL PROTECTED]> 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 http://www.iki.fi/jks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users