yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

R Sweave #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if it could use R (http://cran.r-project.org/) with Sweave
to generate .tex sources from .Rnw files. 

At the moment, I am using a output.tex.sh script to make output.tex from
output.Rnw using 'R CMD SWEAVE output' but it would be nice if was handled
automatically, especially because this way doesn't use make's change tracking.

Original issue reported on code.google.com by afaulcon...@googlemail.com on 18 Aug 2009 at 12:32

GoogleCodeExporter commented 9 years ago
That's interesting - could you send me your output.tex.sh script, or if you 
prefer, a 
sanitized version of it that demonstrates what you need done?  I'd be happy to 
look into 
this.

Original comment by shiblon on 18 Aug 2009 at 3:24

GoogleCodeExporter commented 9 years ago
Actually, by "send me", I mean "attach to this issue".  :-)

Original comment by shiblon on 18 Aug 2009 at 3:25

GoogleCodeExporter commented 9 years ago
I'm marking this as WontFix for now, unless I hear back from you.  There are a 
couple 
of reasons that I'm hesitant to do this:

1) There is a nice facility for doing this, now, complete with make's file 
handling: just 
create a Makefile.ini in the same directory with the rules to build your .tex 
file, and 
you're all set.

2) All instances of graphic generation that result in a .tex file so far have 
been 
extremely painful to add because LaTeX does not plow through missing .tex file 
errors like it does with others (like missing graphics files), so running it in 
batchmode 
only generates a single missing file, which we then build, and then we run into 
another one, etc.  It's messy, and the makefile doesn't handle it well at all.  
The pstex 
support is an example of this.

Original comment by shiblon on 19 Nov 2009 at 6:51