summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/toc2bkm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/toc2bkm.py b/Doc/tools/toc2bkm.py
index 0d22fb1..ed78f36 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.%dx}" % pageno
+ s = "\\pdfoutline goto name{page%03d}" % pageno
if toc:
s = "%s count -%d" % (s, len(toc))
if snum: