From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: create vector-graphics with org-babel Date: Mon, 14 Sep 2015 19:12:03 +0200 Message-ID: <20150914171203.GG2932@chitra.no-ip.org> References: <55EFE4E2.5070700@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXIX-0007k6-1d for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:12:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbXIW-0006R5-5d for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:12:08 -0400 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:33893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXIW-0006Qz-13 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:12:08 -0400 Received: by iofb144 with SMTP id b144so174084826iof.1 for ; Mon, 14 Sep 2015 10:12:07 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id 67sm6261263iol.7.2015.09.14.10.12.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 10:12:06 -0700 (PDT) Content-Disposition: inline In-Reply-To: <55EFE4E2.5070700@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 'C-c C-c' but I can't export it to latex > because it says that svg is currently not supported. Is there a way > to include svg (or another type of vector graphics) export into my > document. If you want vector graphics, but do not care about the specific type of vector graphics, you can always use pdf. IIUC, you are using matplotlib. So pdfs are supported, just configure PdfPages from matplotlib.backends.backend_pdf. Cheers, -- Suvayu Open source is the future. It sets us free.