emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Switch for exported file types when evaluating code blocks


From: Suvayu Ali
Subject: Re: [O] Switch for exported file types when evaluating code blocks
Date: Thu, 18 Jul 2013 04:02:06 +0200
User-agent: Mutt/1.5.21 (2012-12-30)

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:
<http://ctan.mirrorcatalogs.com/info/svg-inkscape/InkscapePDFLaTeX.pdf#subsubsection.2.3.1>

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]