Hi Brooks,
Then, a couple of lines after that, there's the second definition for
\frac, which is the one that needed patching. This one, unlike the
first definition, is wrapped in \mathematics so that it can work outside
math mode.
So I'm wondering why only \frac has this second definition that
Hi Brooks
The following simple file works fine if I comment out the
\usemodule[newmat] line, but crashes if I put it in.
\usemodule[newmat]
\starttext
\placeformula
\startformula
\eqalign{\frac{1}{2} \cr}
\stopformula
\stoptext
ah ... the alignment lookahead problem, i think we
At 01:40 PM 8/2/2004, you wrote:
ah ... the alignment lookahead problem, i think we can safely patch
\mathematics to catch lookahead as well as make frac more robust for
unwanted expansion
\usemodule[newmat]
\unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}}
Brooks Moses wrote:
At 01:40 PM 8/2/2004, you wrote:
ah ... the alignment lookahead problem, i think we can safely patch
\mathematics to catch lookahead as well as make frac more robust for
unwanted expansion
\usemodule[newmat]
On Wed, Aug 04, 2004 at 12:14:29AM +0200, Hans Hagen Outside wrote:
Brooks Moses wrote:
That fixes the problem on my end; thanks!
Will you be updating the defintions of \tfrac, \dfrac, and so forth in
m-newmat to match? I admit to not being too sure whether I think it's
a good idea
The following simple file works fine if I comment out the
\usemodule[newmat] line, but crashes if I put it in.
\usemodule[newmat]
\starttext
\placeformula
\startformula
\eqalign{\frac{1}{2} \cr}
\stopformula
\stoptext
- Brooks
___