[NTG-context] Wrong upright Greek instead of Italic

Aditya Mahajan adityam at umich.edu
Thu Jul 15 07:08:41 CEST 2010

On Wed, Jul 14, 2010 at 5:42 PM, Aditya Mahajan <adityam at umich.edu> wrote:

> On Thu, 15 Jul 2010, Khaled Hosny wrote:
>  On Wed, Jul 14, 2010 at 05:16:14PM -0400, Aditya Mahajan wrote:
>>> On Wed, 14 Jul 2010, Khaled Hosny wrote:
>>> >This gives me upright Greek, but I was expecting italic:
>>> >
>>> >\setupbodyfont[xits]
>>> >\starttext
>>> >
>>> >\stoptext
>>> What happens if you key in the actual unicode values (sorry no
>>> ConTeXt right now)?
>> I get the correct style as typed.
>  Then this is a bug in the mappings (and I assume that Cambria also does
> not work). I will test later.

Currently, \mathit does not set the attributes for greek. The italic
attributes for greek are set by \mathgreekitalic and \mathgreekupright (but
see below).
\mathit can also set \mathgreekitalic. But I am not sure if it should.

However, there is a bug in \mathgreekupright and \mathgreekialic: they set
the wrong numerical values for attributes. The correct definitions are:

\unexpanded\def\mathgreekupright{\attribute\mathgreekattribute22 }
\unexpanded\def\mathgreekitalic {\attribute\mathgreekattribute33 }

and then you can use  \mathgreekitalic  and \mathgreekitalic\bf instead of
\mathit and \mathbi.

@Hans, can you correct these definitions in math-ini.mkiv.

BTW, I did not know that you could use \setupbodyfont without the
\usetypescript line.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100715/3fcbb0be/attachment.html>

More information about the ntg-context mailing list