[ python-Bugs-1005936 ] Index entries with "_" are wrong in pdf file
SourceForge.net
noreply at sourceforge.net
Sat Aug 21 17:14:49 CEST 2004
Bugs item #1005936, was opened at 2004-08-09 08:41
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005936&group_id=5470
Category: Documentation
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeff Epler (jepler)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Index entries with "_" are wrong in pdf file
Initial Comment:
"make pdf". Open lib.pdf in acrobat reader, or another
pdf viewer with the "bookmarks" feature. Open the
"Python Language Services" item. Section 18.8 (in CVS)
will read "pyprotect unhbox voidb at x kern 0.6emvbox
{hrule width.55em}compile --- Compile Python source files"
It should read simply "py_compile --- Compile Python
source files"---If you visit that section, that's the
title shown.
I only know enough LaTeX to get myself hurt, but it
looks like "_" was converted into a special sequence,
and the step that produces the index used the expanded
version.
It's a fix that would feel icky, but if this sequence
"protect ....55em}" was the same everywhere, simply
replacing that string with "_" when generating the
index would probably get the right results.
I first noticed this problem in dist.pdf where many of
the module names contained underscores.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2004-08-21 11:14
Message:
Logged In: YES
user_id=33168
Checked in patch as:
* Doc/texinputs/python.sty 1.110
* Misc/NEWS 1.1108
----------------------------------------------------------------------
Comment By: Dave Watson (docwatson)
Date: 2004-08-14 19:58
Message:
Logged In: YES
user_id=1094771
a patch has been submitted for this bug (#1009373)
----------------------------------------------------------------------
Comment By: Jeff Epler (jepler)
Date: 2004-08-09 08:45
Message:
Logged In: YES
user_id=2772
This also affects older versions of the documentation, for
instance the entries for __builtin__, __main__ and
__future__ in Python-letter-2.3.4.zip
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005936&group_id=5470
More information about the Python-bugs-list
mailing list