Allow the LaTeX markup descriptions to use the \moreargs and \unspecified
authorFred Drake <fdrake@acm.org>
Thu, 21 Sep 2000 15:53:54 +0000 (15:53 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 21 Sep 2000 15:53:54 +0000 (15:53 +0000)
macros in the argument list position.

Doc/texinputs/ltxmarkup.sty

index 4b769be237e85b1facea174970c2d489b7be799e..d461d701b395b66297a379bcaf7d66df472b036e 100644 (file)
@@ -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}}