I think there is a solution that would let Dekel read his old docs while
enforcing nested braces (thanks to Andreas Matthias <[EMAIL PROTECTED]>
in de.comp.text.tex):


\newif\ifcomment
\commentfalse
\ifcomment
        \def\makeamptab{\catcode`\&=4\relax}
        \def\makeampletter{\catcode`\&=11\relax}
  \def\b{\makeampletter\expandafter\makeamptab\bhelper}
  \def\bhelper#1\e{}
  \long\def\bi#1\e{}
\else
  \def\b{}
  \def\e{}
\fi

...

\[\begin{array}{ccc}
 1 & 2\b & 3\\
 4 & 5\e & 6\\
 7 & 8 & 9
\end{array}\]


If one puts the definition of \b and \e in the preamble, the math parser
reads \b and \e as "unknown makros without arguments", puts non-intrusive
'b' and 'e' in red there _and_ everything is rendered "correctly"...

This would mean I could insist on properly nested braces in a cell.
Is that acceptable to everone?

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to