ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: math and palatino
Date: Thu, 18 Jun 2009 07:46:39 -0600	[thread overview]
Message-ID: <op.uvp271r9fkrasx@your-b27fb1c401> (raw)
In-Reply-To: <alpine.LNX.2.00.0906180026320.29490@ybpnyubfg.ybpnyqbznva>

Hi Aditya,

On Thu, 18 Jun 2009 02:03:44 -0600, Aditya Mahajan <adityam@umich.edu>  
wrote:

> The math fonts compatible with Palatino are px math and math paza ConTeXt
> only has support for px math.

ok, good to know... [I rarely use math these past few years]

>> [Hint:
>> it's not LM] I had to roll my own typescript so what I need to fill in  
>> is the
>> commented line below
>>
>> \definetypeface [pagella_ar] [rm] [serif] [pagella_arabic] %  
>> [pagella_arabic]
>> % \definetypeface [pagella_ar] [mm] [math]  [palatino]       [default]
>>
>> Uncommenting the above gives me an incomplete math font
>
>
> Currently, no math font in mkiv is "complete". Which specific glyphs are
> missing for you?

\alpha

> The easiest opiton is to use asana math, which is an otf math font based
> on px fonts.
>
> \starttypescript [math] [asana] [name]
>      \definefontsynonym [MathRoman] [name:Asana-Math]  
> [features=math\mathsizesuffix]
> \stoptypescript
>
> and then
>
> \definetypeface [pagella_ar] [mm] [math]  [asana]       [default]

LuaTeX warning (file  
C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2  
Charstring Parser: Unknown charstring operator: 0x00

!LuaTeX error (file  
C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2  
Charstring Parser: Parsing charstring failed: (status=-1, stack=0)
  ==> Fatal error occurred, no output PDF file produced!

Have any of you run into this before?

If this is a showstopper, then a fallback will have to do. Have any of you  
made fallbacks for math fonts? Are there any subtleties compared to  
regular fonts? What is the unicode slot for math \alpha?

>> that does not look good. Any ideas on getting this right?
>
> I also find px math ugly (although I did use it for my thesis). math pazo
> is not much better, it uses most of the symbols from cm. There is a
> commerical math from micropress that is supposed to be compatible with
> palatino, but I have never used it myself.
>
>> Is there an otf euler option?
>
> No. Also keep in mind that euler is no where close to being a complete
> math font. Mkii used a virtual font that took missing symbols from px
> math and cm.
>
> I have a local half baked support for Euler, which uses missing symbols
> from iwona. I can send the patch if you want to experiment with it.

Thanks! time is very short, although I like Euler and think it would work  
for palatino... maybe we need to get the gyre people on it for the  
future:-)

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2009-06-18 13:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18  3:00 Idris Samawi Hamid ادريس سماوي حامد
2009-06-18  8:03 ` Aditya Mahajan
2009-06-18  8:22   ` Johan Sandblom
2009-06-18  8:59     ` Aditya Mahajan
2009-06-18 13:46   ` Idris Samawi Hamid ادريس سماوي حامد [this message]
2009-06-18 16:06     ` Aditya Mahajan
2009-06-18 22:16       ` Idris Samawi Hamid ادريس سماوي حامد
2009-06-19  4:40         ` Aditya Mahajan
2009-06-19  8:05         ` Taco Hoekwater
2009-06-18 14:09   ` Idris Samawi Hamid ادريس سماوي حامد

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.uvp271r9fkrasx@your-b27fb1c401 \
    --to=ishamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).