nutterb / pixiedust

Tables So Beautifully Fine-Tuned You Will Believe It's Magic.
179 stars 18 forks source link

LaTeX output doesn't render in .Rnw files #36

Closed nutterb closed 8 years ago

nutterb commented 8 years ago

I suspect this is related to the use of knitr::asis_output to print the LaTeX code.

A possible work around would be to add a print method for "sweave". When the print method is "sweave", use print_dust_latex but with an additional argument for sweave = TRUE that prevents the use of knitr::asis_output. This will require that the user specify results = tex in the chunk options.

nutterb commented 8 years ago

I haven't been able to replicate my orginal error. I may have just been giving the rnw chunks the wrong arguments.