Uses latex .aux
file to extract citation keys
lyx_citekeys(auxfile = NULL)
auxfile | Path to a latex aux file (see details for default behaviour) |
---|
A character vector of citation keys in the order in which they are cited in the LyX document.
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
.
Other LyX: current_lyx_tempfile
,
lyxexport
, lyxhtml2html
Other bib: bibdesk_clean
,
biber_cache