lyx_citekeys: List the bibtex citekeys for a LyX document

Description Usage Arguments Details Value See Also

View source: R/lyxutils.r

Description

Uses latex .aux file to extract citation keys

Usage

1
lyx_citekeys(auxfile = NULL)

Arguments

auxfile

Path to a latex aux file (see details for default behaviour)

Details

The required input is not the LyX file itself, but rather the auxfile produced by a latex/bibtex run (note this is also produced by biblatex). When auxfile=NULL the current_lyx_tempfile is used to determine the appropriate auxfile.

auxfiles do seem to have a variety of different formats for recording the citekey list - this function has been tested for files processed using natbib + bibdesk.

Value

A character vector of citation keys in the order in which they are cited in the LyX document.

See Also

Other LyX: current_lyx_tempfile, lyxexport, lyxhtml2html

Other bib: bibdesk_clean, biber_cache


jefferis/paperutils documentation built on Sept. 20, 2019, 10:20 a.m.