[NTG-context] selecting font by (file) name

Pablo Rodriguez oinos at gmx.es
Fri Jun 12 20:01:10 CEST 2015


Dear list,

I have the following sample:

    \definefontfamily
        [mainface]
        [rm]
        [TeX Gyre Pagella]

    \definefontfamily
        [mainface]
        [tt]
        %~ [file:lmmonoproplt10-regular.otf]
        [name:lmmonoproplt10regular]

    \setupbodyfont
        [mainface]

    \starttext
    \type{monospace font}
    \stoptext

Either by file or name, I’m not able to select the font.

I get the following list from mtxrunjit:

$ mtxrunjit --script font --list --file --pattern=lmmonoproplt10regular

latinmodernmonoproplight   light   normal   normal   normal
lmmonoproplt10regular   lmmonoproplt10-regular.otf

What am I doing wrong here?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list