Am 26.01.2016 um 00:51 schrieb Rich Shepard:
I normally compile my documents using pdflatex. For an article I'm
submitting to a journal I want to provide the .tex (produced using LaTeX
(pdflatex) and .bib files but I've run into a problem with the latter.
Perhaps the solution needs to come from the JabRef mail list.
My scientific references are maintained in a JabRef database. There
are a
number of these that are used in the article, and I've no idea how to
extract only the cited references into a separate .bib file to send along
with the .tex file.
A pointer to what I should read to learn how to do this will be much
appreciated.
TIA,
Rich
Hi, Rich,
in LyX:
File > export > Latex (plain)
in a terminal:
latex yourfile
latex yourfile
latex yourfile
bibtex yourfile
which produces an yourfile.aux
in Jabref:
Tools > new subdata based on AUX file
in the window which opens:
Reference data base: yourbibfile
Latex AUX file browse, is in same directory as your lyx file and .tex file.
This produces a bib file containing ONLY the used references (and tells
you, if some are missing).
I am on Linux Debian
Hope it works for you
Wolfgang