diff options
author | Fred Drake <fdrake@acm.org> | 1998-04-15 14:53:28 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-04-15 14:53:28 (GMT) |
commit | a88d681255b8f4d5883e9ad245f00dae15c5c473 (patch) | |
tree | 83955dbe8db5c1b987fc4d21e99bd956067bef83 /Doc/tools/toc2bkm.py | |
parent | d671e8fb87ba319527ce86bcfb02a0fac0155d9b (diff) | |
download | cpython-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/tools/toc2bkm.py')
-rwxr-xr-x | Doc/tools/toc2bkm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/toc2bkm.py b/Doc/tools/toc2bkm.py index 6ccda1f..0d22fb1 100755 --- a/Doc/tools/toc2bkm.py +++ b/Doc/tools/toc2bkm.py @@ -101,7 +101,7 @@ def write_toc(toc, fp): def write_toc_entry(entry, fp, layer): stype, snum, title, pageno, toc = entry - s = "\\pdfoutline goto name{page.%d}" % pageno + s = "\\pdfoutline goto name{page.%dx}" % pageno if toc: s = "%s count -%d" % (s, len(toc)) if snum: |