[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232850: tetex-src: mdwtab.dtx doesn't compile



Package: tetex-src
Version: 1.0.2+20011202-1
Severity: normal
Tags: patch

mdwtab.dtx uses in its documentation part the macro pairs \<,\>, \[,\] and
\(,\) as synonyms for the `rep' and `stack' environments of syntax.sty. But
these macros -- which seem to have been part of an earlier version of
mdwtools.tex -- are not defined anymore or got conflicting definitions.

In the patch, the shortcut macros are replaced with the corresponding
environments. I have compared the resulting DVI file with tetex.doc's
mdwtab.dvi.gz to make sure that the syntax diagrams stayed the same.

This was a pure documentation bug: mdwtab.sty has not changed.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux daedalus 2.2.20 #1 Sat Apr 20 11:45:28 EST 2002 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro


--- /usr/share/texmf/source/latex/mdwtools/mdwtab.dtx	Mon Jun  8 21:01:00 1998
+++ mdwtab.dtx	Sun Feb 15 12:30:16 2004
@@ -281,24 +281,24 @@
 %     "{tabular}" \\ "{tabular*}" "{" <length> "}" \\
 %     "{array}" \\ "{smarray}"
 %   \end{stack}
-%   \[ "[" <position-arg> "]" \]
+%   \begin{stack}\\ "[" <position-arg> "]" \end{stack}
 %   "{" <preamble> "}" <text>
 %   "\\end"
-%   \( "{tabular}" \\ "{tabular*}" \\ "{array}" \\ "{smarray}" \)
+%   \begin{stack} "{tabular}" \\ "{tabular*}" \\ "{array}" \\ "{smarray}" \end{stack}
 % \]]
 %
 % <position-arg> ::= (see below)
 %
 % <preamble>	::= \[[
 %   <first-column>
-%   \[ \< <column> \> \]
+%   \begin{stack}\\ \begin{rep} <column> \end{rep} \end{stack}
 % \]]
 %
-% <first-column> ::= \[[ \[ <rule> \] <column> \]]
+% <first-column> ::= \[[ \begin{stack}\\ <rule> \end{stack} <column> \]]
 %
 % <column>	::= \[[
-%   \[ <spacing> \] \[ \< <user-pre-text> \> \] <column-type>
-%   \[ \< <user-post-text> \> \] \[ <spacing> \] \[ <rule> \]
+%   \begin{stack}\\ <spacing> \end{stack} \begin{stack}\\ \begin{rep} <user-pre-text> \end{rep} \end{stack} <column-type>
+%   \begin{stack}\\ \begin{rep} <user-post-text> \end{rep} \end{stack} \begin{stack}\\ <spacing> \end{stack} \begin{stack}\\ <rule> \end{stack}
 % \]]
 %
 % <spacing>	::= \[[ "@" "{" <text> "}" \]]
@@ -307,15 +307,15 @@
 %
 % <column-type>	::= \[[
 %   \begin{stack}
-%     \[ "T" \\ "M" \] \( "l" \\ "c" \\ "r" \) \\
-%     \( "p" \\ "m" \\ "b" \) "{" <length> "}" \\
+%     \begin{stack}\\ "T" \\ "M" \end{stack} \begin{stack} "l" \\ "c" \\ "r" \end{stack} \\
+%     \begin{stack} "p" \\ "m" \\ "b" \end{stack} "{" <length> "}" \\
 %     "#" "{" <raw-pre-text> "}" "{" <raw-post-text> "}"
 %   \end{stack}
 % \]]
 %
 % <user-post-text> ::= \[[ "<" "{" <text> "}" \]]
 %
-% <rule>	::= \[[ \( "|" \\ "!" "{" <text> "}" \) \]]
+% <rule>        ::= \[[ \begin{stack} "|" \\ "!" "{" <text> "}" \end{stack} \]]
 %
 % \end{grammar}
 %
@@ -444,7 +444,7 @@
 %
 % \begin{grammar}
 % <cline-cmd>	::= \[[
-%   "\\cline" "{" \< <number> \[ "-" <number> \] \\ "," \> "}"
+%   "\\cline" "{" \begin{rep} <number> \begin{stack}\\ "-" <number> \end{stack} \\ "," \end{rep} "}"
 % \]]
 % \end{grammar}
 %
@@ -478,10 +478,10 @@
 % \begin{grammar}
 %
 % <vgap-cmd>	::= \[[
-%   "\\vgap" \[ "[" <which-cols> "]" \] "{" <length> "}"
+%   "\\vgap" \begin{stack}\\ "[" <which-cols> "]" \end{stack} "{" <length> "}"
 % \]]
 %
-% <which-cols>	::= \[[ \< <number> \[ "-" <number> \] \\ "," \> \]]
+% <which-cols>  ::= \[[ \begin{rep} <number> \begin{stack}\\ "-" <number> \end{stack} \\ "," \end{rep} \]]
 %
 % \end{grammar}
 %
@@ -725,9 +725,9 @@
 % <new-col-type-cmd> ::= \[[
 %   "\\newcolumntype"
 %   "{" <column-name> "}"
-%   \[ "[" <num-args> "]" \]
-%   \[ "[" <default-arg> "]" \]
-%   "{" <first-column> \[ \< <column> \> \] "}"
+%   \begin{stack}\\ "[" <num-args> "]" \end{stack}
+%   \begin{stack}\\ "[" <default-arg> "]" \end{stack}
+%   "{" <first-column> \begin{stack}\\ \begin{rep} <column> \end{rep} \end{stack} "}"
 % \]]
 %
 % \end{grammar}
@@ -794,7 +794,7 @@
 % \begin{grammar}
 % <coldef-cmd>	::= \[[
 %   "\\coldef"
-%     \[ "[" <set-name> "]" \]
+%     \begin{stack}\\ "[" <set-name> "]" \end{stack}
 %     <col-name> <arg-template> "{" <replacement-text> "}"
 % \]]
 % \end{grammar}
@@ -853,7 +853,7 @@
 % \begin{grammar}
 %
 % <collet-cmd>	::= \[[
-%   \[ "[" <set-name> "]" \] <col-name> \[ "=" \] \[ "[" <set-name> "]" \]
+%   \begin{stack}\\ "[" <set-name> "]" \end{stack} <col-name> \begin{stack}\\ "=" \end{stack} \begin{stack}\\ "[" <set-name> "]" \end{stack}
 %   <col-name>
 % \]]
 %
@@ -999,23 +999,23 @@
 % \begin{grammar}
 %
 % <eqnarray-env> ::= \[[
-%   <begin-eqnarray> \< <row> \\ "\\\\" \> <end-eqnarray>
+%   <begin-eqnarray> \begin{rep} <row> \\ "\\\\" \end{rep} <end-eqnarray>
 % \]]
 %
 % <begin-eqnarray> ::= \[[
-%   "\\begin" \( "{eqnarray}" \\ "{eqnarray*}" \)
-%   \[ "[" \< <eqa-column> \> "]" \]
+%   "\\begin" \begin{stack} "{eqnarray}" \\ "{eqnarray*}" \end{stack}
+%   \begin{stack}\\ "[" \begin{rep} <eqa-column> \end{rep} "]" \end{stack}
 % \]]
 %
 % <eqa-column>	::= \[[
-%   \[ "q" \\ ":" \]
-%   \[ \< ">" "{" <pre-text> "}" \> \]
+%   \begin{stack}\\ "q" \\ ":" \end{stack}
+%   \begin{stack}\\ \begin{rep} ">" "{" <pre-text> "}" \end{rep} \end{stack}
 %   \begin{stack}
-%     \[ "T" \] \( "r" \\ "c" \\ "l" \) \\
+%     \begin{stack}\\ "T" \end{stack} \begin{stack} "r" \\ "c" \\ "l" \end{stack} \\
 %     "L" \\
 %     "x"
 %   \end{stack}
-%   \[ \< "<" "{" <post-text> "}" \> \]
+%   \begin{stack}\\ \begin{rep} "<" "{" <post-text> "}" \end{rep} \end{stack}
 % \]]
 %
 % <end-eqnarray> ::= \[[
@@ -1185,8 +1185,8 @@
 %
 % <begin-eqnalign> ::= \[[
 %   "\\begin" "{eqnalign}"
-%   \[ "[" \< <eqa-column> \> "]" \]
-%   \[ "[" \( "t" \\ "c" \\ "b" \) "]" \]
+%   \begin{stack}\\ "[" \begin{rep} <eqa-column> \end{rep} "]" \end{stack}
+%   \begin{stack}\\ "[" \begin{stack} "t" \\ "c" \\ "b" \end{stack} "]" \end{stack}
 % \]]
 %
 % <end-eqnalign> ::= \[[ "\\end" "{eqnalign}" \]]
@@ -1400,10 +1400,10 @@
 %
 % <matrix-env>	::= \[[ <begin-matrix> <contents> <end-matrix> \]]
 %
-% <begin-matrix> ::= \[[ "\\begin{matrix}" \[ "[" <matrix-cols> "]" \] \]]
+% <begin-matrix> ::= \[[ "\\begin{matrix}" \begin{stack}\\ "[" <matrix-cols> "]" \end{stack} \]]
 %
 % <matrix-cols>	::= \[[
-%   \< \[ "[" \] \[ "T" \] \( "l" \\ "c" \\ "r" \) \>
+%   \begin{rep} \begin{stack}\\ "[" \end{stack} \begin{stack}\\ "T" \end{stack} \begin{stack} "l" \\ "c" \\ "r" \end{stack} \end{rep}
 % \]]
 %
 % <end-matrix>	::= \[[ "\\end{stack}" \]]




Reply to: