Yihui Xie
Yihui Xie
It seems there was a problem when I uploaded the Rnw file. I did that at school and now I'm at home on another computer. I will try to upload...
I uploaded again: https://github.com/downloads/yihui/pgfSweave/multiplot.Rnw
I'm not sure. Support for tikz depends on when `tikz()` can accept `%d` filenames. You can leave it there for the time being. I don't mind.
Such problems can be solved inside the package without asking the users to the additional work, so it might be better to make the users concentrate on writing the Sweave...
Sounds great! I see we will be able to use filenames like `Rplot%03d.tex`. Does pgfSweave support including all the individual tikz files in the LaTeX document in the next version?
Do you have `\usepackage[utf8]{inputenc}` in your Rnw document? Since currently there is no way to pass the encoding argument to Sweave from pgfSweave (see #36), you have to use this...
Oh, you are using XeLaTeX... Then I guess it will be difficult to solve. This gives me yet another motivation to rewrite a literate programming engine to replace the old...
As I said, this is just a tip of the iceberg which reveals fundamental design flaws of Sweave: 1. it ties itself to LaTeX too closely (e.g. `\usepackage[utf8]{inputenc}` is the...
Good points, and I agree. Let me think more about it. Thanks!
We can probably escape `&` when there isn't a backslash before it (using negative lookbehind `(?