[Python-checkins] r62530 - doctools/trunk/sphinx/texinputs/sphinx.sty

georg.brandl python-checkins at python.org
Sun Apr 27 19:35:02 CEST 2008


Author: georg.brandl
Date: Sun Apr 27 19:35:02 2008
New Revision: 62530

Log:
Make description environment usable in desc environment.


Modified:
   doctools/trunk/sphinx/texinputs/sphinx.sty

Modified: doctools/trunk/sphinx/texinputs/sphinx.sty
==============================================================================
--- doctools/trunk/sphinx/texinputs/sphinx.sty	(original)
+++ doctools/trunk/sphinx/texinputs/sphinx.sty	Sun Apr 27 19:35:02 2008
@@ -1012,6 +1012,13 @@
   }
 }
 
+% Redefine description environment so that it is usable inside fulllineitems.
+%
+\renewcommand{\description}{%
+  \list{}{\labelwidth\z@%
+          \itemindent-\leftmargin%
+	  \labelsep5pt%
+          \let\makelabel=\descriptionlabel}}
 
 % Definition lists; requested by AMK for HOWTO documents.  Probably useful
 % elsewhere as well, so keep in in the general style support.


More information about the Python-checkins mailing list