On Wed, Sep 09, 2015 at 09:50:58AM +0200, Max Linke wrote:
> Hi
>
> I'm trying to use vector graphics in my org document
>
> #+BEGIN_SRC ipython :session :file iso.svg :exports results
> x = np.linspace(0, 10, 100)
> y = np.sin(x)
> plt.plot(x, y)
> #+END_SRC
>
> I can run this cell with
I found out that the error is related to the ob-ipython package. They
currently only allow png's. Using the normal ob-python everything works.
Thanks for the help though.
On 09/09/2015 06:02 PM, Aaron Ecay wrote:
Hi Max,
What version of org are you using? Latex export should support svg
maybe have a look here:
http://tex.stackexchange.com/questions/2099/how-to-include-svg-diagrams-in-latex
Max Linke writes:
> Hi
>
> I'm trying to use vector graphics in my org document
>
> #+BEGIN_SRC ipython :session :file iso.svg :exports results
>x = np.linspace(0, 10, 100)
>y =
Hi Max,
What version of org are you using? Latex export should support svg
since commit 0cef5b63e, which is in version 8.1+. (You do need to
install and configure the “svg” package for latex in order to compile
the document.)
--
Aaron Ecay