Re: [NTG-context] Error using Asana Math

2012-05-10 Thread Taco Hoekwater

On 05/10/2012 01:45 PM, Marco wrote:

I get the following error:

Math error: parameter \Umathquad\displaystyle is not set

Example:

\starttypescript  [myfonts]
\definetypeface [myfonts] [rm] [serif] [pagella]   [default]
\definetypeface [myfonts] [ss] [sans]  [heros] [default]
\definetypeface [myfonts] [tt] [mono]  [cursor][default]
\definetypeface [myfonts] [mm] [math]  [asanamath] [default]


Try this:

\definetypeface [myfonts] [mm] [math]  [asana] [default]

works for me.
___
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] Error using Asana Math

2012-05-10 Thread Marco
On 2012-05-10 Taco Hoekwater t...@elvenkind.com wrote:

 Try this:
 
   \definetypeface [myfonts] [mm] [math]  [asana] [default]

That gives:

fontsdefining  unable to define asanamath as 
[myfonts-12pt-mm-mb--1]
! Missing font identifier.

system   tex  error on line 10 in file t.tex: Missing font identifier 
...

 1 \starttypescript  [myfonts]
 2  \definetypeface [myfonts] [rm] [serif] [pagella]   [default]
 3  \definetypeface [myfonts] [ss] [sans]  [heros] [default]
 4  \definetypeface [myfonts] [tt] [mono]  [cursor][default]
 5  \definetypeface [myfonts] [mm] [math]  [asana] [default]
 6  % modern math works
 7  %\definetypeface [myfonts] [mm] [math]  [modern]   [default]
 8 \stoptypescript
 9 
10   \setupbodyfont [myfonts]
11 
12 \starttext
13  A \math{x}
14 \stoptext

Marco


___
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] Error using Asana Math

2012-05-10 Thread Mojca Miklavec
On Thu, May 10, 2012 at 3:12 PM, Marco net...@lavabit.com wrote:
 On 2012-05-10 Taco Hoekwater t...@elvenkind.com wrote:

 Try this:

       \definetypeface [myfonts] [mm] [math]  [asana] [default]

 That gives:

 fonts            defining  unable to define asanamath as 
 [myfonts-12pt-mm-mb--1]
 ! Missing font identifier.

 system           tex  error on line 10 in file t.tex: Missing font 
 identifier ...

Are you sure that you have the font installed? (./first-setup.sh
--fonts=Asana-Math or the appropriate package in TL)

Mojca
___
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] Error using Asana Math

2012-05-10 Thread Marco
On 2012-05-10 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:

 Are you sure that you have the font installed?

No it's not, the font is in the working directory, where it
apparently is not recognized.

 (./first-setup.sh  --fonts=Asana-Math)

I didn't know that switch. It works now, sorry for the noise and
thanks to both of you.

Marco


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