bbt_bib_selected | R Documentation |
Fetch bibliographical information from your Zotero library. bbt_bib()
fetches
information for a vector of citation keys; bb_bib_selected()
fetches information
for the currently selected items in the Zotero pane.
bbt_bib_selected(
translator = getOption("rbbt.default.translator", "biblatex"),
.action = bbt_print
)
bbt_bib(
keys,
translator = getOption("rbbt.default.translator", "biblatex"),
library_id = getOption("rbbt.default.library_id", 1),
.action = bbt_print
)
translator |
Type of bibliography file to create. Options are |
.action |
Use |
keys |
A character vector of citation keys. |
library_id |
You may have to pass a specific library ID
if your options are not set to use globally unique keys.
Set the rbbt.default.library_id to ensure this value is
used by the addin. You can use |
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.