[IPython-dev] TikZ Magics

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


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

>> I updated the script to do the conversion to JPG via convert and the one to SVG via pdf2svg.
> But is there a reason to convert anything to JPG? Plots in IPython are in png by default, and if you have thin lines in a sketch or whatever produces by tikz, then JPG is not going to look good anyway... I might just overlook something, but to me, JPG doesn't appear an extremely useful format in the present case, unless, you are really concerned about file size.

Well, the default format in my module is PNG as well. I was just following the OctaveMagics example which also features JPG (for whatever reason). But I fully agree, PNG and SVG are much more useful than JPG.


Cheers,
Michael





More information about the IPython-dev mailing list