Search entries in a bibliography.
query_bib(x, bib_file = getOption("citr.bibliography_path"),
cache = TRUE,
use_betterbiblatex = getOption("citr.use_betterbiblatex"),
betterbiblatex_format = getOption("citr.betterbiblatex_format"),
exclude_betterbiblatex_library = getOption("citr.exclude_betterbiblatex_library"),
encoding = getOption("citr.encoding"))
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.
Character. Bibliography format to export from Zotero/Juris-M. Can be either "bibtex"
or "biblatex"
. Ignored if use_betterbiblatex = FALSE
.
Requires that the Better BibTeX is installed and
Zotero/Juris-M is running.
Character. A vector of Zotero/Juris-M library names not to query.
Character. Encoding of the Bib(La)TeX-file.
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.