On Mon, Sep 07, 2009 at 05:59:33PM -0400, Aditya Mahajan wrote:
> On Mon, 7 Sep 2009, Khaled Hosny wrote:
>
>>
>> Is there a way (MkIV) to set math to use upright symbols globally, for  
>> Latin and Greek (I'm working on an OpenType math font that has no  
>> italics).
>
> There is no interface yet, but you can set math attributes by
> either explicitly setting them
>
> \appendtoks
>   \setmathattribute{regular}{tf}
> \to \everymathematics
>
> or by redefining mathdefault
>
> \unexpanded\def\mathdefault   {\setmathattribute{regular}{tf}}

Thanks for the tip, but this seems not to work for Greek symbols:

\unexpanded\def\mathdefault   {\setmathattribute{regular}{tf}}
\starttext
\startformula
ABC \phi\Phi\Omega
\stopformula
\stoptext

Only Latin is upright, but not Greek.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to