[Python-checkins] r64711 - in doctools/branches/0.4.x: CHANGES sphinx/texinputs/sphinx.sty

georg.brandl python-checkins at python.org
Fri Jul 4 20:37:44 CEST 2008


Author: georg.brandl
Date: Fri Jul  4 20:37:43 2008
New Revision: 64711

Log:
Fix latex code for module names with underscores that have platforms.


Modified:
   doctools/branches/0.4.x/CHANGES
   doctools/branches/0.4.x/sphinx/texinputs/sphinx.sty

Modified: doctools/branches/0.4.x/CHANGES
==============================================================================
--- doctools/branches/0.4.x/CHANGES	(original)
+++ doctools/branches/0.4.x/CHANGES	Fri Jul  4 20:37:43 2008
@@ -16,6 +16,8 @@
 
 * Copy the HTML logo to the output "_static" directory.
 
+* Fix LaTeX code for modules with underscores in names and platforms.
+
 
 Release 0.4 (Jun 23, 2008)
 ==========================

Modified: doctools/branches/0.4.x/sphinx/texinputs/sphinx.sty
==============================================================================
--- doctools/branches/0.4.x/sphinx/texinputs/sphinx.sty	(original)
+++ doctools/branches/0.4.x/sphinx/texinputs/sphinx.sty	Fri Jul  4 20:37:43 2008
@@ -261,7 +261,7 @@
     \@ifundefined{py at modplat@\py at thismodulekey}{
       \write\modindexfile{\protect\indexentry{#1@{\texttt{#1}}|hyperpage}{\thepage}}%
     }{\write\modindexfile{\protect\indexentry{#1@{\texttt{#1 }%
-        \emph{(\platformof{#1})}}|hyperpage}{\thepage}}%
+        \emph{(\platformof{\py at thismodulekey})}}|hyperpage}{\thepage}}%
     }
   \fi%
 }


More information about the Python-checkins mailing list