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