My colleague asked me to write a page for a paper he writes. I wrote the page in LyX, compiled it to LaTeX, and sent him the TeX files. Then he reminded me that I forgot to send the .bib file with all the references.
But, my .bib file is huge - it contains over 1000 references (I have a global BiBTeX file for all my papers). The page I wrote uses only about 20 of them.
Is there an automatic way to extract from the bib file, only the records relevant to the current paper?
\nocite{*}command, or else you'll get ALL your bibliography file). – Mario S. E. Oct 07 '13 at 17:01.auxfile, see http://tex.stackexchange.com/questions/98370/how-to-generate-a-bib-file-with-citations-in-a-texmaker-project/98396#98396 See also http://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file – Torbjørn T. Oct 07 '13 at 17:02.auxfile is generated when you runpdflatexon the.texfile. Also, do you usebiblatexas the tag suggests? In that case you probably have to addbackend=bibtexas an option to thebiblatexpackage before you compile. – Torbjørn T. Oct 07 '13 at 18:33