[NTG-context] Mkiv and braces
Aditya Mahajan
adityam at umich.edu
Fri May 16 01:42:24 CEST 2008
On Wed, 14 May 2008, Hans Hagen wrote:
> Aditya Mahajan wrote:
>> Hi,
>>
>> I am using ConTeXt ver: 2008.05.13, and in mkiv braces seem to gobble the
>> next digit. They work fine with mkii.
>>
>> Minimal example
>>
>> \starttext
>> The digits $\{0,1,2,3,4\}0,1,2,3,4$
>> The letters $\{a,b,c,d\}a,b,c,d$
>> \stoptext
>
> add spaces ...
>
> function mathematics.mathchar(class,family,slot)
> return ("\\omathchar\"%X%02X%04X "):format(class,family,slot)
> end
> function mathematics.mathaccent(class,family,slot)
> return ("\\omathaccent\"%X%02X%04X "):format(class,family,slot)
> end
> function mathematics.delimiter(class,family,slot,largefamily,largeslot)
> return ("\\odelimiter\"%X%02X%04X\"%02X%04X
> "):format(class,family,slot,largefamily,largeslot)
> end
Thanks. Works perfectly.
Aditya
More information about the ntg-context
mailing list