Subject: Re: SageTeX in export
Date: Wed, 22 Aug 2012 19:04:57 -0700 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
Nick Dokos <email@example.com> writes:
> All you have to do is set the variable org-latex-to-pdf-process,
> something like this [fn:1]
> (setq org-latex-to-pdf-process
> '("pdflatex %f"
> "if [ -f %b.sagetex.sage ] ;then sage %b.sagetex.sage ;fi"
> "pdflatex %f"
> "pdflatex %f"))
Thanks. I was kinda hoping for a solution that uses Elisp rather than
offloading it to the shell, but whatever works. In fact, had no one
answered, I would have just written a shell script called "pdflatex"
that would do the same.
I haven't tested it. Suddenly something is wrong with my SageTeX - it
was working when I posted this, but not anymore.
prev parent reply other threads:[~2012-08-23 2:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 4:33 SageTeX in export mailinglists
2012-08-17 6:30 ` Nick Dokos
2012-08-19 17:10 ` Ivan Andrus
2012-08-23 2:04 ` mailinglists [this message]
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).