Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8065:f0bd9ee78a52 | 8066:a7dd0f52f2b6 |
|---|---|
| 60 \unvbox \@begindvibox | 60 \unvbox \@begindvibox |
| 61 \@hyperfixhead | 61 \@hyperfixhead |
| 62 } | 62 } |
| 63 \def\@hyperfixhead{% | 63 \def\@hyperfixhead{% |
| 64 \let\H@old@thehead\@thehead | 64 \let\H@old@thehead\@thehead |
| 65 \gdef\@foo{\if@doing@page@targets\pdfdest name{page.\thepage} fit\fi}% | 65 \gdef\@foo{\if@doing@page@targets\pdfdest name{page.\thepage x} fit\fi}% |
| 66 \expandafter\ifx\expandafter\@empty\H@old@thehead | 66 \expandafter\ifx\expandafter\@empty\H@old@thehead |
| 67 \def\H@old@thehead{\hfil}\fi | 67 \def\H@old@thehead{\hfil}\fi |
| 68 \def\@thehead{\@foo\relax\H@old@thehead}% | 68 \def\@thehead{\@foo\relax\H@old@thehead}% |
| 69 } | 69 } |
| 70 \fi\fi | 70 \fi\fi |
