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
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
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
On 06/12/2015 08:13 PM, Thad Heltemes wrote:
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.
Many thanks for your reply, Thad. This was exactly what I needed, Many thanks for your help, Pablo -- http://www.ousia.tk
Pablo Rodriguez mailto:oinos@gmx.es 12. Juni 2015 20:01 Dear list,
I have the following sample:
\definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefontfamily [mainface] [tt] %~ [file:lmmonoproplt10-regular.otf] [name:lmmonoproplt10regular] The name of the font family is
[Latin Modern Mono Prop Light] Wolfgang
participants (3)
-
Pablo Rodriguez
-
Thad Heltemes
-
Wolfgang Schuster