Description Usage Arguments Details Value
Process the bibliography of a Latex document, substituting the references and inserting the formatted bibliography.
1 | processBibliography(tex, fileRoot)
|
tex |
A vector of character strings, each element representing a single line in a Latex file. |
fileRoot |
The name of the Latex file being processed, without the .tex extension. If latex file is <latex>.tex, fileRoot should be <latex>. |
A <fileRoot>.aux and a <fileRoot>.bbl file must both be present and in the same directory as the <fileRoot>.tex file. Hence, one must compile the Latex document first to generate these files.
Citation styles allowed here are citet
(cite text,
e.g., McDonald (2018)) and citep
(cite paratheses,
e.g., (McDonald, 2018)).
The plain cite
style is treated exactly like citep
.
A vector of character strings representing the file but with references substituted and the bibliography in it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.