ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathcommand / mfunction now italic
@ 2013-01-24 13:33 Andreas Mang
  2013-01-24 16:00 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mang @ 2013-01-24 13:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: mathcommand / mfunction now italic
  2013-01-24 13:33 mathcommand / mfunction now italic Andreas Mang
@ 2013-01-24 16:00 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2013-01-24 16:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-01-24 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-24 13:33 mathcommand / mfunction now italic Andreas Mang
2013-01-24 16:00 ` 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).