Allow the LaTeX markup descriptions to use the \moreargs and \unspecified

macros in the argument list position.
This commit is contained in:
Fred Drake 2000-09-21 15:53:54 +00:00
parent d34580cb87
commit 2964268db5

View file

@ -17,7 +17,9 @@
\item[\code{\e begin\{{\bfseries #1}\}{% \item[\code{\e begin\{{\bfseries #1}\}{%
\let\op=\py@ltx@optparam% \let\op=\py@ltx@optparam%
\let\p=\py@ltx@param% \let\p=\py@ltx@param%
#2}}] \let\unspecified=\py@unspecified%
\let\moreargs=\py@moreargs%
#2}}]
\item[\code{\e end\{{\bfseries #1}\}}] \item[\code{\e end\{{\bfseries #1}\}}]
\index{#1 environment@\idxcode{#1} environment} \index{#1 environment@\idxcode{#1} environment}
\index{environments!#1@\idxcode{#1}} \index{environments!#1@\idxcode{#1}}
@ -28,6 +30,8 @@
\item[\code{{\e\bfseries#1}{% \item[\code{{\e\bfseries#1}{%
\let\op=\py@ltx@optparam% \let\op=\py@ltx@optparam%
\let\p=\py@ltx@param% \let\p=\py@ltx@param%
\let\unspecified=\py@unspecified%
\let\moreargs=\py@moreargs%
#2}}] #2}}]
\index{#1@\idxcode{\e #1}} \index{#1@\idxcode{\e #1}}
}{\end{fulllineitems}} }{\end{fulllineitems}}