summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-20 17:42:17 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-20 17:42:17 (GMT)
commit3bf7865a20266cfdc16bb311e181177a5e7d87d6 (patch)
tree3d81a709db6fba6a1750901761a63540d79549e2 /Doc
parent6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5 (diff)
downloadcpython-3bf7865a20266cfdc16bb311e181177a5e7d87d6.zip
cpython-3bf7865a20266cfdc16bb311e181177a5e7d87d6.tar.gz
cpython-3bf7865a20266cfdc16bb311e181177a5e7d87d6.tar.bz2
Added {definitions} environment, which has \term to define indivual terms.
Similar to {description}.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/python.sty11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index d28dd4c..bfbffbe 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}