extract_cite_keys: Extract cite keys

Description Usage Arguments Value Examples

View source: R/extract-cite-keys.R

Description

Extract cite keys like "@foo:2014" or "\cite{foo:2014}" from a markdown (.Rmd, .md) or Latex (.tex) file.

Usage

1
extract_cite_keys(doc, verbose = FALSE)

Arguments

doc

a string character

verbose

print extra progress messages

Value

a character vector of extracted cite keys

Examples

1
2
extract_cite_keys("@smith:2015")
extract_cite_keys("@smith2015first")

andybega/condensebib documentation built on Oct. 29, 2021, 7:51 a.m.