[texworks] Sweave with Texworks - Update

Christopher David Desjardins cddesjardins at gmail.com
Wed Aug 4 23:39:37 CEST 2010


On 08/04/2010 04:35 PM, Bruno Voisin wrote:
> 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?
>
>    
Yeah, I checked out latexmk. It appears that latexmk can't run Sweave 
without some modifications (if I reading the information about latexmk 
correctly). Unfortunately I don't know any perl either.


> Bruno
>    



More information about the texworks mailing list