[NTG-context] Problem with '\ ' in math commands in current minimals

Hans Hagen pragma at wxs.nl
Tue Jun 10 10:17:58 CEST 2008


Aditya Mahajan wrote:
> On Tue, 10 Jun 2008, Morgan Brassel wrote:
> 
>> Hi everyone,
>>
>> In the following example:
>>
>> \define[1]\com{com\ #1}
>> \starttext
>> \com{1} $\com{1}$
>> \stoptext
>>
>> the second call to \com (the one in math mode) seems to stop the
>> compilation of the file. Is it a bug? It wasn't happening before. I'm
>> using the latest minimals.
> 
> Definitely a bug: the trace shows a recursive definition. \ is defined in 
> terms of itself. Looking at core-spa.tex I cannot understand why this is 
> happening.

hm, i'll look into it; i changed some things in the process of writing 
the mkiv mathml(3) interpreter.

\ is a primitive in tex but with some properties that may not always be 
optimal

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list