bbt_cite_cayw | R Documentation |
Use Better BibTex's cite-as-you-write tool to search your Zotero libraries and insert citations or a bibliography. Unfortunately, this doesn't work well on some platforms. Citation text is printed to the console by default. Use the RStudio addin to insert directly into the editor!
bbt_cite_cayw(format = c("pandoc", "latex", "cite"), .action = bbt_print)
bbt_bib_cayw(
translator = getOption("rbbt.default.translator", "biblatex"),
.action = bbt_print
)
format |
The citation format to use for in-text citations. |
.action |
Use |
translator |
Type of bibliography file to create. Options are |
A character vector of length 1, the result of .action
.
Most users should use CSL-JSON format (.json
) for their bibliographies.
RMarkdown's citation formatting uses CSL styles. These styles require CSL-JSON data. RMarkdown converts other data formats (e.g., BibLaTeX) to CSL-JSON. This is not lossless, and references other than journal articles may be inaccurate. This is the case even if outputting to PDF or TeX format.
Only use BibLaTeX or BibTeX if you are using pandoc arguments to specify an alternative citation engine for raw TeX output.
The default translator can be changed. For example:
options(rbbt.default.translator = "json")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.