[NTG-context] We have a problem --- Old file no longer compiles

Aditya Mahajan adityam at umich.edu
Thu Jul 5 00:35:07 CEST 2007


On Wed, 4 Jul 2007, Aditya Mahajan wrote:

> On Wed, 4 Jul 2007, David Arnold wrote:
>
>> Here is another example, this time not within a block, but within an
>> enumeration again:
>
> The newmat module seems to be the culprit. After loading newmat add
>
> \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}}
>
> and it should work fine. I do not really understand why this is
> failing.

Ok. The third argument of \genfrac should be {} and not \empty, 
otherwise \ifx @#3@ in \genfrac evaluates to false. So, either we need 
to change \ifx @#3@ to something more robust, or revert back to older 
definitions of (d|t)frac.

Aditya



More information about the ntg-context mailing list