insertOdgAsPdf: Inserts an odg draw graphic into a rmarkdown text

Description Usage Arguments

Description

insertOdgAsPdf takes the name of a file containing a graphic in odg format, converts the content of that file into pdf using function convertLibOToPdf and outputs the string in markdown format to include the figure. Pdf-formatted graphics are only re-generated if the pdf-file does not exist or, if the flag pbMustGenerate is TRUE.

Usage

1
2
insertOdgAsPdf(psOdgFileStem, psOdgDir = "odg", psFigOutDir = ".",
  pbMustGenerate = FALSE, pnPaperWidthScale = NULL)

Arguments

psOdgFileStem

stem of odg figure file

psOdgDir

directory where odg figure file is stored

psFigOutDir

directory where output should be placed

pbMustGenerate

flag to indicate whether pdf-graphics must be regenerated


charlotte-ngs/rcoursetools documentation built on May 13, 2019, 3:34 p.m.