tint icon indicating copy to clipboard operation
tint copied to clipboard

marginfigure doesn't show when echo=FALSE globally

Open 1beb opened this issue 8 years ago • 2 comments

When reporting to clients, they tend not to care (nor wish) to see the code. This means it's common to set knitr options such that echo=FALSE. With this option set, arbitrary marginfigure chunk content is not shown and this fact is not otherwise documented. However, it's easily fixed by add echo=TRUE to the marginfigure chunk option. I do not know if this effects the LaTeX version, as I don't use latex.

I submitted a PR to rstudio/tufte for this, not sure if your repo will pick it up automatically or not:

https://github.com/rstudio/tufte/pull/24

1beb avatar Oct 17 '16 18:10 1beb

The only way I have gotten around this is setting echo=TRUE in every marginfigure environment.

lrdegeest avatar Apr 08 '20 02:04 lrdegeest

Hm. Can you try as a global knitr option?

eddelbuettel avatar Apr 08 '20 03:04 eddelbuettel