ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mkiv and braces
@ 2008-05-14 15:50 Aditya Mahajan
  2008-05-14 18:42 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2008-05-14 15:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Mkiv and braces
  2008-05-14 15:50 Mkiv and braces Aditya Mahajan
@ 2008-05-14 18:42 ` Hans Hagen
  2008-05-15 23:42   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-05-14 18:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Mkiv and braces
  2008-05-14 18:42 ` Hans Hagen
@ 2008-05-15 23:42   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2008-05-15 23:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-15 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-14 15:50 Mkiv and braces Aditya Mahajan
2008-05-14 18:42 ` Hans Hagen
2008-05-15 23:42   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).