riday, July 19, 2013 5:23 AM
To: emacs-orgmode@gnu.org
Subject: Re: [O] Switch for exported file types when evaluating code blocks
On Thu, Jul 18, 2013 at 09:02:41PM -0400, Nick Dokos wrote:
>
> #+BEGIN_LaTeX
> \includesvg{foo}
> #+END_LaTeX
I believe even this can be integrated wit
, July 18, 2013 8:02 PM
To: emacs-orgmode@gnu.org
Subject: Re: [O] Switch for exported file types when evaluating code blocks
"Cook, Malcolm" writes:
> Hi Nick, I'm not sure how to use this ctan package in concert with
> orgmode's export to tex->pdf.
>
Here's a
On Thu, Jul 18, 2013 at 09:02:41PM -0400, Nick Dokos wrote:
>
> #+BEGIN_LaTeX
> \includesvg{foo}
> #+END_LaTeX
I believe even this can be integrated with Org using a filter. How
about something like this:
(defun my-svg-graphics (contents backend info)
(when (eq backend 'latex)
(replace-re
--
> >From: emacs-orgmode-bounces+mec=stowers@gnu.org
> [mailto:emacs-orgmode-bounces+mec=stowers@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 wh
ge-
>From: emacs-orgmode-bounces+mec=stowers@gnu.org
>[mailto:emacs-orgmode-bounces+mec=stowers@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 evaluat
Suvayu Ali writes:
> Hello again Malcolm,
>
> On Thu, Jul 18, 2013 at 12:45:36AM +, 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
Hello again Malcolm,
On Thu, Jul 18, 2013 at 12:45:36AM +, 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 goin
>I want graphics files which are exported by evaluated code blocks to be
>generated in a format best suited to their intended use. For HTML I
>want either PNG or SVG. For LaTeX/PDF I almost always want PDF. For
>inline viewing in emacs I want either PNG or SVG.
>
>To that end I went a'googl
Hi,
I'm hitting on an old theme in a new way here.
I want graphics files which are exported by evaluated code blocks to be
generated in a format best suited to their intended use. For HTML I
want either PNG or SVG. For LaTeX/PDF I almost always want PDF. For
inline viewing in emacs I want ei