[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to handle svg files when exporting orgmode to html and pdf?
From: |
Suvayu Ali |
Subject: |
Re: how to handle svg files when exporting orgmode to html and pdf? |
Date: |
Thu, 18 Jul 2013 02:47:37 +0200 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
Hello Malcolm,
On Wed, Jul 17, 2013 at 05:25:15PM -0700, Malcolm Cook wrote:
> Hi,
>
> I am creating .svg files with R source blocks and ESS in org.
>
> I am happily viewing them in-line in my emacs buffer.
>
> I am happily exporting as html and viewing them in-line in the resulting web
> page, including a table of images.
>
> I do not have an approach for including them into PDF when I export->tex->pdf.
>
> I'm thinking there might be an approach to converting them on-the-fly to png
> (or something) during the export->tex->pdf.
>
> A similar problem was addressed with custom macros here:
> http://thread.gmane.org/gmane.emacs.orgmode/56532/focus=58322
>
> But it does not work with R source blocks that produce .svg files.
>
> Any suggestions for me? Is this a lost cause? Am I asking for too many
> assumptions to be made by such an auto-conversion process that it is doomed
> to fail anyway?
>
This kind of niche Org mode questions are more likely to be answered on
the Org mode list. I would encourage you to post there in the future.
That said, maybe the following Worg entry will help you adapt it for R:
<http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#sec-4-3>
Cheers,
--
Suvayu
Open source is the future. It sets us free.