[texworks] Sweave with Texworks - Update
Bruno Voisin
bvoisin at me.com
Wed Aug 4 23:35:19 CEST 2010
Le 4 août 2010 à 22:30, Christopher David Desjardins a écrit :
> Also, not sure if this is your plan but ... if you find out how to set up TexWorks so that it can:
>
> Sweave -> pdflatex -> bibtex -> pdflatex -> pdflatex
>
> All in one shot I would be interested in knowing how to do this.
TeX Live includes a perl script called latexmk which does this kind of thing for LaTeX (ie, run latex then bibtex and/or makeindex then latex again any required number of times). Maybe there's a possibility to make latexmk run sweave as well, or use its perl code as a basis for writing another script adapted to your task.
Herb Schulz, a regular on this list, who maintains a packaged version of latexmk for the Mac and interacts with its author, might know more. (I'm not using latexmk, bibtex, makeindex, R or sweave myself, and I can't write perl, unfortunately.)
Once (if) a script is written to carry your task, then it could become a simple matter of using this script as a new processing tool in TeXworks.
As I'm re-reading this, I see that Stefan Löffler has posted already this same suggestion earlier in the thread. Did you pursue the idea further?
Bruno
More information about the texworks
mailing list