On Sat, 20 Dec 2014 23:26:29 +0100, Pablo Rodriguez <oi...@gmx.es> wrote:

Hi Jörg,
I don’t have a Mac, but this works in ConTeXt:
\definefontfamily [mainface] [serif] [TeX Gyre Pagella]
\definefontfamily [mainface] [sans]  [Helvetica]
\definefontfamily [mainface] [mono]  [Courier]
\definefontfamily [mainface] [math]  [TeX Gyre Pagella Math]
\setupbodyfont[mainface]

I've now looked a bit closer: this works (on my Mac) _except_ for the teletype font: `\tt{some text}' ends up being typeset in the serif font. `Courier' is there, for sure (meaning: it is listed by `mtxrun --script font...' but it does not work. on closer inspection, the actually found fontfiles are `courier new.ttf' and specifying
[couriernew] _does_ work.

so it seems you are right regarding using the "full" names, e.g.

\definefontfamily [mainface] [sans]  [adventor]

does not work while

\definefontfamily [mainface] [sans]  [TeX Gyre Adventor]

does.

any ideas, why all this is happening? or: _how_ exactly can fonts be specified? how is the mapping from symbolic names to actual font files performed. it seems, sometimes symbolic (short) names work, sometimes they don't. so, is there some prescription, what is the right (TM) way to do it?


--
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to