Pablo Rodriguez
2. März 2016 um 15:43

Wolfgang,

I’m afraid it doesn’t work.

Just in case it helps, directly generated from
http://github.com/rbrito/urw-garamond/, you have the font itsef at
http://ousia.tk/newg8-regular.otf.

Many thanks for your help,


Pablo
Wolfgang Schuster
2. März 2016 um 14:54
Does this work?

\definefontfamily[mainface][ss][GaraMath][tf=file:newg8-regular]

Wolfgang
Pablo Rodriguez
2. März 2016 um 12:11
Dear list,

I have the following sample:

\definefontfamily[mainface][rm][Latin Modern Roman]
\definefontfamily[mainface][ss][GaraMath][file={newg8-regular.otf}]

\setupbodyfont[mainface]

\starttext
a{\ss a}b{\ss b}c{\ss c}g{\ss g}
\stoptext

I don’t get a sans typeface different from Latin Modern Roman.

If the font is on the same directory as the ConTeXt source file, what is
wrong in my code?
The \definefontfamily can only use font which are indexed by context (mtxrun --script font --reload) which doesn’t seem to be the case here.

Wolfgang