Change the form of the name given to each page of the PDF from "page.%d" to

"page.%dx"; this works around an acroread bug that causes targets not to be
recognized if their name is a prefix of another target in the file.
This commit is contained in:
Fred Drake 1998-04-15 14:53:28 +00:00
parent d671e8fb87
commit a88d681255
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@
}
\def\@hyperfixhead{%
\let\H@old@thehead\@thehead
\gdef\@foo{\if@doing@page@targets\pdfdest name{page.\thepage} fit\fi}%
\gdef\@foo{\if@doing@page@targets\pdfdest name{page.\thepage x} fit\fi}%
\expandafter\ifx\expandafter\@empty\H@old@thehead
\def\H@old@thehead{\hfil}\fi
\def\@thehead{\@foo\relax\H@old@thehead}%