includeOdgGraphic: Include a graphic file based on an odg template in a given...

Description Usage Arguments

Description

Include a graphic file based on an odg template in a given output format

includeOdgGraphic takes the name of a file containing a graphic in odg format, converts the content of that file into a given output format using function convertLibOToGraphic and outputs the string in markdown format to include the figure. Graphic files are only re-generated if the outputfile does not exist or, if the flag pbMustGenerate is TRUE.

Usage

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

Arguments

psOdgFileStem

stem of odg figure file

psOutFormat

output format of the graphic file to be included

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

pnPaperWidthScale

scale factor for produced graphic


charlotte-ngs/rmddochelper documentation built on June 27, 2019, 1:22 a.m.