Render canonical manuscripts with Pandoc
manuscript-pandoc-rendering.RdBuilds and optionally executes deterministic Pandoc commands for canonical manuscript source directories while preserving tool identity, logs, exit status, and output checksums.
Usage
pandoc_status(executable = Sys.which("pandoc"))
pandoc_render_arguments(manuscript_directory, format = c("html", "docx"), output = NULL)
render_manuscript(manuscript_directory, format = c("html", "docx"),
pandoc = Sys.which("pandoc"), dry_run = FALSE, overwrite = FALSE)
validate_manuscript_render(x)Arguments
- executable, pandoc
Path to the Pandoc executable.
- manuscript_directory
A validated manuscript source directory.
- format
Output format, either
htmlordocx.- output
Optional explicit output path.
- dry_run
Return an execution record without invoking Pandoc.
- overwrite
Permit replacement of an existing rendered output.
- x
A
PopgenVCFManuscriptRenderrecord.