[NTG-context] mathcommand / mfunction now italic

2013-01-24 Thread Andreas Mang
Hi,

did something change in consideration of mathcommand/mfunction? I get italic 
operators instead of the usual (I suppose) upright typesetting.

Thanks!

Cheers
Andreas

 minimal example 

\definemathcommand[diag][nolop]{\mfunction{diag}}

\starttext
$\diag(1,\ldots,1)$ % diag is italic, but should be upright
\stoptext

 minimal example 

ConTeXt  ver: 2013.01.24 10:07 MKIV  fmt: 2013.1.24
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mathcommand / mfunction now italic

2013-01-24 Thread Hans Hagen

On 1/24/2013 2:33 PM, Andreas Mang wrote:

Hi,

did something change in consideration of mathcommand/mfunction? I get italic 
operators instead of the usual (I suppose) upright typesetting.


When working on a a chapter in an upcoming font manual I found out that 
\mr (regular) was not consistent with \mb so I changed that. As a 
consequence \en should use \mathupright instead of \mr to assure upright 
because it makes sense to let \mr and \mr reset the state to math italic 
symbols.


It's fixed in the next beta.

Btw, \mb has been around for a while but I made it a bit more robust. 
When no real [complete] bold font is present (and there are not many) a 
fallback mechanism kicked in but I found out that we also have 
incomplete bold fonts so I've an extra fallback mechanisms for that.


So, we have several axis: regular and bold as well as l2r and r2l as 
well as styles. Only XITS has a bit of all.


Hans

Ps. There are some more (new) things but that's for later.

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___