diff Doc/texinputs/python.sty @ 8066:a7dd0f52f2b6 legacy-trunk

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.
author Fred Drake <fdrake@acm.org>
date Wed, 15 Apr 1998 14:53:28 +0000
parents 011ae71fea96
children 48e2349d11c6
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Wed Apr 15 14:50:56 1998 +0000
+++ b/Doc/texinputs/python.sty	Wed Apr 15 14:53:28 1998 +0000
@@ -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}%