Skip to content
/ knitPres Public

knit both handout and presentation version of .Rnw slides with good TeX error logging

Notifications You must be signed in to change notification settings

brry/knitPres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knitPres

knit both handout and presentation version of .Rnw slides with (relatively) good TeX error logging

install

if(!requireNamespace("remotes", quitly=TRUE)) install.packages("remotes")
remotes::install_github("brry/knitPres")

library("knitPres")
?knit_hand_pres

usage

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.

package functions

  • get_texlog_warnings to get messages from (La)TeX log files via helper function get_from_log
  • knit_hand_pres to knit both versions in parallel (handout and presentation)

see also

Presentation templates with berryFunctions::createPres.

About

knit both handout and presentation version of .Rnw slides with good TeX error logging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages