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.
This commit is contained in:
Neal Norwitz 2004-08-21 15:13:52 +00:00
parent 6abc685a03
commit 5268c3955a
2 changed files with 7 additions and 3 deletions

View file

@ -72,6 +72,7 @@
\py@OldContentsline{#1}{\py@linkToName{page\my@pageno}{#2}}{#3}%
}
\AtEndDocument{
\def\_{\string_}
\InputIfFileExists{\jobname.bkm}{\pdfcatalog{/PageMode /UseOutlines}}{}
}
\newcommand{\py@target}[1]{%

View file

@ -140,9 +140,12 @@ C API
Documentation
-------------
- 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.
- patch #1005936, bug #1009373: fix index entries which contain
an underscore when viewed with Acrobat.
- 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
-------------