BibTeX, biblatex and biberextract cited references for inclusion in a tex file

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
jossojjos
Posts: 27
Joined: Tue Feb 07, 2012 4:52 pm

extract cited references for inclusion in a tex file

Post by jossojjos »

Dear community,

I'm going to submit a paper I wrote using latex, so I'd like to include the references in the tex file (i.e. not using separate .bbl files). However, upon running bibtex on the pdflatex'ed tex file, it puts all references from my "master" .bib file in the .bbl file (without citing them in the pdf that is produced subsequently). I remember that I managed once to select only the cited entries and put them in the .tex file.
Could someone help to refresh my memory and tell me how this should be done ?

Thanks a lot in advance,
Jos

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: extract cited references for inclusion in a tex file

Post by kaiserkarl13 »

The only reason you would be getting references in the bibliography (.bbl) file that are not cited is if you have \nocite{*} somewhere. Get rid of that, and the .bbl file should contain only the references you cite.
jossojjos
Posts: 27
Joined: Tue Feb 07, 2012 4:52 pm

extract cited references for inclusion in a tex file

Post by jossojjos »

No, that's not the case, there is no "nocite" command anywhere.
By the way, all references (including uncited ones) go into the bbl files, while the pdf only showes the cited ones.

Maybe it has got something to do with the fact that I use a sectioned bibliography ?

Code: Select all

\usepackage[authoryear]{natbib}
\usepackage[dot]{bibtopic}

\begin{btUnit}

(...)

\bibliographystyle{genetics}
\begin{btSect}{/home/jos/Bib/jos}
\btPrintCited
\end{btSect}
\end{btUnit} 

\clearpage{}

\begin{btUnit}

etc...
I use two sections ; both *bbl files are identical, containing all references in my master *bib file.
Post Reply