Commit 9785a3a8 authored by Neal Norwitz's avatar Neal Norwitz

sf #1009373, #1005936. fix underscores in index entries in PDF files.

I couldn't test this, but it didn't break anything and the patch
reported fixed the problem.

Bugfix candidate.
parent 9644b8b1
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
\py@OldContentsline{#1}{\py@linkToName{page\my@pageno}{#2}}{#3}% \py@OldContentsline{#1}{\py@linkToName{page\my@pageno}{#2}}{#3}%
} }
\AtEndDocument{ \AtEndDocument{
\def\_{\string_}
\InputIfFileExists{\jobname.bkm}{\pdfcatalog{/PageMode /UseOutlines}}{} \InputIfFileExists{\jobname.bkm}{\pdfcatalog{/PageMode /UseOutlines}}{}
} }
\newcommand{\py@target}[1]{% \newcommand{\py@target}[1]{%
......
...@@ -140,9 +140,12 @@ C API ...@@ -140,9 +140,12 @@ C API
Documentation Documentation
------------- -------------
- bug #990669: os.path.normpath may alter the meaning of a path if it contains - patch #1005936, bug #1009373: fix index entries which contain
symbolic links. This has been documented in a comment since 1992, but is now in an underscore when viewed with Acrobat.
the library reference as well.
- bug #990669: os.path.normpath may alter the meaning of a path if
it contains symbolic links. This has been documented in a comment
since 1992, but is now in the library reference as well.
New platforms New platforms
------------- -------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment