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.
1 2 3 | includeOdgGraphic(psOdgFileStem, psOutFormat, psOdgDir = "odg",
psFigOutDir = ".", pbMustGenerate = FALSE,
pnPaperWidthScale = NULL)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.