[IPython-dev] TikZ Magics

Michael Kraus michael.kraus at ipp.mpg.de
Wed Jan 9 08:22:10 EST 2013

On 09.01.2013, at 13:53, Zoltán Vörös <zvoros at gmail.com> wrote:

>>> But shouldn't it be possible to run pdflatex on the tikz code, and then call pdf2svg? I do that all the time. You can't create a decent vector image out of PNG.
>> That would be an option, but how default is pdf2svg? I mean which Linux / TeX distributions ship it? It doesn't come with MacTeX…
> On Linux, it is pretty standard. I can't comment on other OSs.

Ok, it's also included with MacPorts.

I updated the script to do the conversion to JPG via convert and the one to SVG via pdf2svg. I also understand now why LaTeX standalone produces crappy JPGs. Maybe that can be worked around directly…

For now, the new files can be found at 



More information about the IPython-dev mailing list