Pablo,

I had a similar problem with the IM Fell fonts, here's what I had in my file to get ConTeXt to see them:

\definefontfamily[mainface][serif][IMFellEnglishProRoman][tf=file:IMFEENRM29C.otf, it=file:IMFEENIT29C.otf]

so I think you just need to add a "tf=" in front of the file declaration.

On Fri, Jun 12, 2015 at 1:01 PM, Pablo Rodriguez <oinos@gmx.es> wrote:
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
___________________________________________________________________________________
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
___________________________________________________________________________________



--
Thad Heltemes, Ph.D.

http://theltemes.net