[Tikzdevice-bugs] tikz & pgfSweave queries
Cameron Bracken
cameron.bracken at gmail.com
Thu Feb 10 21:50:01 CET 2011
> - the linewidth is incorrect with tikz (see example attached). Is this
> a known issue?
This does seem strange, I am not quite sure what is happening here,
tikzDevice seems to not want to print out lwd less than 0.8, there
might be a reason for that which I have forgotten, I will look into
it. Thanks for bringing it up.
> - pgfSweave provides access to the highlight package (great, thanks!),
> however I couldn't find a way to use the boxes option to surround the
> code in a frame. Did I miss the option?
No you did no miss the option, It does not exist yet. This is
something I want to do. I basically have to re-implement what was done
in the Highlight driver.
If you would like you can open an issue on github:
https://github.com/cameronbracken/pgfSweave/issues
> - I use a hack inspired from Rcpp to generate the vignettes during R
> CMD BUILD with pgfSweave, essentially having a fake vignette for
> Sweave and a makefile to copy files, etc. Do you know if the situation
> might improve? I vaguely recall a discussion on R-devel where members
> of R-core weren't against the idea of allowing different engines to
> process the vignettes, but I don't know if steps have been taken
> towards this.
I do the "fake" vignette approach as well for pgfSweave. I remember
that discussion as well but I also do not know if any steps have been
taken.
Another approach is tikzDevice has previously "hacked" the Sweave
driver mid build to add some options we wanted. You can see the
tikzDevice vigette source for details. The key is at the end of
`inst/doc/patchSweave.R` where charlie executes the "Mother of All R
Hacks" ;). The problem with this approach is it will break if there
are changes to Sweave so we will probably move away from it.
Thanks for your input.
-Cameron
More information about the Tikzdevice-bugs
mailing list