summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/python.sty
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-15 14:53:28 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-15 14:53:28 (GMT)
commita88d681255b8f4d5883e9ad245f00dae15c5c473 (patch)
tree83955dbe8db5c1b987fc4d21e99bd956067bef83 /Doc/texinputs/python.sty
parentd671e8fb87ba319527ce86bcfb02a0fac0155d9b (diff)
downloadcpython-a88d681255b8f4d5883e9ad245f00dae15c5c473.zip
cpython-a88d681255b8f4d5883e9ad245f00dae15c5c473.tar.gz
cpython-a88d681255b8f4d5883e9ad245f00dae15c5c473.tar.bz2
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.
Diffstat (limited to 'Doc/texinputs/python.sty')
-rw-r--r--Doc/texinputs/python.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index fc121b8..4c38774 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -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}%