pandoc.invoke: Invoke Pandoc

Description Usage Arguments Value

View source: R/pandoc.R

Description

Invoke Pandoc with the provided parameters.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
pandoc.invoke(
  sourceFile,
  destFileName,
  destDir = dirname(sourceFile),
  format.in = "markdown",
  format.out = "latex",
  standalone = TRUE,
  tabstops = 2L,
  toc.print = TRUE,
  toc.depth = 3L,
  crossref = TRUE,
  bibliography = TRUE,
  template = NA_character_,
  numberSections = TRUE,
  ...
)

Arguments

sourceFile

the path to the source file

destFileName

the path to the destination file

destDir

the destination directory

format.in

the input format

format.out

the output format

standalone

should we produce a stand-alone document?

tabstops

the number of spaces with which we replace a tab character, or NA to not replace

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?

template

the template to be used, or NA if none

numberSections

should sections be numbered?

...

the arguments to be passed to pandoc

Value

the canonical path to the destination file


thomasWeise/bookbuildeR documentation built on Sept. 5, 2021, 6:31 p.m.