Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In GKP's Concrete Mathematics, there is a useful and interesting feature I would like to see in more books. The bibliography entries include:

  • a - the page numbers where the book or article is cited in the document.

  • b - a few lines of review of the cited work.

It is a kind of mix between bibliography, index and review.

Are there stable LaTeX packages/BibTeX styles to do (a) and (b) ?

EDIT: I wrote (b) initially as "comments about the work cited". It could be understood as "gathering comments made in the book about the work and reproducing them in the bibliography". This is not what I meant but this could be something useful for others.

share|improve this question
add comment

2 Answers

up vote 9 down vote accepted

For (a) use the backref package together with your bibliography setup (natbib, etc.)

With hyperlinks:

\usepackage[backref=page]{hyperref}
\hypersetup{<your setup params>}

or without hyperref

\usepackage{nohyperref}
\usepackage[pageref]{backref}
\usepackage{url}% for url's in bib

Then set the back references in a more readable format

\renewcommand*{\backref}[1]{}
\renewcommand*{\backrefalt}[4]{%
    \ifcase #1 (Not cited.)%
    \or        (Cited on page~#2.)%
    \else      (Cited on pages~#2.)%
    \fi}

Note that you need 3 Latex runs to set everything properly!

For the (b) part you would need something similar so the backref functionality that will link it to a citation and then add a page number(s) to the \bibitem block. This is quite difficult but it can be done (a todo project when there is time available ;-)

share|improve this answer
    
Thanks a lot for this concrete answer. I thought (b) might also be possible : 1- with a modified BibTeX style but at the condition to enter the small review of the work in one or several fields of its entry in the bib file. OR 2- By maintaining a special file linking the work ref and the review. –  ogerard Apr 17 '11 at 4:48
    
@ogerard: Adding it as a special field to the bibtex file is easy (just hack the .bst file). I was thinking more in terms of something like foot- or sidenotes commenting on a reference. I especially like the notion of commenting sidenotes. I am bussy helping a senior professor here typesetting his advanced doctoral desertation, which is basicaly a summation of his lifelong contibution to a research field (hundereds of refereces). In this instance this setup would be very useful. –  Danie Els Apr 17 '11 at 7:09
    
I am fond of marginal notes (and they are a great part of Concrete Mathematics as well). Yes marginal notes for index and bibliography could be fun, especially if they can be written in small bits throughout the book then collected in the bibliography. –  ogerard Apr 17 '11 at 14:49
add comment

In addition to Danie Els answer. If you want to localize backref you'll need another command.

For German, this would be \backrefgerman. You should insert this command after:

\renewcommand*{\backref}[1]{}
\renewcommand*{\backrefalt}[4]
{%
    \ifcase #1 (Not cited.)%
        \or        (Cited on page~#2.)% cite of one page
        \else      (Cited on pages~#2.)% cite of several pages 
    \fi
}
share|improve this answer
    
forgot to tell: This will mainly change the conjunction when something of the BibTeX file is referenced more than once, so (Cited on pages 1,2 and 3) will become (Cited on pages 1,2 und 3) (Hint: und is German for and). The (Cited on ...) text can be directly changed in the redefinition of backrefalt (see above) –  patrickvogt Apr 17 '13 at 15:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.