Search entries in a bibliography.
query_bib(x, bib_file = getOption("citr.bibliography_path"), cache = TRUE,
use_betterbiblatex = getOption("citr.use_betterbiblatex"))
Character. Search terms used to filter bibliography (by author, year, title, and journal fields); Regex is supported.
Character. Path to Bib(La)TeX-file. See details.
Logical. If cache = TRUE
cached bibliography is used, if available. If
cache = FALSE
bibliography is re-imported on every function call.
Logical. If use_betterbiblatex = TRUE
references are imported from Zotero/Juris-M.
Requires that the Better Bib(La)TeX is installed and
Zotero/Juris-M is running.
Returns list of class BibEntry
including all matching bibliography entries.
The path to the BibTeX-file can be set in the global options and is set to
references.bib
when the package is loaded. Once the path is changed in the
RStudio addin, the global option is updated. If use_betterbiblatex = TRUE
references
are imported from Zotero/Juris-M rather than from the Bib(La)TeX-file. The Bib(La)TeX-file
is then updated to include the inserted reference.