Is it possible to have a single bibtex database that is used for all documents, and instruct LaTex to include only the cited references from that database, and ignore the other references.
It would be similar to what the \nocite{*} command does, except that it would include only the cited references.
Thanks.
BibTeX, biblatex and biber ⇒ Single bibtex file for all documents
NEW: TikZ book now 40% off at Amazon.com for a short time.
Single bibtex file for all documents
That's exactly what bibtex does. It you don't cite it in your document, it wont appear in the bibliography.
Compile the MWE below.
mwe.tex
mwe.bib
Compile the MWE below.
mwe.tex
Code: Select all
\documentclass{article}
\begin{document}
Blah Blah Blah~\cite{one}.
\bibliographystyle{plain}
\bibliography{mwe}
\end{document}
Code: Select all
@ARTICLE{one,
author ="A. N. Other",
journal ="Latex",
number ="1",
pages ="0--90",
volume ="100",
year ="2010",
}
@ARTICLE{two,
author ="D. Knuth",
journal ="Latex for beginners",
number ="5",
pages ="890--1430",
volume ="123",
year ="2001",
}