# [texhax] unused bibliography entries

Sun Jul 13 08:02:34 CEST 2003

```>>>>> "Ross" == Ross Moore <ross at ics.mq.edu.au> writes:

Ross> Hi Tom, and others,

Ross> You should be able to make use of the backref feature of
Ross> hyperref, provided that you have loaded \usepackage[backref,
Ross> .... other options ...]{hyperref} or
Ross> \hypersetup{backref=true}

Ross> For every citation, this creates a hyperlink from the
Ross> bibliography to where that citation occurs within the body
Ross> of the document.  So now you can easily do a visual check to
Ross> see whether any biblio entries have no such back-link.

Ross> Alternatively, I'd guess the hack would be rather trivial to
Ross> add a warning message into the coding in backref.sty for any
Ross> biblio entry that has no back-references (i.e. was not cited
Ross> within the document).

I did a trivial hack of \cite and \bibitem commands to make a check of
cited condition. It is available at:

http://tug.org/~cvr/bibcheck.sty

which issues a warning to the terminal and log like:

*******************************************************
This bibitem [abc] with KEY [2] is NOT CITED
*******************************************************

Also it writes a file \jobname.uncited which will look like:

Bibitem [abc] with key [bib2] not cited
Bibitem [xyz] with key [bib6] not cited

Hope this might be useful. The usage is:

\usepackage{bibcheck}