From: "Cook, Malcolm" <MEC@stowers.org>
To: 'Nick Dokos' <ndokos@gmail.com>,
"'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>
Subject: Re: Switch for exported file types when evaluating code blocks
Date: Thu, 18 Jul 2013 19:06:01 +0000 [thread overview]
Message-ID: <D4772401B9D976478C0895769BE3E79216EDCE@MBSRV02.sgc.loc> (raw)
In-Reply-To: <8761w8ecsb.fsf@gmail.com>
Hi Nick, I'm not sure how to use this ctan package in concert with orgmode's export to tex->pdf.
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=stowers.org@gnu.org [mailto:emacs-orgmode-bounces+mec=stowers.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 blocks
>
>Suvayu Ali <fatkasuvayu+linux@gmail.com> 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:
>> <http://ctan.mirrorcatalogs.com/info/svg-inkscape/InkscapePDFLaTeX.pdf#subsubsection.2.3.1>
>>
>
>OT for the OP (say that three times fast!) but maybe of some use to somebody:
>
>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
>
next prev parent reply other threads:[~2013-07-18 19:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 22:08 Switch for exported file types when evaluating code blocks Brett Viren
2013-07-18 0:45 ` Cook, Malcolm
2013-07-18 2:02 ` Suvayu Ali
2013-07-18 4:02 ` Nick Dokos
2013-07-18 19:06 ` Cook, Malcolm [this message]
2013-07-19 1:02 ` Nick Dokos
2013-07-19 10:23 ` Suvayu Ali
2013-07-19 15:19 ` Cook, Malcolm
2013-07-19 15:22 ` Cook, Malcolm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D4772401B9D976478C0895769BE3E79216EDCE@MBSRV02.sgc.loc \
--to=mec@stowers.org \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).