Re: [O] SageTeX in export

2012-08-22 Thread mailinglists
Nick Dokos 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

Re: [O] SageTeX in export

2012-08-19 Thread Ivan Andrus
On Aug 17, 2012, at 8:30 AM, Nick Dokos wrote: > mailingli...@nawaz.org wrote: > >> Hi, >> >> All I need is a way for the export to: >> >> 1. After running pdflatex, check if there is a file called >> ".sagetex.sage". >> 2. If it's present, run sage on it, and then rerun pdflatex. >> 3. If it

Re: [O] SageTeX in export

2012-08-16 Thread Nick Dokos
mailingli...@nawaz.org wrote: > Hi, > > Some background for the interested: > > Sage (http://www.sagemath.org/) is a free open source mathematics > system. It essentially takes a number of well known open source math > packages (Pari/GP, Maxima, etc) and provides it all to you under one > interf