Uses the command line bibtool program with a custom resource file to remove over-long fields that can cause problems for bibtex parsers. These include the annote and bdsk-url-* and bdsk-file fields.

bibdesk_clean(bibin, bibout = NULL)

Arguments

bibin

Path to input file

bibout

Path to output file. The default value of NULL will generate a temporary file.

Value

A character vector containing the path to the output file or NA_character_ when conversion fails

See also

Examples

rsc_file=system.file("bibtool","bibdesk-clean.rsc", package = 'paperutils')