Wow. Thanks !! that's exactly what I wanted :)
I had to play with it a little, since apparently hyperref doesn't get along
well with algorithms. I had to put this in the preamble:
\newcommand{\theHalgorithm}{\arabic{algorithm}}
Anyway, thanks :)
Alex
-----Original Message-----
From: Daniel Lohmann [mailto:[EMAIL PROTECTED]
Sent: Friday, October 26, 2007 5:23 AM
To: Alexander Sklar
Cc: [email protected]
Subject: Re: back reference to citations
Alexander Sklar wrote:
> Hi all,
>
> Is there a way to find out about where a certain citation is referenced,
or
> at least know which entries in the bibliography section aren't being
> referenced in the document?
>
The backref package does this. Usually, it is loaded together with
hyperref, so that the back references become actual hyperlinks. In my
preamble, I have the following:
%***************************************************************************
**
%** hyperref and backref
*****************************************************
% The pagebackref option must be passed as package option to hyperref,
otherwise
% backref is not loaded by hyperref (\hypersetup is to late!)
%
%
\usepackage[pdftex, pagebackref=true, hyperindex=true]{hyperref}
\hypersetup{%
breaklinks = true,
colorlinks = true,
linkcolor = hr_standard,
anchorcolor = hr_standard,
citecolor = hr_standard,
filecolor = hr_standard,
urlcolor = hr_standard,
pagecolor = hr_standard,
pdftitle = {Aspect-Oriented Operating System Design},
pdfauthor = {Daniel Lohmann},
pdfkeywords = {AOP, Aspect-oriented Programming, AspectC++,
Operating Systems},
pdfcreator = LyX :-)
}
% We also redefine the typesetting of backrefs.
% simple backref command redefinition (not sure if it is necessary)
\renewcommand*{\backref}[1]{}
% redefinition of the actually used \backrefalt
\renewcommand*{\backrefalt}[4]{%
\ifcase #1 %
% case: not cited
\or
% case: cited on exactly one page
\par \vspace{-6pt} \footnotesize (Cited on page~#2.)%
\else
% case: cited on multiple pages
\par \vspace{-6pt} \footnotesize (Cited on pages~#2.)
\fi}
If you major goal is to mark the non-referenced entries, you might
consider defining "not cited" case different from me in the the
\backrefalt command:
% redefinition of the actually used \backrefalt
\renewcommand*{\backrefalt}[4]{%
\ifcase #1 %
% case: not cited
\par \vspace{-6pt} \footnotesize\textbf (not cited)%
\or
% case: cited on exactly one page
\par \vspace{-6pt} \footnotesize (Cited on page~#2.)%
\else
% case: cited on multiple pages
\par \vspace{-6pt} \footnotesize (Cited on pages~#2.)
\fi}
Daniel
--
Dipl.-Inf. Daniel Lohmann (Wissenschaftlicher Mitarbeiter)
Friedrich-Alexander-Universität Erlangen-Nürnberg
Informatik 4
Martensstr. 1
91058 Erlangen
Tel : +49-9131-8527904
Fax : +49-9131-8528732
WWW : www4.informatik.uni-erlangen.de/~lohmann
eMail : [EMAIL PROTECTED]