ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in treatment of spaces in mathmode mkiv
@ 2009-06-04 16:44 Otared Kavian
  2009-06-04 20:18 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2009-06-04 16:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Sorry for reposting this message sent this morning: I thought it  
didn't go through…

Hi Hans,

I noticed that in math mode the spacement of some symbols are  
incorrect while using mkiv (they are correct in mkii).
Here is an example

%%%%% begin example

\starttext
Set $a := bc^{-1}$.
\stoptext

%%%%% end example

In this example, there should be a space before and after ":=" as one  
may see it readily in mkii (and indeed in plain TeX…).

Best regards: OK
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Bug in treatment of spaces in mathmode mkiv
  2009-06-04 16:44 Bug in treatment of spaces in mathmode mkiv Otared Kavian
@ 2009-06-04 20:18 ` Hans Hagen
  2009-06-04 21:51   ` Otared Kavian
  2009-06-05  3:07   ` Aditya Mahajan
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2009-06-04 20:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Aditya Mahajan

Otared Kavian wrote:

> %%%%% begin example
> 
> \starttext
> Set $a := bc^{-1}$.
> \stoptext
> 
> %%%%% end example
> 
> In this example, there should be a space before and after ":=" as one 
> may see it readily in mkii (and indeed in plain TeX…).

in char-def.lua both colon and equal should be 'relation'

note for aditya: we need to check more of them (more colons)

-----------------------------------------------------------------
                                           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] 5+ messages in thread

* Re: Bug in treatment of spaces in mathmode mkiv
  2009-06-04 20:18 ` Hans Hagen
@ 2009-06-04 21:51   ` Otared Kavian
  2009-06-05  3:07   ` Aditya Mahajan
  1 sibling, 0 replies; 5+ messages in thread
From: Otared Kavian @ 2009-06-04 21:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users



On 4 juin 09, at 22:18, Hans Hagen wrote:

> Otared Kavian wrote:
>
>> %%%%% begin example
>> \starttext
>> Set $a := bc^{-1}$.
>> \stoptext
>> %%%%% end example
>> In this example, there should be a space before and after ":=" as  
>> one may see it readily in mkii (and indeed in plain TeX…).
>
> in char-def.lua both colon and equal should be 'relation'

Thanks Hans: it is fixed now with the latest beta mkiv.

> note for aditya: we need to check more of them (more colons)


Do you mean other instances of colons used in math mode?
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Bug in treatment of spaces in mathmode mkiv
  2009-06-04 20:18 ` Hans Hagen
  2009-06-04 21:51   ` Otared Kavian
@ 2009-06-05  3:07   ` Aditya Mahajan
  2009-06-05  8:37     ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2009-06-05  3:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 710 bytes --]

On Thu, 4 Jun 2009, Hans Hagen wrote:

> Otared Kavian wrote:
>
>> %%%%% begin example
>> 
>> \starttext
>> Set $a := bc^{-1}$.
>> \stoptext
>> 
>> %%%%% end example
>> 
>> In this example, there should be a space before and after ":=" as one may 
>> see it readily in mkii (and indeed in plain TeX…).
>
> in char-def.lua both colon and equal should be 'relation'
>
> note for aditya: we need to check more of them (more colons)

colon needs a bit more care. The literal : should be a mathrel, while 
\colon should be a punctuation. I do not know how to set this using 
mathspec.

equal in the current char-def is wrong. The mathclass should be relation 
(rather than binary).

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Bug in treatment of spaces in mathmode mkiv
  2009-06-05  3:07   ` Aditya Mahajan
@ 2009-06-05  8:37     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2009-06-05  8:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:

> colon needs a bit more care. The literal : should be a mathrel, while 
> \colon should be a punctuation. I do not know how to set this using 
> mathspec.

hm, we had two mathname=colon's, so i removed the 0x003A


-----------------------------------------------------------------
                                           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] 5+ messages in thread

end of thread, other threads:[~2009-06-05  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04 16:44 Bug in treatment of spaces in mathmode mkiv Otared Kavian
2009-06-04 20:18 ` Hans Hagen
2009-06-04 21:51   ` Otared Kavian
2009-06-05  3:07   ` Aditya Mahajan
2009-06-05  8:37     ` Hans Hagen

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).