summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-21 15:53:54 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-21 15:53:54 (GMT)
commit2964268db5436f34dca6d0689620e476d519cb09 (patch)
tree643b4343da731fba06835d5f16717872baededca
parentd34580cb878efadc2e6a33df3de7b6d9828e67b0 (diff)
downloadcpython-2964268db5436f34dca6d0689620e476d519cb09.zip
cpython-2964268db5436f34dca6d0689620e476d519cb09.tar.gz
cpython-2964268db5436f34dca6d0689620e476d519cb09.tar.bz2
Allow the LaTeX markup descriptions to use the \moreargs and \unspecified
macros in the argument list position.
-rw-r--r--Doc/texinputs/ltxmarkup.sty6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/texinputs/ltxmarkup.sty b/Doc/texinputs/ltxmarkup.sty
index 4b769be..d461d70 100644
--- a/Doc/texinputs/ltxmarkup.sty
+++ b/Doc/texinputs/ltxmarkup.sty
@@ -17,7 +17,9 @@
\item[\code{\e begin\{{\bfseries #1}\}{%
\let\op=\py@ltx@optparam%
\let\p=\py@ltx@param%
- #2}}]
+ \let\unspecified=\py@unspecified%
+ \let\moreargs=\py@moreargs%
+ #2}}]
\item[\code{\e end\{{\bfseries #1}\}}]
\index{#1 environment@\idxcode{#1} environment}
\index{environments!#1@\idxcode{#1}}
@@ -28,6 +30,8 @@
\item[\code{{\e\bfseries#1}{%
\let\op=\py@ltx@optparam%
\let\p=\py@ltx@param%
+ \let\unspecified=\py@unspecified%
+ \let\moreargs=\py@moreargs%
#2}}]
\index{#1@\idxcode{\e #1}}
}{\end{fulllineitems}}