BibTeX, biblatex and biberHow to print bib database and keys?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
pakogaban
Posts: 2
Joined: Sat Mar 20, 2010 10:19 pm

How to print bib database and keys?

Post by pakogaban »

I want to print all entries in my .bib file with keys listed besides every entry.

For example, if I have in my .bib file something like that:
@article{key,
author = "Name",
title = "Title",
year = 2000
}

can I get it printed in pdf file like this:
[key] Name.Title.2000.

I need it because there are many entries in my bibliography database and it's not very comfortable to look in the .bib file for the keys when I want to cite something. Or maybe there is some better way to solve this problem?

Recommended reading 2024:

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

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

arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Re: How to print bib database and keys?

Post by arwintcher »

Are you just using your bibliography database as a single text file? Perhaps you should try something like JabRef.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

How to print bib database and keys?

Post by gmedina »

Hi pakogaban,

you could use the showkeys package. Assuming that your biliographical database is biblio.bib you can create a .tex document like the following (I will call it test.tex):

Code: Select all

\documentclass{book}
\usepackage{showkeys}

\begin{document}

\nocite{*}

\bibliographystyle{plain}
\bibliography{biblio}

\end{document}
and then process it in the standard way:

Code: Select all

pdflatex test
bibtex test
pdflatex test
pdflatex test
The obtained pdf document will contain all the items of the file biblio.bib with their corresponding keys nicely boxed.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
pakogaban
Posts: 2
Joined: Sat Mar 20, 2010 10:19 pm

How to print bib database and keys?

Post by pakogaban »

Thank you, gmedina, that's what I wanted!
Post Reply