To add entry keys to the bibliography, you can redefine \begentry. Omitting data from the bibliography can be done using the \clearfield, \clearlist and \clearname commands, which can be executed using the \AtEveryBibitem hook.
None of these commands affect the bibliographic data, so a document with a "short" version of the bibliography can be generated without having to re-run biber/bibtex. The code below provides an example.
\documentclass{article}
\usepackage[style=numeric]{biblatex}
\usepackage{filecontents}
\newtoggle{draftbib}
% Comment this line for full bibliography
\toggletrue{draftbib}
\iftoggle{draftbib}
{\renewbibmacro*{begentry}{%
\printtext{\mkbibbold{\thefield{entrykey}}}\addcolon\addspace}
\AtEveryBibitem{%
\clearname{editor}%
\clearfield{subtitle}%
\clearfield{booktitle}%
\clearfield{booksubtitle}%
\clearfield{maintitle}%
\clearfield{mainsubtitle}%
\clearfield{url}%
\clearfield{doi}}}
{}
\begin{filecontents}{\jobname.bib}
@Article{bertram,
author = {Bertram, Aaron and Wentworth, Richard},
title = {Gromov invariants for holomorphic maps on Riemann surfaces},
journaltitle = {J.~Amer. Math. Soc.},
volume = {9},
number = {2},
date = {1996},
pages = {529--571}}
@Book{companion,
author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
title = {The LaTeX Companion},
edition = {1},
publisher = {Addison-Wesley},
location = {Reading, Mass.},
date = {1994}}
@InBook{nietzsche,
author = {Nietzsche, Friedrich},
bookauthor = {Nietzsche, Friedrich},
editor = {Colli, Giorgio and Montinari, Mazzino},
title = {Unzeitgem{\"a}sse Betrachtungen. Zweites St{\"u}ck},
subtitle = {Vom Nutzen und Nachtheil der Historie f{\"u}r das Leben},
booktitle = {Die Geburt der Trag{\"o}die. Unzeitgem{\"a}{\ss}e Betrachtungen I--IV. Nachgelassene Schriften 1870--1973},
maintitle = {S{\"a}mtliche Werke},
mainsubtitle = {Kritische Studienausgabe},
volume = {1},
publisher = {Deutscher Taschenbuch-Verlag and Walter de Gruyter},
location = {M{\"u}nchen and Berlin and New York},
date = {1988},
pages = {243--334}}
@Online{ctan,
title = {CTAN},
subtitle = {The Comprehensive TeX Archive Network},
date = {2006},
url = {http://www.ctan.org}}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
\addbibresourcethe 3 bib files which I use in my main.tex document? Do I have to add information about mymain.texdocument? Do I have to run bibtex on the file or onlypdflatex? – MostlyHarmless Aug 10 '11 at 14:32\begin{document}) ofmain.tex. Then runpdflatex main. Your newpdfdocument will have a short version of the bibliography. To revert back to the long bibliography, comment out\toggletrue{draftbib}and runpdflatex mainagain. Additional fields can be suppressed in the short bibliography by adding more\clearfield,\clearnameand\clearlistcommands within\AtEveryBibitem. – Audrey Aug 10 '11 at 15:17main.bbland call it, say,shortbib.bbl. Create a new fileshortbib.texcontaining code similar to the example above, but delete lines 24-61. Replace these with\addbibresourcecommands referring to your actualbibfiles. Then runpdflatex shortbib. – Audrey Aug 10 '11 at 16:08