This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Index entries with "_" are wrong in pdf file
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: docwatson, jepler, nnorwitz
Priority: normal Keywords:

Created on 2004-08-09 12:41 by jepler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg22027 - (view) Author: Jeff Epler (jepler) Date: 2004-08-09 12:41
"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@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.
msg22028 - (view) Author: Jeff Epler (jepler) Date: 2004-08-09 12:45
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
msg22029 - (view) Author: Dave Watson (docwatson) Date: 2004-08-14 23:58
Logged In: YES 
user_id=1094771

a patch has been submitted for this bug (#1009373)
msg22030 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2004-08-21 15:14
Logged In: YES 
user_id=33168

Checked in patch as:
 * Doc/texinputs/python.sty 1.110
 * Misc/NEWS 1.1108
History
Date User Action Args
2022-04-11 14:56:06adminsetgithub: 40728
2004-08-09 12:41:29jeplercreate