GeneralI can´t get backreferences in the bibliography

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
corderin
Posts: 77
Joined: Sun Dec 14, 2008 2:27 pm

I can´t get backreferences in the bibliography

Post by corderin »

Hi,

I am using the backref option of hyperref to get backreferences in the bibliography but it doesn´t work...my code is:

preamble (only the packages that can have some relation)

Code: Select all

Code, edit and compile here:
\usepackage[pagebackref=true,colorlinks]{hyperref}
\hypersetup{pdffitwindow=true,linkcolor=black,citecolor=black,urlcolor=RoyalBlue}
\usepackage{cite}
\usepackage{babelbib}
\setbtxfallbacklanguage{english}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
document

Code: Select all

Code, edit and compile here:
\bibliographystyle{babunsrt-fl}
\bibliography{references}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Could somebody help me?

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

I can´t get backreferences in the bibliography

Post by gmedina »

Hi,

I did some tests using the code you posted (after suitable completion) and found out that the cite package was to blame for the undesired bahaviour. You could try removing it and using natbib in its stead.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
corderin
Posts: 77
Joined: Sun Dec 14, 2008 2:27 pm

Re: I can´t get backreferences in the bibliography

Post by corderin »

Ok, without the cite package my code works, but I haven´t still any backreference in the bibliography.

I would like to use the babelbib package in our to become multilanguage entries in the bibliography, I guess the backref should work together with babelbib...but I don´t know why it doesn´t work yet...

Thank you otherwise.
corderin
Posts: 77
Joined: Sun Dec 14, 2008 2:27 pm

I can´t get backreferences in the bibliography

Post by corderin »

Problem SOLVED, instead of calling backref from the hyperref package I have written it afterwards and now it works...this way:

Code: Select all

Code, edit and compile here:
\usepackage[colorlinks]{hyperref}
\hypersetup{pdffitwindow=true,linkcolor=LightSkyBlue,citecolor=Sienna,
urlcolor=Navy,menucolor=black}
\usepackage[hyperpageref]{backref}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
when somebody has the same problem this is the solution...I had thought it was enough with the hyperref, but it wasn´t.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

I can´t get backreferences in the bibliography

Post by gmedina »

corderin wrote:Problem SOLVED, instead of calling backref from the hyperref package I have written it afterwards and now it works...this way:

Code: Select all

Code, edit and compile here:
\usepackage[colorlinks]{hyperref}
\hypersetup{pdffitwindow=true,linkcolor=LightSkyBlue,citecolor=Sienna,
urlcolor=Navy,menucolor=black}
\usepackage[hyperpageref]{backref}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
when somebody has the same problem this is the solution...I had thought it was enough with the hyperref, but it wasn´t.
Hmmm, makes me wonder. As I said before, removing the cite package was enough (with the code you posted). The following code produces the desired back references as expected (I attach the resulting pdf file):

Code: Select all

Code, edit and compile here:
\begin{filecontents*}{tbiblio.bib}
@article{mifflin,
author = "R. Mifflin",
title = "Semismooth and semiconvex functions in constrained
optimization",
journal = "Siam Journal on Control",
year = "1977",
volume = "15",
pages = "957--972"
}
@book{winter.periaux.ea,
author = "G. Winter and J. Periaux and M. Galan and P. Cuesta",
title = "Genetic Algorithms in Engineering and Computer
Science",
publisher = "John Wiley and Sons",
address = "Chickester, England",
year = "1995"
}
\end{filecontents*}
\documentclass{article}
\usepackage[english]{babel}
\usepackage[pagebackref=true,colorlinks]{hyperref}
\hypersetup{pdffitwindow=true,linkcolor=black,citecolor=black,urlcolor=RoyalBlue}
\usepackage{babelbib}
\setbtxfallbacklanguage{english}
\begin{document}
\cite{mifflin}
\newpage
\cite{mifflin}
\nocite{*}
\newpage
\bibliographystyle{babunsrt-fl}
\bibliography{tbiblio}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
test.pdf
(25.8 KiB) Downloaded 895 times
1,1,2,3,5,8,13,21,34,55,89,144,233,...
corderin
Posts: 77
Joined: Sun Dec 14, 2008 2:27 pm

I can´t get backreferences in the bibliography

Post by corderin »

I have reimproved my code with something very interesting...

Code: Select all

Code, edit and compile here:
\usepackage[colorlinks]{hyperref}
\hypersetup{pdffitwindow=true,linkcolor=LightSkyBlue,citecolor=Sienna,urlcolor=Navy,menucolor=black}
\RequirePackage[hyperpageref]{backref}
\renewcommand*{\backref}[1]{}
\renewcommand*{\backrefalt}[4]{
\ifcase #1
No cited.
\or
Cited on page #2.
\else
Cited on pages #2.
\fi}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
From the backref package documentation. Now the result looks very nice, whit these lines.
dfmalh
Posts: 19
Joined: Fri Jul 25, 2008 1:12 pm

I can´t get backreferences in the bibliography

Post by dfmalh »

Hi, this code that is added at the end to modify the look of the backref does not work in my case. I have posted something, don't know if it is at the wrong place... here is the link to my post:

http://www.latex-community.org/forum/vi ... 989#p24989

I would really like to get this to work. Any help will be greatly appreciated.
Post Reply