Description Usage Arguments Value
Invoke Pandoc with the provided parameters.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | pandoc.latex(
sourceFile,
destName = sub(pattern = "\\..*", replacement = "", x = basename(sourceFile)),
destDir = dirname(sourceFile),
format.in = "markdown",
standalone = TRUE,
tabstops = 2L,
toc.print = TRUE,
toc.depth = 3L,
crossref = TRUE,
bibliography = TRUE,
topLevelDivision = "chapter",
numberSections = TRUE,
metadata = NULL,
useListings = FALSE
)
|
sourceFile |
the path to the source file |
destName |
the base name of the destination file without extension |
destDir |
the destination directory |
format.in |
the input format |
standalone |
should we produce a stand-alone document? |
tabstops |
the number of spaces with which we replace a tab character,
or |
toc.print |
print a table of contents? |
toc.depth |
the depth of the table of content to print |
crossref |
use pandoc-crossref? |
bibliography |
do we have a bibliography? |
topLevelDivision |
the top-level division |
numberSections |
should sections be numbered? |
metadata |
the metadata |
useListings |
use the listings package for LaTeX code blocks? |
the canonical path to the destination file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.