ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to use Helvetica Neue Light (OS X)?
@ 2016-02-09 22:15 Nicola
  2016-02-10 11:36 ` Nicola
  0 siblings, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-09 22:15 UTC (permalink / raw)
  To: ntg-context

I am coming back to using ConTeXt after a relatively long hiatus,
so I am trying to re-learn old things and learn the new stuff.
Please bear with me.

I want to use OS X's Helvetica Neue Light in a document. How may
I do that?

I have tried:

\definefontfamily [myfamily] [serif] [Helvetica Neue Light]

but, fair enough, that results in `font with asked name 'unknown'
is not found`. If I use

\definefontfamily [myfamily] [serif] [Helvetica Neue]

then the document is typeset in Helvetica Neue, but in boldface.
Why? Using mtxrun, all the relevant files are found:

mtxrun --script fonts --list --all --pattern=neue*

helveticaneue                       helveticaneuebold                   
/System/Library/Fonts/HelveticaNeue.dfont              index: 13
helveticaneuebold                   helveticaneuebold                   
/System/Library/Fonts/HelveticaNeue.dfont              index: 13
helveticaneuedeskinterface          helveticaneuedeskinterfaceregular   
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   index:  9
helveticaneuedeskinterfacenormal    helveticaneuedeskinterfaceregular   
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   index:  9
helveticaneuedeskinterfaceregular   helveticaneuedeskinterfaceregular   
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   index:  9

How do I specify the font's weight?

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-09 22:15 How to use Helvetica Neue Light (OS X)? Nicola
@ 2016-02-10 11:36 ` Nicola
  2016-02-10 12:48   ` Hans Hagen
  0 siblings, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-10 11:36 UTC (permalink / raw)
  To: ntg-context

On 2016-02-09 22:15:47 +0000, Nicola said:
> 
> I want to use OS X's Helvetica Neue Light in a document. How may
> I do that?

I have investigated the issue a bit more and it seems that I have
a more fundamental problem with fonts. More specifically, I have
tested the latest beta (ConTeXt 0.63 2016.02.08 15:35) and the TeX
Live version (ConTeXt 0.61 2015.05.18 12:26), with inconsistent
results. The beta is a fresh install, where I have only executed:

sh ./first-setup.sh --modules=all --engine=luatex
. ./tex/setuptex
luatools --generate

This is a selection of fonts that I have tried (the name is the name
that I have used as an argument to \definefamily):

Name             Suffix                TeXLive ConTeXt  ConTeXt Beta
---------------------------------------------------------------------------
Baskerville                   .ttc     OK               OK
Courier                       .dfont   unknown font     unknown font
Geneva                        .dfont   OK               unknown font
Helvetica                     .dfont   OK               unknown font
Helvetica Neue                .dfont   Nearly OK(*)     unknown font
Helvetica Neue Desk Interface .ttc     Nearly OK(*)     Nearly OK(**)
Hoefler                       .ttc     unknown font     unknown font
Hoefler Text                  .ttc     unknown font     unknown font
Hoefler Text Ornaments        .ttc     unknown font     unknown font
Menlo                         .ttc     OK               OK
Monaco                        .dfont   OK               unknown font
Optima                        .ttc     OK               OK
Palatino                      .ttc     OK               OK
Source Code Pro               .otf     OK               Nearly OK(***)
Times                         .dfont   unknown font     unknown font
Times Roman                   .dfont   unknown font     unknown font

(*) Instead of bold, bold italic is used
(**) Instead of bold italic, bold is used (!)
(***) Italic and bold italic are shown as regular and italic, resp.

In general, I have no problems with .ttf and .otf fonts (with the
exception of Source Code Pro, see the table).

From the above:

(1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
    that I am missing some configuration step.

(2) I suspect that I also have a naming issue (e.g., see Hoefler and
    Times). This is what mtxrun gives me for Hoefler (for both ConTeXt
    versions):

mtxrun --script fonts --list --all --pattern=hoefl*

hoeflertext              hoeflertextornaments     
/Library/Fonts/Hoefler Text Ornaments.ttf
hoeflertextblack         hoeflertextblack         
/Library/Fonts/Hoefler Text.ttc             index:  2
hoeflertextblackitalic   hoeflertextblackitalic   
/Library/Fonts/Hoefler Text.ttc             index:  4
hoeflertextitalic        hoeflertextitalic        
/Library/Fonts/Hoefler Text.ttc             index:  3
hoeflertextnormal        hoeflertextornaments     
/Library/Fonts/Hoefler Text Ornaments.ttf
hoeflertextornaments     hoeflertextornaments     
/Library/Fonts/Hoefler Text Ornaments.ttf
hoeflertextregular       hoeflertextregular       
/Library/Fonts/Hoefler Text.ttc             index:  1


(3) I still don't now how to select, say, Helvetica Light or Avenir Black.
    For the record, in LuaLaTeX I use \setsansfont{Helvetica Neue Light},
    and it works.

The document I have used for the tests is pretty basic, but I paste it
below for completeness.

Nicola

\definefontfamily [myfamily] [serif] [Some Font] %[style=Light]
\setupbodyfont[myfamily]
\starttext
\scale[width=\textwidth]{\switchtobodyfont   [6pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont   [8pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont  [10pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont  [12pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont[17.3pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\stoptext


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 11:36 ` Nicola
@ 2016-02-10 12:48   ` Hans Hagen
  2016-02-10 13:51     ` Nicola
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2016-02-10 12:48 UTC (permalink / raw)
  To: ntg-context

On 2/10/2016 12:36 PM, Nicola wrote:

> (1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
>     that I am missing some configuration step.

indeed the latest mkiv does not support dfonts any longer (makes no 
sense to depend on an obsolete format and the few fonts around are not 
worth the trouble of implementing)

you can try \usemodule[oldotf]

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 12:48   ` Hans Hagen
@ 2016-02-10 13:51     ` Nicola
  2016-02-10 14:13       ` Hans Hagen
  0 siblings, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-10 13:51 UTC (permalink / raw)
  To: ntg-context

On 2016-02-10 12:48:32 +0000, Hans Hagen said:

> On 2/10/2016 12:36 PM, Nicola wrote:
> 
>> (1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
>> that I am missing some configuration step.
> 
> indeed the latest mkiv does not support dfonts any longer

Ok, good to know. Any suggestion on how to select a font within a .ttc?

Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
has severe problems dealing with the new TrueType collection fonts in
Snow Leopard (Mac OS 10.6).”

Is that still the case with the current LuaTeX (I am on El Capitan)? That
might explain my results.

What is the best practice: do you recommended using only ttf and otf fonts?

Nicola

(*) http://wiki.contextgarden.net/Fonts_in_LuaTeX#Querying_the_font_database


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 13:51     ` Nicola
@ 2016-02-10 14:13       ` Hans Hagen
  2016-02-10 14:45         ` Nicola
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2016-02-10 14:13 UTC (permalink / raw)
  To: ntg-context

On 2/10/2016 2:51 PM, Nicola wrote:
> On 2016-02-10 12:48:32 +0000, Hans Hagen said:
>
>> On 2/10/2016 12:36 PM, Nicola wrote:
>>
>>> (1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
>>> that I am missing some configuration step.
>>
>> indeed the latest mkiv does not support dfonts any longer
>
> Ok, good to know. Any suggestion on how to select a font within a .ttc?

normally by name

> Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
> has severe problems dealing with the new TrueType collection fonts in
> Snow Leopard (Mac OS 10.6).”

0.60 is ancient ... we have approx 0.90 now

> Is that still the case with the current LuaTeX (I am on El Capitan)? That
> might explain my results.

i don't use osx but others can tell you

> What is the best practice: do you recommended using only ttf and otf fonts?

ttc is okay

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 14:13       ` Hans Hagen
@ 2016-02-10 14:45         ` Nicola
  2016-02-10 15:19           ` Pablo Rodriguez
  0 siblings, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-10 14:45 UTC (permalink / raw)
  To: ntg-context

On 2016-02-10 14:13:37 +0000, Hans Hagen said:
>> 
>> Ok, good to know. Any suggestion on how to select a font within a .ttc?
> 
> normally by name
> 
>> Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
>> has severe problems dealing with the new TrueType collection fonts in
>> Snow Leopard (Mac OS 10.6).”
> 
> 0.60 is ancient ... we have approx 0.90 now
> 
>> Is that still the case with the current LuaTeX (I am on El Capitan)? That
>> might explain my results.
> 
> i don't use osx but others can tell you
> 
>> What is the best practice: do you recommended using only ttf and otf fonts?
> 
> ttc is okay

So, if someone using OS X could tell me how to, say, use Avenir Light or
Avenir Next Ultra Light (both are .ttc), that would be much appreciated :)

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 14:45         ` Nicola
@ 2016-02-10 15:19           ` Pablo Rodriguez
  2016-02-10 15:49             ` Taco Hoekwater
  2016-02-10 16:44             ` Nicola
  0 siblings, 2 replies; 21+ messages in thread
From: Pablo Rodriguez @ 2016-02-10 15:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 02/10/2016 03:45 PM, Nicola wrote:
> On 2016-02-10 14:13:37 +0000, Hans Hagen said:
>>>
>>> Ok, good to know. Any suggestion on how to select a font within a .ttc?
>>
>> normally by name
>>
>>> Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
>>> has severe problems dealing with the new TrueType collection fonts in
>>> Snow Leopard (Mac OS 10.6).”
>>
>> 0.60 is ancient ... we have approx 0.90 now
>>
>>> Is that still the case with the current LuaTeX (I am on El Capitan)? That
>>> might explain my results.
>>
>> i don't use osx but others can tell you
>>
>>> What is the best practice: do you recommended using only ttf and otf fonts?
>>
>> ttc is okay
> 
> So, if someone using OS X could tell me how to, say, use Avenir Light or
> Avenir Next Ultra Light (both are .ttc), that would be much appreciated :)

Hi Nicolca,

I’m not OS user, but the following works with Junction
(https://www.theleagueofmoveabletype.com/junction):

    \definefontfamily[mainface][ss][Junction][tf=style:light]

I hope it helps,


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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 15:19           ` Pablo Rodriguez
@ 2016-02-10 15:49             ` Taco Hoekwater
  2016-02-10 17:06               ` Nicola
  2016-02-10 16:44             ` Nicola
  1 sibling, 1 reply; 21+ messages in thread
From: Taco Hoekwater @ 2016-02-10 15:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

> On 10 Feb 2016, at 16:19, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> On 02/10/2016 03:45 PM, Nicola wrote:
>> On 2016-02-10 14:13:37 +0000, Hans Hagen said:
>>>> 
>>>> Ok, good to know. Any suggestion on how to select a font within a .ttc?
>>> 
>>> normally by name


It seems the ttc extractor fails in the current beta, at least on osx. 

After a —reload of the fonts, I get similar results to Nicola: only one 
indexed font is found for each of the .ttc files (always the last index). 

So, for example, I have only these four entries for Avenir Next Condensed:

avenirnextcondensed                     avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next Condensed.ttc                  index: 12
avenirnextcondenseditalic               avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next Condensed.ttc                  index: 12
avenirnextcondensedlight                avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next Condensed.ttc                  index: 12
avenirnextcondensedultralightitalic     avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next Condensed.ttc                  index: 12

The last of those lines is the most specific one, the earlier ones are probably 
heuristically derived, and the font works indeed ok.

But the fonts at index 1–11 of the ttc are missing completely! 

That same issue happens for all the ttcs files on my system, with the
latest standalone beta.

Best wishes,
Taco
___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 15:19           ` Pablo Rodriguez
  2016-02-10 15:49             ` Taco Hoekwater
@ 2016-02-10 16:44             ` Nicola
  2016-02-10 20:04               ` Hans Hagen
  1 sibling, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-10 16:44 UTC (permalink / raw)
  To: ntg-context

On 2016-02-10 15:19:01 +0000, Pablo Rodriguez said:
> 
> I’m not OS user, but the following works with Junction
> (https://www.theleagueofmoveabletype.com/junction):
> 
>     \definefontfamily[mainface][ss][Junction][tf=style:light]

Thanks, that indeed does the trick (modulo Taco's comment in another post).

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 15:49             ` Taco Hoekwater
@ 2016-02-10 17:06               ` Nicola
  2016-02-10 19:16                 ` Hans Hagen
  0 siblings, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-10 17:06 UTC (permalink / raw)
  To: ntg-context

On 2016-02-10 15:49:37 +0000, Taco Hoekwater said:

> It seems the ttc extractor fails in the current beta, at least on osx.
> 
> After a —reload of the fonts, I get similar results to Nicola: only one
> indexed font is found for each of the .ttc files (always the last index).

I have exactly the same for the beta. Let me add that things do not look
right with ConTeXt from TeX Live either. Try this:

1) remove the cache from ~/Library/texlive/2015/texmf-var
2) luatools --generate
3) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
4) Typeset my test document using Avenir Next Condensed.
5) mtxrun --script fonts --reload
6) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
7) Typeset again.

My results:

3) I see all the entries, plus some spurious ones, which are probably
   synthesized by the script (e.g., avenirnextcondensedblack).
4) The PDF is an empty document (`unknown font` in the console).
6) I see only avenirnextcondensed and avenirnextcondensedbold: the rest
   is gone.
7) The document is typeset in boldface (at least the font is found).

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 17:06               ` Nicola
@ 2016-02-10 19:16                 ` Hans Hagen
  0 siblings, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2016-02-10 19:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 2/10/2016 6:06 PM, Nicola wrote:
> On 2016-02-10 15:49:37 +0000, Taco Hoekwater said:
>
>> It seems the ttc extractor fails in the current beta, at least on osx.
>>
>> After a —reload of the fonts, I get similar results to Nicola: only one
>> indexed font is found for each of the .ttc files (always the last index).
>
> I have exactly the same for the beta. Let me add that things do not look
> right with ConTeXt from TeX Live either. Try this:
>
> 1) remove the cache from ~/Library/texlive/2015/texmf-var
> 2) luatools --generate
> 3) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
> 4) Typeset my test document using Avenir Next Condensed.
> 5) mtxrun --script fonts --reload
> 6) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
> 7) Typeset again.
>
> My results:
>
> 3) I see all the entries, plus some spurious ones, which are probably
>    synthesized by the script (e.g., avenirnextcondensedblack).
> 4) The PDF is an empty document (`unknown font` in the console).
> 6) I see only avenirnextcondensed and avenirnextcondensedbold: the rest
>    is gone.
> 7) The document is typeset in boldface (at least the font is found).

can you delete the fonts path in the texmf-cache

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 16:44             ` Nicola
@ 2016-02-10 20:04               ` Hans Hagen
  2016-02-11  8:36                 ` Taco Hoekwater
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2016-02-10 20:04 UTC (permalink / raw)
  To: ntg-context

On 2/10/2016 5:44 PM, Nicola wrote:
> On 2016-02-10 15:19:01 +0000, Pablo Rodriguez said:
>>
>> I’m not OS user, but the following works with Junction
>> (https://www.theleagueofmoveabletype.com/junction):
>>
>>     \definefontfamily[mainface][ss][Junction][tf=style:light]
>
> Thanks, that indeed does the trick (modulo Taco's comment in another post).

mtxrun --script font --reload --force


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-10 20:04               ` Hans Hagen
@ 2016-02-11  8:36                 ` Taco Hoekwater
  2016-02-11  9:31                   ` Nicola
  0 siblings, 1 reply; 21+ messages in thread
From: Taco Hoekwater @ 2016-02-11  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 10 Feb 2016, at 21:04, Hans Hagen <pragma@wxs.nl> wrote:
> 
> On 2/10/2016 5:44 PM, Nicola wrote:
>> On 2016-02-10 15:19:01 +0000, Pablo Rodriguez said:
>>> 
>>> I’m not OS user, but the following works with Junction
>>> (https://www.theleagueofmoveabletype.com/junction):
>>> 
>>>    \definefontfamily[mainface][ss][Junction][tf=style:light]
>> 
>> Thanks, that indeed does the trick (modulo Taco's comment in another post).
> 
> mtxrun --script font --reload —force

That fixed the issue for me.

Best wishes,
Taco

___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11  8:36                 ` Taco Hoekwater
@ 2016-02-11  9:31                   ` Nicola
  2016-02-11  9:48                     ` Hans Hagen
                                       ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Nicola @ 2016-02-11  9:31 UTC (permalink / raw)
  To: ntg-context

On 2016-02-11 08:36:12 +0000, Taco Hoekwater said:

> 
>> On 10 Feb 2016, at 21:04, Hans Hagen <pragma@wxs.nl> wrote:
>> 
>> On 2/10/2016 5:44 PM, Nicola wrote:
>>> On 2016-02-10 15:19:01 +0000, Pablo Rodriguez said:
>>>> 
>>>> I’m not OS user, but the following works with Junction
>>>> (https://www.theleagueofmoveabletype.com/junction):
>>>> 
>>>> \definefontfamily[mainface][ss][Junction][tf=style:light]
>>> 
>>> Thanks, that indeed does the trick (modulo Taco's comment in another post).
>> 
>> mtxrun --script font --reload —force
> 
> That fixed the issue for me.

Not for me. After that command, I do see all the entries again, but when I
typeset my document the font is not found. I paste the log below.

Hans has suggested:

> can you delete the fonts path in the texmf-cache

Do you mean texmf-var/fonts? Here is what I done, step by step:

0) `sudo mv /usr/local/texlive/2015/texmf-var/fonts ~/.Trash`.

1) delete all the cache files in 
/usr/local/texlive/2015/texmf-var/luatex-cache and
   in ~/Library/texlive/texmf-var/luatex-cache;

2) At this point, running context or 'luatools --generate' results in:

resolvers       | trees | analyzing '/Users/nicola/Library/texmf'
mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'

3) Run `mtxrun --generate` (without sudo). This creates
   ~/Library/texlive/texmf-var/luatex-cache/context;

4) run `mtxrun --script fonts --list --all --pattern=avenirnextcondensed*`:
   this runs for a while and at the end I get:

fonts           | names | accessing the data table failed
avenirnextcondensed                   
avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next 
Condensed.ttc   index:  0
avenirnextcondensedblack              avenirnextcondensedheavyitalic    
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  2
avenirnextcondensedbold               avenirnextcondensedbold           
    /System/Library/Fonts/Avenir Next Condensed.ttc   index: 11
avenirnextcondensedbolditalic         avenirnextcondensedbolditalic     
    /System/Library/Fonts/Avenir Next Condensed.ttc   index: 10
avenirnextcondenseddemi               avenirnextcondenseddemibolditalic 
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  8
avenirnextcondenseddemibold           avenirnextcondenseddemibold       
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  9
avenirnextcondenseddemibolditalic     avenirnextcondenseddemibolditalic 
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  8
avenirnextcondensedheavy              avenirnextcondensedheavy          
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  3
avenirnextcondensedheavyitalic        avenirnextcondensedheavyitalic    
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  2
avenirnextcondenseditalic             avenirnextcondenseditalic         
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  7
avenirnextcondensedlight              
avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next 
Condensed.ttc   index:  0
avenirnextcondensedmedium             avenirnextcondensedmedium         
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  6
avenirnextcondensedmediumitalic       avenirnextcondensedmediumitalic   
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  5
avenirnextcondensednormal             avenirnextcondensedregular        
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  4
avenirnextcondensedregular            avenirnextcondensedregular        
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  4
avenirnextcondensedultralight         avenirnextcondensedultralight     
    /System/Library/Fonts/Avenir Next Condensed.ttc   index:  1
avenirnextcondensedultralightitalic   
avenirnextcondensedultralightitalic   /System/Library/Fonts/Avenir Next 
Condensed.ttc   index:  0

I don't know whether the first line of this output indicates a problem.

5) Typeset the document. This takes ~10s and the result is an empty
   document (font not found).

6) Run `mtxrun --script fonts --list --all --pattern=avenirnextcondensed*`:

resolvers       | trees | analyzing '/Users/nicola/Library/texmf'
avenirnextcondensed       avenirnextcondensedbold   
/System/Library/Fonts/Avenir Next Condensed.ttc   index: 11
avenirnextcondensedbold   avenirnextcondensedbold   
/System/Library/Fonts/Avenir Next Condensed.ttc   index: 11

7) Typeset again. Result: font found, document typeset in boldface.

8) Run `mtxrun --script font --reload --force`. After that, mtxrun
   shows me the same output as in step 4. Typesetting the document
   several times always results in `unknown font`. Document and log
   below.

Nicola

\definefontfamily [myfamily] [serif] [Avenir Next Condensed]
\setupbodyfont[myfamily]
\starttext
\tf Regular, \it Italic \bf Bold and \bi BoldItalic
\stoptext


resolvers       | trees | analyzing '/Users/nicola/Library/texmf'
mtx-context     | run 1: luatex 
--fmt="/Users/nicola/Library/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" 
--jobname="helv" 
--lua="/Users/nicola/Library/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" 
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./helv.tex" 
--c:input="./helv.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
 \write18 enabled.

resolvers       > trees > analyzing '/Users/nicola/Library/texmf'
open source     > 1 > 1 > 
/usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.05.18 12:26 MKIV current  fmt: 2016.2.11  int: 
english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > 
/usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > 
/usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv
system          > files > jobname 'helv', input './helv', result 'helv'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /Users/nicola/Documents/Outbox/context-test/helv.tex
fonts           > preloading modern-designsize (math)
fonts           > typescripts > unknown library 'modern-designsize'
fonts           > 'fallback modern-designsize mm 12pt' is loaded
fonts           > preloading modern-designsize (mono)
fonts           > 'fallback modern-designsize tt 12pt' is loaded
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-rm-tf-0--0'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-mm-mr--3'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-mm-mr--2'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-mm-mr--1'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-mm-mb--3'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-mm-mb--2'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-mm-mb--1'
fonts           > math: unset for global bodyfont myfamily at 12pt
fonts           > math: unset for global bodyfont myfamily at 12pt
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-rm-it-0--0'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-rm-bf-0--0'
fonts           > defining > font with asked name 'unknown' is not 
found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 
'myfamily-12pt-rm-bi-0--0'
fonts           > math: unset for global bodyfont myfamily at 12pt
fonts           > math: unset for global bodyfont myfamily at 12pt
backend         > xmp > using file 
'/usr/local/texlive/2015/texmf-dist/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1

fonts           > !! No bodyfont has been defined and no defaults have been
fonts           > !! loaded (maybe due to a missing \starttext).

close source    > 2 > 3 > /Users/nicola/Documents/Outbox/context-test/helv.tex
close source    > 1 > 3 > 
/usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv

mkiv lua stats  > used config file: 
selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua 

mkiv lua stats  > used cache path: readable+writable: 
'/Users/nicola/Library/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9' 

mkiv lua stats  > resource resolver: loadtime 0.134 seconds, 1 scans 
with scantime 0.002 seconds, 0 shared scans, 6 found files, scanned 
paths: /Users/nicola/Library/texmf
mkiv lua stats  > stored bytecode data: 371 modules (0.337 sec), 78 
tables (0.007 sec), 449 chunks (0.344 sec)
mkiv lua stats  > traced context: maxstack: 1132, freed: 0, unreachable: 1132
mkiv lua stats  > running in nuts mode: yes
mkiv lua stats  > cleaned up reserved nodes: 44 nodes, 439 lists of 438
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 32 
glue_spec, 3 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 
instances (re)created, 39 calls
mkiv lua stats  > used backend: pdf (backend for directly generating 
pdf output)
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 145 direct, 243 indirect, 388 total
mkiv lua stats  > randomizer: resumed with value 0.028076992848924
mkiv lua stats  > result saved in file: helv.pdf, compresslevel 3, 
objectcompresslevel 3
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: bin
mkiv lua stats  > luatex banner: this is luatex, version beta-0.80.0 
(tex live 2015) (rev 5238)
mkiv lua stats  > control sequences: 42493 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 73 MB (ctx: 
73 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.452 seconds, 1 processed pages, 1 shipped 
pages, 2.212 pages/second

system          | total runtime: 0.678 seconds


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11  9:31                   ` Nicola
@ 2016-02-11  9:48                     ` Hans Hagen
  2016-02-11 10:14                     ` Taco Hoekwater
  2016-02-11 10:32                     ` Wolfgang Schuster
  2 siblings, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2016-02-11  9:48 UTC (permalink / raw)
  To: ntg-context

On 2/11/2016 10:31 AM, Nicola wrote:

>> That fixed the issue for me.
>
> Not for me. After that command, I do see all the entries again, but when I
> typeset my document the font is not found. I paste the log below.

then you have to wait till Wolfgang comes up with an idea (as he runs 
osx and might have that font)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11  9:31                   ` Nicola
  2016-02-11  9:48                     ` Hans Hagen
@ 2016-02-11 10:14                     ` Taco Hoekwater
  2016-02-11 10:46                       ` Nicola
  2016-02-11 10:32                     ` Wolfgang Schuster
  2 siblings, 1 reply; 21+ messages in thread
From: Taco Hoekwater @ 2016-02-11 10:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 11 Feb 2016, at 10:31, Nicola <nvitacolonna@gmail.com> wrote:
> 
> On 2016-02-11 08:36:12 +0000, Taco Hoekwater said:
> 
>>> On 10 Feb 2016, at 21:04, Hans Hagen <pragma@wxs.nl> wrote:
>>> On 2/10/2016 5:44 PM, Nicola wrote:
>>>> On 2016-02-10 15:19:01 +0000, Pablo Rodriguez said:
>>>>> I’m not OS user, but the following works with Junction
>>>>> (https://www.theleagueofmoveabletype.com/junction):
>>>>> \definefontfamily[mainface][ss][Junction][tf=style:light]
>>>> Thanks, that indeed does the trick (modulo Taco's comment in another post).
>>> mtxrun --script font --reload —force
>> That fixed the issue for me.
> 
> Not for me. After that command, I do see all the entries again, but when I
> typeset my document the font is not found. I paste the log below.

It looks like \definefontfamily depends on actual separate font files. 
This worked for me:

\definefontfamily [myfamily] [serif] [Avenir Next Condensed]
                                     [tf=name:Avenir Next Condensed Regular,
				      bf=name:Avenir Next Condensed Bold,
				      bi=name:Avenir Next Condensed Bold Italic,
                                      it=name:Avenir Next Condensed Italic]

Best wishes,
Taco

___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11  9:31                   ` Nicola
  2016-02-11  9:48                     ` Hans Hagen
  2016-02-11 10:14                     ` Taco Hoekwater
@ 2016-02-11 10:32                     ` Wolfgang Schuster
  2016-02-11 10:49                       ` Nicola
  2 siblings, 1 reply; 21+ messages in thread
From: Wolfgang Schuster @ 2016-02-11 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Nicola <mailto:nvitacolonna@gmail.com>
> 11. Februar 2016 um 10:31
> On 2016-02-11 08:36:12 +0000, Taco Hoekwater said:
>
> [...]
>
> 8) Run `mtxrun --script font --reload --force`. After that, mtxrun
>   shows me the same output as in step 4. Typesetting the document
>   several times always results in `unknown font`. Document and log
>   below.
>
> Nicola
>
> \definefontfamily [myfamily] [serif] [Avenir Next Condensed]
> \setupbodyfont[myfamily]
> \starttext
> \tf Regular, \it Italic \bf Bold and \bi BoldItalic
> \stoptext
The \definefontfamily uses currently a fixed value for the font width
but I won’t have time for this before the weekend because I have to
check a few (hundred!) fonts for the best solution.


Besides the \definefontfamily you can also write the required typescripts
yourself, below is a example for the normal Avenir Next fonts.

%%%% begin example
\starttypescript[sans][avenir]
     \setups[font:fallback:sans]
     \definefontsynonym [Sans]           [Avenir Next(AvenirNext-Regular)]
     \definefontsynonym [SansItalic]     [Avenir Next(AvenirNext-Italic)]
     \definefontsynonym [SansBold]       [Avenir Next(AvenirNext-Bold)]
     \definefontsynonym [SansBoldItalic] [Avenir 
Next(AvenirNext-BoldItalic)]
\stoptypescript

\starttypescript[sans][avenir-light]
     \setups[font:fallback:sans]
     \definefontsynonym [Sans]           [Avenir 
Next(AvenirNext-UltraLight)]
     \definefontsynonym [SansItalic]     [Avenir 
Next(AvenirNext-UltraLightItalic)]
     \definefontsynonym [SansBold]       [Avenir Next(AvenirNext-Medium)]
     \definefontsynonym [SansBoldItalic] [Avenir 
Next(AvenirNext-MediumItalic)]
\stoptypescript

\definetypeface [avenir] [ss] [sans] [avenir] [default] [features=default]
\definetypeface [avenir] [mm] [math] [modern] [default]

\definetypeface [avenir-light] [ss] [sans] [avenir-light] [default] 
[features=default]
\definetypeface [avenir-light] [mm] [math] [modern]       [default]

\setupbodyfont[avenir]

\starttext

\input knuth {\bf \input knuth }

\switchtobodyfont[avenir-light]
\input knuth {\bf \input knuth }

\stoptext
%%%% end example


BTW: ConTeXts already provides typescripts for many OS X fonts but they 
are a little bit dated.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 3559 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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11 10:14                     ` Taco Hoekwater
@ 2016-02-11 10:46                       ` Nicola
  0 siblings, 0 replies; 21+ messages in thread
From: Nicola @ 2016-02-11 10:46 UTC (permalink / raw)
  To: ntg-context

On 2016-02-11 10:14:10 +0000, Taco Hoekwater said:
> 
> It looks like \definefontfamily depends on actual separate font files.
> This worked for me:
> 
> \definefontfamily [myfamily] [serif] [Avenir Next Condensed]
>                                      [tf=name:Avenir Next Condensed Regular,
> 				      bf=name:Avenir Next Condensed Bold,
> 				      bi=name:Avenir Next Condensed Bold Italic,
>                                       it=name:Avenir Next Condensed Italic]

Thanks, this works (after a --force --reload, even in beta)!

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11 10:32                     ` Wolfgang Schuster
@ 2016-02-11 10:49                       ` Nicola
  2016-02-11 11:03                         ` Wolfgang Schuster
  0 siblings, 1 reply; 21+ messages in thread
From: Nicola @ 2016-02-11 10:49 UTC (permalink / raw)
  To: ntg-context

On 2016-02-11 10:32:14 +0000, Wolfgang Schuster said:

> 
> Besides the \definefontfamily you can also write the required typescripts
> yourself, below is a example for the normal Avenir Next fonts.

Thanks! The typescript works for me, at least with the beta.

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11 10:49                       ` Nicola
@ 2016-02-11 11:03                         ` Wolfgang Schuster
  2016-02-11 13:38                           ` Nicola
  0 siblings, 1 reply; 21+ messages in thread
From: Wolfgang Schuster @ 2016-02-11 11:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Nicola <mailto:nvitacolonna@gmail.com>
> 11. Februar 2016 um 11:49
> On 2016-02-11 10:32:14 +0000, Wolfgang Schuster said:
>
>
> Thanks! The typescript works for me, at least with the beta.
This is no surprise because typescripts are contexts native way to load 
fonts
and even the \definefontfamily command creates a typescript for your fonts.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1324 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] 21+ messages in thread

* Re: How to use Helvetica Neue Light (OS X)?
  2016-02-11 11:03                         ` Wolfgang Schuster
@ 2016-02-11 13:38                           ` Nicola
  0 siblings, 0 replies; 21+ messages in thread
From: Nicola @ 2016-02-11 13:38 UTC (permalink / raw)
  To: ntg-context

On 2016-02-11 11:03:41 +0000, Wolfgang Schuster said:

> Nicola 11. Februar 2016 um 11:49
> On 2016-02-11 10:32:14 +0000, Wolfgang Schuster said:
> 
> 
> Thanks! The typescript works for me, at least with the beta.
> This is no surprise because typescripts are contexts native way to load fonts
> and even the \definefontfamily command creates a typescript for your fonts.

Does the typescript rely on some features present in the beta but not in
TeX Live 2015? I ask because with ConTeXt from TeX Live the first two \input
blocks are typeset with the default font (Latin Modern, I think) and the last
two blocks in Avenir Next Light (no boldface). The log has:

fonts           > otf loading > loading '/System/Library/Fonts/Avenir 
Next.ttc', hash 'avenir-next-avenirnext-regular'
fonts           > otf loading > loading done
fonts           > otf loading > loading failed due to read error
fonts           > defining > font with asked name 'Avenir Next' is not 
found using lookup 'file'
fonts           > defining > unknown font 'Avenir Next', loading aborted
fonts           > defining > unable to define 'Avenir Next' as 
'avenir-12pt-ss-tf-0--0'
[...]
fonts           > otf loading > loading '/System/Library/Fonts/Avenir 
Next.ttc', hash 'avenir-next-avenirnext-bold'
fonts           > otf loading > loading done
fonts           > otf loading > loading failed due to read error
fonts           > defining > font with asked name 'Avenir Next' is not 
found using lookup 'file'
fonts           > defining > unknown font 'Avenir Next', loading aborted
fonts           > defining > unable to define 'Avenir Next' as 
'avenir-12pt-ss-bf-0--0'
[...]
fonts           > otf loading > loading '/System/Library/Fonts/Avenir 
Next.ttc', hash 'avenir-next-avenirnext-medium'
fonts           > otf loading > loading done
fonts           > otf loading > loading failed due to read error
fonts           > defining > font with asked name 'Avenir Next' is not 
found using lookup 'file'
fonts           > defining > unknown font 'Avenir Next', loading aborted
fonts           > defining > unable to define 'Avenir Next' as 
'avenir-light-12pt-ss-bf-0--0'

Nicola


___________________________________________________________________________________
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] 21+ messages in thread

end of thread, other threads:[~2016-02-11 13:38 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 22:15 How to use Helvetica Neue Light (OS X)? Nicola
2016-02-10 11:36 ` Nicola
2016-02-10 12:48   ` Hans Hagen
2016-02-10 13:51     ` Nicola
2016-02-10 14:13       ` Hans Hagen
2016-02-10 14:45         ` Nicola
2016-02-10 15:19           ` Pablo Rodriguez
2016-02-10 15:49             ` Taco Hoekwater
2016-02-10 17:06               ` Nicola
2016-02-10 19:16                 ` Hans Hagen
2016-02-10 16:44             ` Nicola
2016-02-10 20:04               ` Hans Hagen
2016-02-11  8:36                 ` Taco Hoekwater
2016-02-11  9:31                   ` Nicola
2016-02-11  9:48                     ` Hans Hagen
2016-02-11 10:14                     ` Taco Hoekwater
2016-02-11 10:46                       ` Nicola
2016-02-11 10:32                     ` Wolfgang Schuster
2016-02-11 10:49                       ` Nicola
2016-02-11 11:03                         ` Wolfgang Schuster
2016-02-11 13:38                           ` Nicola

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).