From: Fred Drake Date: Wed, 20 May 1998 17:42:17 +0000 (+0000) Subject: Added {definitions} environment, which has \term to define indivual terms. X-Git-Tag: v1.5.2a1~577 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bf7865a20266cfdc16bb311e181177a5e7d87d6;p=python Added {definitions} environment, which has \term to define indivual terms. Similar to {description}. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index d28dd4c929..bfbffbef92 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -710,5 +710,16 @@ } } + +% Definition lists; requested by AMK for HOWTO documents. Probably useful +% elsewhere as well, so keep in in the general style support. +% +\newenvironment{definitions}{% + \begin{description}% + \def\term##1{\item[##1]\itembreak} +}{% + \end{description}% +} + % Tell TeX about pathological hyphenation cases: \hyphenation{Base-HTTP-Re-quest-Hand-ler}