emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mailinglists@nawaz.org
To: emacs-orgmode@gnu.org
Subject: Re: SageTeX in export
Date: Wed, 22 Aug 2012 19:04:57 -0700	[thread overview]
Message-ID: <874nnupdme.fsf@fester.com> (raw)
In-Reply-To: 21716.1345185018@alphaville

Nick Dokos <nicholas.dokos@hp.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. 

      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]

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=874nnupdme.fsf@fester.com \
    --to=mailinglists@nawaz.org \
    --cc=emacs-orgmode@gnu.org \
    /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).