yihui/knitr — pull request #358 by alastairandrew (2012-08-01 10:52:56+00:00)
Title: Added luatex tikz support

Hi yihui,

Sorry for the delay. I was away on holiday for a few days. Here's my addition to plot.R that allows knitr users to set the tikzDefaultEngine to 'luatex' and use lualatex to compile tikz images. This is my first attempt at contributing to any project via github, so I hope I've done it right. I've pushed the changes into my github master copy, then I tested it out by using the install_github("knitr", "alastairandrew") from devtools and it all seems to work. As you'd noted there were only two lines that actually needed altered. Anyway I hope that's useful to you and the other knitr users and that my changes meet the grade for inclusion.

Best wishes,
Alastair