From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Cook, Malcolm" Subject: Re: Switch for exported file types when evaluating code blocks Date: Thu, 18 Jul 2013 19:06:01 +0000 Message-ID: References: <20130718020206.GB24529@kuru.dyndns-at-home.com> <8761w8ecsb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UztWj-00073Z-G9 for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 15:06:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UztWg-0008A0-3w for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 15:06:09 -0400 Received: from smtp01.stowers.org ([12.201.176.61]:39295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UztWf-00089n-T9 for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 15:06:06 -0400 In-Reply-To: <8761w8ecsb.fsf@gmail.com> Content-Language: en-US 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: 'Nick Dokos' , "'emacs-orgmode@gnu.org'" Hi Nick, I'm not sure how to use this ctan package in concert with orgmode= 's export to tex->pdf. =20 Perhaps there is a way to use orgmode's export filtering capability to swap= in a up-to-date png when exporting to tex.... Hmmm.... Anyone? Thx! >-----Original Message----- >From: emacs-orgmode-bounces+mec=3Dstowers.org@gnu.org [mailto:emacs-orgmo= de-bounces+mec=3Dstowers.org@gnu.org] On >Behalf Of Nick Dokos >Sent: Wednesday, July 17, 2013 11:02 PM >To: emacs-orgmode@gnu.org >Subject: Re: [O] Switch for exported file types when evaluating code bloc= ks > >Suvayu Ali writes: > >> Hello again Malcolm, >> >> On Thu, Jul 18, 2013 at 12:45:36AM +0000, Cook, Malcolm wrote: >>> >>> I tend to work with org-export-babel-evaluate set to nil. Thus, my >>> code blocks are not evaled in the context of an export. Thus at >>> eval time there is no way of knowing what the eventual backend is >>> going to be. >>> >>> I think I need an approach that auto converts svg to png on-demand/on-= the-fly during export. >> >> In that case just use another source block with shell source. In that >> block you can call inkscape to do the conversion. For an example, see >> here: >> >> > >OT for the OP (say that three times fast!) but maybe of some use to someb= ody: > >For SVG, there is a latex package that is an evolutionary offshoot of >the above link. It does the inkscape dance so you don't have to: > > http://www.tex.ac.uk/ctan/graphics/svg/ > >-- >Nick >