knit both handout and presentation version of .Rnw slides with (relatively) good TeX error logging
if(!requireNamespace("remotes", quitly=TRUE)) install.packages("remotes")
remotes::install_github("brry/knitPres")
library("knitPres")
?knit_hand_pres
knit_hand_pres("SomePresentation.Rnw")
SomePresentation SP.Rnw
should contain the handout option in it's first line:
\documentclass[handout]{beamer}
This will generate the files SP.pdf
, SP.tex
et al., SP.knitlog
and SP_pres.pdf
.
Presentation templates with
berryFunctions::
createPres
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.