tidy_bib_file: Tidy bibliography file

View source: R/tidy_bib_file.R

tidy_bib_fileR Documentation

Tidy bibliography file

Description

Removes duplicate and unneeded entries from a Bib(La)Tex-file.

Usage

tidy_bib_file(
  rmd_file,
  messy_bibliography,
  file = NULL,
  encoding = getOption("citr.encoding"),
  betterbiblatex_format = getOption("citr.betterbiblatex_format")
)

Arguments

rmd_file

Character. One or more paths to the R Markdown files that use the messy bibliography file.

messy_bibliography

Character. Path to the messy bibliography file.

file

Character. Path and name for the to-be-created tidy bibliography. If NULL the messy bibliography is replaced.

encoding

Character. Encoding of the Bib(La)TeX-file. See the connection.

betterbiblatex_format

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.

Examples

NULL

crsh/citr documentation built on Nov. 23, 2023, 11:21 a.m.