processLatexConcordance {RmdConcord} | R Documentation |
Process a LaTeX concordance file.
Description
Pandoc can record concordance information in \datapos
macros
when converting Commonmark documents to LaTeX. This retrieves
that information, and rewrites it as standard R concordance
data.
Usage
processLatexConcordance(filename,
newfilename = filename,
rename = NULL,
followConcordance = NULL,
defineSconcordance = TRUE)
Arguments
filename |
The filename of the LaTeX file produced by Pandoc. |
newfilename |
A filename in which to write the changed data. |
rename |
A named character vector. Names are the names in the |
followConcordance |
If |
defineSconcordance |
Whether to insert the definition of the |
Value
Called for the side effect of rewriting the concordance, it returns
newfilename
invisibly.
Author(s)
Duncan Murdoch