Re: [matplotlib-devel] Asking for code review: Xelatex / PGF backend

2012-08-08 Thread Peter Würtz
Peter Würtz wrote: > > > David Trémouilles wrote: >> >> Is there any reason that the generated figure could not be used with >> pdflatex ? >> > > The PGF pictures should work with pdflatex, xelatex and lualatex alike. > Xelatex (or lualatex) mus

Re: [matplotlib-devel] Asking for code review: Xelatex / PGF backend

2012-08-08 Thread Peter Würtz
David Trémouilles wrote: > > Is there any reason that the generated figure could not be used with > pdflatex ? > The PGF pictures should work with pdflatex, xelatex and lualatex alike. Xelatex (or lualatex) must be installed though because I use it for obtaining the font metrics when the figur

[matplotlib-devel] Asking for code review: Xelatex / PGF backend

2012-08-06 Thread Peter Würtz
Hi! I would like to ask for a code review for a new backend I wrote for creating figures with Xelatex/Lualatex. It uses the PGF (Tikz) Package for all drawing operations and enables full unicode support and typesetting of texts/formulas using Latex. This way, the figures created fit perfectly in L