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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________