Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with backref in hyperref (not the one solved by plainpages=false)

246 views
Skip to first unread message

Standa Zivny

unread,
Mar 7, 2009, 5:12:30 AM3/7/09
to
Hi,

I have the following problem (bug?) with hyperref and backref:

Setting (hyperref 2009/02/22 v6.78p, backref 1.28)

\documentclass{report}

\usepackage
[final,pagebackref,bookmarks=true,naturalnames=true,breaklinks=true,
colorlinks=false,citebordercolor={0.73 1 0.73},linkbordercolor={1 0.82
0.82},
pdftitle={},pdfauthor={},plainpages=false,pdfpagelabels=true]
{hyperref}

The problem is that some references get wrong pages (looks like
references at
the beginning of a page).

(I believe I'm not referring to the old problem with different
pagenumbering
settings, which is solved by setting plainpages=false)

Strangely enough, the .brf file gets the numbers correctly, but the
numbers in
the resulting PDF file (using pdflatex, pdfTeXk, Version
3.141592-1.40.3) are
wrong.

EXAMPLE:

For instance, if I use \cite{MyBook} on the top of page 14, I'll get
13 in the
Bibliography section, although the .brf file has the correct record
\backcite {MyBook}{{14}{1}{section*.7}}

I also use bibtex and makeindex and compile the source file many times
(pdflatex; bibtex; makeindex; pdflatex 2x).

Thanks a lot for your help!

Best wishes,

Standa

Heiko Oberdiek

unread,
Mar 7, 2009, 8:56:18 AM3/7/09
to
Standa Zivny <szi...@gmail.com> wrote:

> Setting (hyperref 2009/02/22 v6.78p, backref 1.28)

> \usepackage
> [final,pagebackref,bookmarks=true,naturalnames=true,breaklinks=true,

See subject. Don't use "naturalnames=true".

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Standa Zivny

unread,
Mar 7, 2009, 10:25:47 AM3/7/09
to
On Mar 7, 1:56 pm, Heiko Oberdiek <oberd...@uni-freiburg.de> wrote:
> Standa Zivny <szi...@gmail.com> wrote:
> > Setting (hyperref 2009/02/22 v6.78p, backref 1.28)
> > \usepackage
> > [final,pagebackref,bookmarks=true,naturalnames=true,breaklinks=true,
>
> See subject. Don't use "naturalnames=true".

Thanks for the tip! Tried already, but doesn't help :(

Standa

Heiko Oberdiek

unread,
Mar 7, 2009, 2:30:13 PM3/7/09
to
Standa Zivny <szi...@gmail.com> wrote:

Make a minimal example. I don't know, what you are doing.

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Donald Arseneau

unread,
Mar 8, 2009, 4:05:39 AM3/8/09
to
On Mar 7, 2:12 am, Standa Zivny <szi...@gmail.com> wrote:

> The problem is that some references get wrong pages (looks like
> references at the beginning of a page).
>

> Strangely enough, the .brf file gets the numbers correctly,

My guess is that the text shifts slightly when the references are
first
resolved. You have to re-run LaTeX until they settle down. The new
brf file will always give the right pages for the current
typesetting,
but the current typesetting will display tye numbered from the
*previous*
brf file.

If you have a perpetual cycle, you will have to manually edit or
force a page break.

Donald Arseneau as...@triumf.ca

Standa Zivny

unread,
Mar 10, 2009, 7:51:19 AM3/10/09
to
> Donald Arseneau                           a...@triumf.ca

Thanks Donald.. It looks like the trouble was in my script which did
the latex;bibtex;makeindex;latex;latex sequence as it started with
deleting all auxiliary files...

Standa

0 new messages