summaryrefslogtreecommitdiffstats
path: root/Doc/myformat.sty
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-10-29 15:55:08 (GMT)
committerFred Drake <fdrake@acm.org>1996-10-29 15:55:08 (GMT)
commiteb33c781f3c6c2548ab0951fcac0ea68cd54b675 (patch)
tree1607bd7138e36ef731c7edbb82396e062f296826 /Doc/myformat.sty
parentfd255e433f3d27963cfe2766595964a5e20c2169 (diff)
downloadcpython-eb33c781f3c6c2548ab0951fcac0ea68cd54b675.zip
cpython-eb33c781f3c6c2548ab0951fcac0ea68cd54b675.tar.gz
cpython-eb33c781f3c6c2548ab0951fcac0ea68cd54b675.tar.bz2
(myformat.sty, extref.tex): Moved definition of cfuncdesc environment to
myformat.sty; having it in extref.tex confuses LaTeX2HTML.
Diffstat (limited to 'Doc/myformat.sty')
-rw-r--r--Doc/myformat.sty5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty
index 1abdcbe..431cfc1 100644
--- a/Doc/myformat.sty
+++ b/Doc/myformat.sty
@@ -114,6 +114,11 @@
\let\endfulllineitems\endlist
+% cfuncdesc should be called as an \begin{cfuncdesc} ... \end{cfuncdesc}
+\newcommand{\cfuncline}[3]{\item[\code{#1 #2(\varvars{#3})}]\ttindex{#2}}
+\newcommand{\cfuncdesc}[3]{\fulllineitems\cfuncline{#1}{#2}{#3}}
+\let\endcfuncdesc\endfulllineitems
+
% funcdesc should be called as an \begin{funcdesc} ... \end{funcdesc}
\newcommand{\funcline}[2]{\item[\code{#1(\varvars{#2})}]\ttindex{#1}}
\newcommand{\funcdesc}[2]{\fulllineitems\funcline{#1}{#2}}