yihui/knitr — Issue #115: Put auxillary files in subdirectory (call for brainstorming)
Author: dmenne
Created: 2012-01-26 08:07:55+00:00
State: open

Now child documents work (thanks, yihui) a problem has become more serious that has been pestering me for some time.

When running Sweave with a master and several children, one r (tangle) and one tex file is created, together with some auxillary files for latex. I always tried to get these out of the way by having them all in a subfolder, but never found a satisfactory solution. Deepayan Sarkar once had a Make script for beamer, but keeping it updated was messy.

With knitr, things have got worse (other things, like \Sexpr{1.3e-10} got much better, no complaints!). When I have a master and 30 child documents, I get 30 R and 30 tex files in the directory; it would helpf if Rstudio would do filtering like the Eclipse plugin does, but in the Explorer the mess is still visible.

It would be nice if all auxillary file (including aux, bib etc) could be put into a subfolder optionally. A similar feature works nice with graphics, after all, it is even fully supported by latex.

I see many problems with this approach, but I am sure yihui knows some Chinese Magic Spell.