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

hyperref and pageanchor=false

631 views
Skip to first unread message

Tim Arnold

unread,
Apr 1, 2009, 3:55:17 PM4/1/09
to
hi,
I came across some code today that set hyperref's pageanchor option to
false. Of course this had the effect that the links from the index had
no place to go.

Things seem to be ok when I just comment out the pageanchor=false, but
my question is why would anyone set the option to false? What am I
missing?

thanks,
--Tim Arnold

Heiko Oberdiek

unread,
Apr 1, 2009, 4:47:27 PM4/1/09
to
Tim Arnold <a_j...@bellsouth.net> wrote:

For example, the page anchors could be disabled for the title pages
that share the page number with other pages. This avoids problems
with "same destination" errors.

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

T

unread,
Apr 2, 2009, 9:21:45 AM4/2/09
to
>   Heiko <oberd...@uni-freiburg.de>

Thanks Heiko. For the sake of completeness, the situation I ran into
came up because of a program meant to write out a master book.tex
file. That master file was to be structured like this:
\documentclass{memoir}
% preamble stuff including
% hyperref package with options
% a couple of last preamble things
\hypersetup{pageanchor=false}
\begin{document}
\frontmatter
\include{frontmatter}
\mainmatter
\hypersetup{pageanchor=true}
\include{introduction}
% etc etc
\end{document}

That is, it turned off pageanchors for the frontmatter chapter(s) and
turned them on after encountering \mainmatter. That program had a bug
and it never produced the \hypersetup{pageanchor=true} command and so
that's how my quest began.

Now that the bug is fixed, the index links work and we've avoided the
'same destination' errors as Heiko mentioned.

Thanks again,
--Tim Arnold

0 new messages