bbl_ext: Extract bib entries from a bib file that are in bbl

Description Usage Arguments Details Value Examples

View source: R/bbl_ext.R

Description

Extract bib entries from a bib file that are in bbl

Usage

1
bbl_ext(bbl_fl, bib_fl, bib_new = NULL, titlecase = FALSE)

Arguments

bbl_fl

chr string of bbl file with entries to extract

bib_fl

chr string of bib file for all entries

bib_new

chr string of path for new bib file with abbreviated titles, appends '_kp' to input file name if blank

titlecase

logical indicating if the title field is converted to titlecase, not perfect so make sure to check final entries manually

Details

This function assumes that the bib file with entries to extract based on keys in bbl includes extra entries not needed for a document.

Value

A new bib file is saved, nothing is returned to the console

Examples

1
2
3
4
## Not run: 
bbl_ext('inst/manu.bbl', 'inst/refs_all.bib')

## End(Not run)

fawda123/Jabbrev documentation built on Jan. 25, 2021, 5:22 p.m.