[ python-Bugs-1005936 ] Index entries with "_" are wrong in pdf file

SourceForge.net noreply at sourceforge.net
Mon Aug 9 14:45:28 CEST 2004


Bugs item #1005936, was opened at 2004-08-09 07:41
Message generated for change (Comment added) made by jepler
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: Open
Resolution: None
Priority: 5
Submitted By: Jeff Epler (jepler)
Assigned to: Nobody/Anonymous (nobody)
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: Jeff Epler (jepler)
Date: 2004-08-09 07: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