ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* selecting font by (file) name
@ 2015-06-12 18:01 Pablo Rodriguez
  2015-06-12 18:13 ` Thad Heltemes
  2015-06-13  7:16 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2015-06-12 18:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: selecting font by (file) name
  2015-06-12 18:01 selecting font by (file) name Pablo Rodriguez
@ 2015-06-12 18:13 ` Thad Heltemes
  2015-06-12 18:57   ` Pablo Rodriguez
  2015-06-13  7:16 ` Wolfgang Schuster
  1 sibling, 1 reply; 4+ messages in thread
From: Thad Heltemes @ 2015-06-12 18:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1796 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2986 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: selecting font by (file) name
  2015-06-12 18:13 ` Thad Heltemes
@ 2015-06-12 18:57   ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2015-06-12 18:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: selecting font by (file) name
  2015-06-12 18:01 selecting font by (file) name Pablo Rodriguez
  2015-06-12 18:13 ` Thad Heltemes
@ 2015-06-13  7:16 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2015-06-13  7:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 363 bytes --]



> 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

[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-13  7:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 18:01 selecting font by (file) name Pablo Rodriguez
2015-06-12 18:13 ` Thad Heltemes
2015-06-12 18:57   ` Pablo Rodriguez
2015-06-13  7:16 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).