Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2964268

Browse files
committed
Allow the LaTeX markup descriptions to use the \moreargs and \unspecified
macros in the argument list position.
1 parent d34580c commit 2964268

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/texinputs/ltxmarkup.sty

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
\item[\code{\e begin\{{\bfseries #1}\}{%
1818
\let\op=\py@ltx@optparam%
1919
\let\p=\py@ltx@param%
20-
#2}}]
20+
\let\unspecified=\py@unspecified%
21+
\let\moreargs=\py@moreargs%
22+
#2}}]
2123
\item[\code{\e end\{{\bfseries #1}\}}]
2224
\index{#1 environment@\idxcode{#1} environment}
2325
\index{environments!#1@\idxcode{#1}}
@@ -28,6 +30,8 @@
2830
\item[\code{{\e\bfseries#1}{%
2931
\let\op=\py@ltx@optparam%
3032
\let\p=\py@ltx@param%
33+
\let\unspecified=\py@unspecified%
34+
\let\moreargs=\py@moreargs%
3135
#2}}]
3236
\index{#1@\idxcode{\e #1}}
3337
}{\end{fulllineitems}}

0 commit comments

Comments
 (0)