Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-23 Thread Wolfgang Schuster

Gerben Wierda schrieb am 24.04.2020 um 08:48:

With Arial:

\definefontfamily[mainface][rm][Arial]
\setupbodyfont[mainface,10pt]


with Optima:

\definefontfamily[mainface][rm][Optima]
\setupbodyfont[mainface,10pt]

It doesn’t matter if the font statements are before or after \starttext

Then I thought, let’s test some other things. I logged in as another 
user, and used ConTeXt from TeX Live 2019:


It seems to be that on my system, the standalone installed ConTeXt 
does not work with Optima, but the TeX Live installed one does.


Can you try this:

\definefontfamily [mainface] [rm] [Optima]
  [it=optimaitalic,
   bf=optimabold,
   bi=optimabolditalic]

Wolfgang

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Henning Hraban Ramm


> Am 24.04.2020 um 08:48 schrieb Gerben Wierda :
> 
> Then I thought, let’s test some other things. I logged in as another user, 
> and used ConTeXt from TeX Live 2019:
> 
> 
> It seems to be that on my system, the standalone installed ConTeXt does not 
> work with Optima, but the TeX Live installed one does.

So what’s your ConTeXt version?

context --version
current version: 2020.01.30 14:13

luatex --version
This is LuaTeX, Version 1.11.1 (TeX Live 2020/dev)


Best, Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Gerben Wierda
With Arial:

\definefontfamily[mainface][rm][Arial]
\setupbodyfont[mainface,10pt]



with Optima:

\definefontfamily[mainface][rm][Optima]
\setupbodyfont[mainface,10pt]


It doesn’t matter if the font statements are before or after \starttext

Then I thought, let’s test some other things. I logged in as another user, and 
used ConTeXt from TeX Live 2019:


It seems to be that on my system, the standalone installed ConTeXt does not 
work with Optima, but the TeX Live installed one does.

G



> On 24 Apr 2020, at 08:09, Henning Hraban Ramm  wrote:
> 
> 
> 
>> Am 24.04.2020 um 05:19 schrieb kaddour kardio :
>> 
>> It's noticed that Optima is a Sans Serif font.
>> Maybe it conflicts with MacOS way to handle fonts. 
> 
> No, ConTeXt doesn’t care what kind of font you define as rm/ss/tt, and the OS 
> has no say in that.
> 
> Best, Hraban
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Gerben Wierda


> On 24 Apr 2020, at 08:53, Wolfgang Schuster 
>  wrote:
> 
> Can you try this:
> 
> \definefontfamily [mainface] [rm] [Optima]
>   [it=optimaitalic,
>bf=optimabold,
>bi=optimabolditalic]

I altready did that earlier as per the Wiki information (did not report it) and 
just tried again. No difference.

G

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Thomas A. Schmitz


> On 24. Apr 2020, at 09:21, Gerben Wierda  wrote:
> 
> 
> I altready did that earlier as per the Wiki information (did not report it) 
> and just tried again. No difference.

Steps to happiness:

1. Extract the ttc font to ttf
2. Copy the ttf files to your local texmf directory
3. reload the font cache
4. enrich your vocabulary by learning the words “thank you”
5. never have to deal with stupid people who didn’t read all 10,000 lines of 
the log file you posted
6. profit!

Thomas
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Benjamin Buchmuller
Although this specific issue might have been solved meanwhile by the helpful 
suggestions of Wolfang, Thomas and others, I would like to point out that I 
have recently also encountered an odd behaviour of the mtxrun fontloader in the 
standalone, in which not all typefaces are available/properly identified.

(I’m sorry to hijack this thread if this is unrelated.)

Basically, when I load “Helvetica Neue”, I get instead of “regular/normal” 
always “light/italic”.

I have switched to heros for the meantime, but potentially there is some bug 
behind this. (My documents with the version from Dec/Jan worked fine.)

I recite my example from Wed:

ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.22 (LuaTeX 1.11.1)

and I’m running now into troubles with system font indexing:

mtxrun --script fonts --reload

locates fonts in macOS directories appropriately (*.afm fonts placed in 
.../tex/texmf-fonts are not found, but at the moment I don’t care too much), 
however it resolves only to a single font variant for *.ttc instead of all 
variants:

mtxrun --script fonts --list --all --pattern=helvetica

helvetica helvetica
helveticalightoblique /System/Library/Fonts/Helvetica.ttc   
 6
helveticalightoblique helvetica
helveticalightoblique /System/Library/Fonts/Helvetica.ttc   
 6
helveticaneuedeskinterfaceheavy   helveticaneuedeskinterface   
helveticaneuedeskinterfaceheavy   
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
helveticaneuethinitalic   helveticaneue
helveticaneuethinitalic   /System/Library/Fonts/HelveticaNeue.ttc   
 14

As a consequence, when I run

\definefontfamily[mainface][ss][Helvetica Neue]
\setupbodyfont[mainface, 12pt, sans]

I get the light oblique variant instead of the regular one. I have tried to fix 
this via a 

\definefontfamily[mainface][ss][Helvetica Neue][tf=style:normal]

but apparently I understand too little about this setup altogether …

Thanks already for any suggestions!



> On 24 Apr 2020, at 08:53, ntg-context-requ...@ntg.nl wrote:
> 
> Send ntg-context mailing list submissions to
>   ntg-context@ntg.nl
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://mailman.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
>   ntg-context-requ...@ntg.nl
> 
> You can reach the person managing the list at
>   ntg-context-ow...@ntg.nl
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> Today's Topics:
> 
>   1. Re: Basic font question (Optima, but no bold, no italics).
>  Standalone ConTeXt does not work. TeX Live 2019 works
>  (Wolfgang Schuster)
> 
> From: Wolfgang Schuster 
> Subject: Re: [NTG-context] Basic font question (Optima, but no bold, no 
> italics). Standalone ConTeXt does not work. TeX Live 2019 works
> Date: 24 April 2020 at 08:53:52 CEST
> To: mailing list for ConTeXt users , Gerben Wierda 
> 
> 
> 
> Gerben Wierda schrieb am 24.04.2020 um 08:48:
>> With Arial:
>> 
>> \definefontfamily[mainface][rm][Arial]
>> \setupbodyfont[mainface,10pt]
>> 
>> 
>> 
>> with Optima:
>> 
>> \definefontfamily[mainface][rm][Optima]
>> \setupbodyfont[mainface,10pt]
>> 
>> 
>> It doesn’t matter if the font statements are before or after \starttext
>> 
>> Then I thought, let’s test some other things. I logged in as another user, 
>> and used ConTeXt from TeX Live 2019:
>> 
>> 
>> It seems to be that on my system, the standalone installed ConTeXt does not 
>> work with Optima, but the TeX Live installed one does.
> 
> Can you try this:
> 
> \definefontfamily [mainface] [rm] [Optima]
>   [it=optimaitalic,
>bf=optimabold,
>bi=optimabolditalic]
> 
> Wolfgang
> 
> 
> 
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Henning Hraban Ramm


> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller 
> :
> 
> Although this specific issue might have been solved meanwhile by the helpful 
> suggestions of Wolfang, Thomas and others, I would like to point out that I 
> have recently also encountered an odd behaviour of the mtxrun fontloader in 
> the standalone, in which not all typefaces are available/properly identified.
> 
> (I’m sorry to hijack this thread if this is unrelated.)
> 
> Basically, when I load “Helvetica Neue”, I get instead of “regular/normal” 
> always “light/italic”.
> 
> I have switched to heros for the meantime, but potentially there is some bug 
> behind this. (My documents with the version from Dec/Jan worked fine.)
> 
> I recite my example from Wed:
> 
> ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.22 (LuaTeX 1.11.1)
> 
> and I’m running now into troubles with system font indexing:
> 
> mtxrun --script fonts --reload
> 
> locates fonts in macOS directories appropriately (*.afm fonts placed in 
> .../tex/texmf-fonts are not found, but at the moment I don’t care too much), 
> however it resolves only to a single font variant for *.ttc instead of all 
> variants:
> 
> mtxrun --script fonts --list --all --pattern=helvetica
> 
> helvetica helvetica
> helveticalightoblique /System/Library/Fonts/Helvetica.ttc 
>6
> helveticalightoblique helvetica
> helveticalightoblique /System/Library/Fonts/Helvetica.ttc 
>6
> helveticaneuedeskinterfaceheavy   helveticaneuedeskinterface   
> helveticaneuedeskinterfaceheavy   
> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
> helveticaneuethinitalic   helveticaneue
> helveticaneuethinitalic   /System/Library/Fonts/HelveticaNeue.ttc 
>14

If the subfont is not listed, ConTeXt/mtxrun couldn’t find it and won’t find it 
regardless of your setup.

Try
mtxrun --script fonts --reload --force
maybe even twice or thrice and check again.
(Unfortunately this is not reliable.)

I get the full list:

identifier   familyname   fontname  
 filename   
subfont   instances

helveticahelveticahelvetica 
 /System/Library/Fonts/Helvetica.ttc
1
helveticaneueblack   helveticaneue
helveticaneuecondensedblack
/System/Library/Fonts/HelveticaNeue.ttc10
helveticaneuedeskinterfaceextrabold  helveticaneuedeskinterface   
helveticaneuedeskinterfaceheavy
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
helveticaneuedeskinterfaceextralight helveticaneuedeskinterface   
helveticaneuedeskinterfacethin 
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   8
helveticaneuedeskinterfacemedium helveticaneuedeskinterface   
helveticaneuedeskinterfacemediump4 
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   5
helveticaneuedeskinterfacemediumitalic   helveticaneuedeskinterface   
helveticaneuedeskinterfacemediumitalicp4   
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   6
helveticaneuedeskinterfacenormal helveticaneuedeskinterface   
helveticaneuedeskinterfaceregular  
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   1
helveticaneueextralight  helveticaneue
helveticaneuethin  
/System/Library/Fonts/HelveticaNeue.ttc13
helveticaneuenormal  helveticaneue
helveticaneue  
/System/Library/Fonts/HelveticaNeue.ttc1
helveticaneueregular helveticaneue
helveticaneue  
/System/Library/Fonts/HelveticaNeue.ttc1
helveticanormal  helveticahelvetica 
 /System/Library/Fonts/Helvetica.ttc
1
helveticaregular helveticahelvetica 
 /System/Library/Fonts/Helvetica.ttc
1



> As a consequence, when I run
> 
> \definefontfamily[mainface][ss][Helvetica Neue]
> \setupbodyfont[mainface, 12pt, sans]
> 
> I get the light oblique variant instead of the regular one. I have tried to 
> fix this via a 
> 
> \definefontfamily[mainface][ss][Helvetica Neue][tf=style:normal]

tf=helveticaregular
should work.


Best, Hraban

___
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

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater
Hi,

FYI, my "context mkiv” standalone seems to be fine (latest download). 
“lmtx” standalone (also latest download) not so much (same problems).

Looks like something is broken in ltmx’ TTC parser.

OS X Catalina 10.15.4

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Benjamin Buchmuller
Hi Hraban,

Thanks for the hint (and the proper fontfamily setup), I have forced reload ten 
times now from various accounts; the issue persists unfortunately. 

This might confirm Taco‘s notion that there is some bug lmtx. I’m running macOS 
Catalina too, but as it worked with the standalone of Dec/Jan three days ago, I 
suspect it is not because of a new feature in the OS, but rather an old feature 
in mtxrun or elsewhere having disappeared. 

> On 24. Apr 2020, at 11:35, Henning Hraban Ramm  wrote:
> 
> 
> 
>> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller 
>> :
>> 
>> Although this specific issue might have been solved meanwhile by the helpful 
>> suggestions of Wolfang, Thomas and others, I would like to point out that I 
>> have recently also encountered an odd behaviour of the mtxrun fontloader in 
>> the standalone, in which not all typefaces are available/properly identified.
>> 
>> (I’m sorry to hijack this thread if this is unrelated.)
>> 
>> Basically, when I load “Helvetica Neue”, I get instead of “regular/normal” 
>> always “light/italic”.
>> 
>> I have switched to heros for the meantime, but potentially there is some bug 
>> behind this. (My documents with the version from Dec/Jan worked fine.)
>> 
>> I recite my example from Wed:
>> 
>> ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.22 (LuaTeX 1.11.1)
>> 
>> and I’m running now into troubles with system font indexing:
>> 
>> mtxrun --script fonts --reload
>> 
>> locates fonts in macOS directories appropriately (*.afm fonts placed in 
>> .../tex/texmf-fonts are not found, but at the moment I don’t care too much), 
>> however it resolves only to a single font variant for *.ttc instead of all 
>> variants:
>> 
>> mtxrun --script fonts --list --all --pattern=helvetica
>> 
>> helvetica helvetica
>> helveticalightoblique /System/Library/Fonts/Helvetica.ttc
>> 6
>> helveticalightoblique helvetica
>> helveticalightoblique /System/Library/Fonts/Helvetica.ttc
>> 6
>> helveticaneuedeskinterfaceheavy   helveticaneuedeskinterface   
>> helveticaneuedeskinterfaceheavy   
>> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
>> helveticaneuethinitalic   helveticaneue
>> helveticaneuethinitalic   /System/Library/Fonts/HelveticaNeue.ttc
>> 14
> 
> If the subfont is not listed, ConTeXt/mtxrun couldn’t find it and won’t find 
> it regardless of your setup.
> 
> Try
> mtxrun --script fonts --reload --force
> maybe even twice or thrice and check again.
> (Unfortunately this is not reliable.)
> 
> I get the full list:
> 
> identifier   familyname   
> fontname   filename   
> subfont   instances
> 
> helveticahelvetica
> helvetica  
> /System/Library/Fonts/Helvetica.ttc1
> helveticaneueblack   helveticaneue
> helveticaneuecondensedblack
> /System/Library/Fonts/HelveticaNeue.ttc10
> helveticaneuedeskinterfaceextrabold  helveticaneuedeskinterface   
> helveticaneuedeskinterfaceheavy
> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
> helveticaneuedeskinterfaceextralight helveticaneuedeskinterface   
> helveticaneuedeskinterfacethin 
> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   8
> helveticaneuedeskinterfacemedium helveticaneuedeskinterface   
> helveticaneuedeskinterfacemediump4 
> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   5
> helveticaneuedeskinterfacemediumitalic   helveticaneuedeskinterface   
> helveticaneuedeskinterfacemediumitalicp4   
> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   6
> helveticaneuedeskinterfacenormal helveticaneuedeskinterface   
> helveticaneuedeskinterfaceregular  
> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   1
> helveticaneueextralight  helveticaneue
> helveticaneuethin  
> /System/Library/Fonts/HelveticaNeue.ttc13
> helveticaneuenormal  helveticaneue
> helveticaneue  
> /System/Library/Fonts/HelveticaNeue.ttc1
> helveticaneueregular helveticaneue
> helveticaneue  
> /System/Library/Fonts/HelveticaNeue.ttc1
> helveticanormal  helvetica
> helvetica  
> /System/Library/Fonts/Helvetica.ttc1
> helveticaregular helvetica
> helvetica  
> /System/Librar

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater


> On 24 Apr 2020, at 12:14, Benjamin Buchmuller  
> wrote:
> 
> Hi Hraban,
> 
> This might confirm Taco‘s notion that there is some bug lmtx. 

We have moved this off-list for a while. For now, if you have problems with 
lmtx, just
switch back to the regular mkiv standalone.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Gerben Wierda


> On 24 Apr 2020, at 11:56, Taco Hoekwater  wrote:
> 
> Hi,
> 
> FYI, my "context mkiv” standalone seems to be fine (latest download). 
> “lmtx” standalone (also latest download) not so much (same problems).

Thx. How do I get/install a ‘context mkiv’ standalone? The standalone on 
http://www.pragma-ade.com/install.htm  
is only LMTX.

G

> 
> Looks like something is broken in ltmx’ TTC parser.
> 
> OS X Catalina 10.15.4
> 
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater
See this link:

https://wiki.contextgarden.net/Mac_Installation


In particular, you need this set of shell commands from that page:

mkdir $HOME/context
cd $HOME/context
rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules=all --engine=luatex

but we are currently investigating whether the problem may be binary-related,
because my mkiv started getting issues as well, so that may or may not work.

Also, it is possible that fonts work even though

  mtxrun --script fonts --list --all —pattern

does not list them.

And no, we are not sure why yet.

Taco

> On 24 Apr 2020, at 14:24, Gerben Wierda  wrote:
> 
> 
> 
>> On 24 Apr 2020, at 11:56, Taco Hoekwater  wrote:
>> 
>> Hi,
>> 
>> FYI, my "context mkiv” standalone seems to be fine (latest download). 
>> “lmtx” standalone (also latest download) not so much (same problems).
> 
> Thx. How do I get/install a ‘context mkiv’ standalone? The standalone on 
> http://www.pragma-ade.com/install.htm is only LMTX.
> 
> G
> 
>> 
>> Looks like something is broken in ltmx’ TTC parser.
>> 
>> OS X Catalina 10.15.4
>> 
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ___
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

Taco Hoekwater
Elvenkind BV




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-26 Thread Benjamin Buchmuller
The problem seems to be resolved. Thanks to everyone, especially Hans, Taco and 
Wolfgang for the fast fix (offlist)!

After updating to

ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.26

Helvetica Neue works with:
==

\starttypescript [sans] [helvet]
   \setups[font:fallback:sans]
   \definefontsynonym [Sans]   [file:Helvetica Neue.ttc(Helvetica 
Neue)] [features=default]
   \definefontsynonym [SansBold]   [file:Helvetica Neue.ttc(Helvetica Neue 
Bold)]   [features=default]
   \definefontsynonym [SansItalic] [file:Helvetica Neue.ttc(Helvetica Neue 
Italic)]  [features=default]
   \definefontsynonym [SansBoldItalic] [file:Helvetica Neue.ttc(Helvetica Neue 
Bold Italic)] [features=default]
\stoptypescript

\definetypeface [helvet] [ss] [sans] [helvet] [default] 

\setupbodyfont [helvet, 12pt]

Optima works with:
==

\starttypescript [sans] [optima]
  \setups[font:fallback:sans]
  \definefontsynonym [Sans]   [file:Optima.ttc(Optima Regular)] 
[features=default]
  \definefontsynonym [SansBold]   [file:Optima.ttc(Optima Bold)]   
[features=default]
  \definefontsynonym [SansItalic] [file:Optima.ttc(Optima Italic)]  
[features=default]
  \definefontsynonym [SansBoldItalic] [file:Optima.ttc(Optima Bold Italic)] 
[features=default]
\stoptypescript

\definetypeface [optima] [ss] [sans] [optima] [default]

\setupbodyfont [optima]

\starttext
\tf Upright,
\bf Bold,
\it Italic,
\bi Bolditalic
\stoptext

Note 1: mtxrun --script fonts --list --all --pattern=helvetica etc. might still 
not display all variants correctly in the first place.

Note 2: There are predefined typescripts for Mac OS in ConTeXt 
(type-imp-osx.mkiv) but the file needs a update/cleanup.

> On 24 Apr 2020, at 12:14, Benjamin Buchmuller  
> wrote:
> 
> Hi Hraban,
> 
> Thanks for the hint (and the proper fontfamily setup), I have forced reload 
> ten times now from various accounts; the issue persists unfortunately. 
> 
> This might confirm Taco‘s notion that there is some bug lmtx. I’m running 
> macOS Catalina too, but as it worked with the standalone of Dec/Jan three 
> days ago, I suspect it is not because of a new feature in the OS, but rather 
> an old feature in mtxrun or elsewhere having disappeared. 
> 
>> On 24. Apr 2020, at 11:35, Henning Hraban Ramm  wrote:
>> 
>> 
>> 
>>> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller 
>>> :
>>> 
>>> Although this specific issue might have been solved meanwhile by the 
>>> helpful suggestions of Wolfang, Thomas and others, I would like to point 
>>> out that I have recently also encountered an odd behaviour of the mtxrun 
>>> fontloader in the standalone, in which not all typefaces are 
>>> available/properly identified.
>>> 
>>> (I’m sorry to hijack this thread if this is unrelated.)
>>> 
>>> Basically, when I load “Helvetica Neue”, I get instead of “regular/normal” 
>>> always “light/italic”.
>>> 
>>> I have switched to heros for the meantime, but potentially there is some 
>>> bug behind this. (My documents with the version from Dec/Jan worked fine.)
>>> 
>>> I recite my example from Wed:
>>> 
>>> ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.22 (LuaTeX 1.11.1)
>>> 
>>> and I’m running now into troubles with system font indexing:
>>> 
>>> mtxrun --script fonts --reload
>>> 
>>> locates fonts in macOS directories appropriately (*.afm fonts placed in 
>>> .../tex/texmf-fonts are not found, but at the moment I don’t care too 
>>> much), however it resolves only to a single font variant for *.ttc instead 
>>> of all variants:
>>> 
>>> mtxrun --script fonts --list --all --pattern=helvetica
>>> 
>>> helvetica helvetica
>>> helveticalightoblique /System/Library/Fonts/Helvetica.ttc   
>>>  6
>>> helveticalightoblique helvetica
>>> helveticalightoblique /System/Library/Fonts/Helvetica.ttc   
>>>  6
>>> helveticaneuedeskinterfaceheavy   helveticaneuedeskinterface   
>>> helveticaneuedeskinterfaceheavy   
>>> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
>>> helveticaneuethinitalic   helveticaneue
>>> helveticaneuethinitalic   /System/Library/Fonts/HelveticaNeue.ttc   
>>>  14
>> 
>> If the subfont is not listed, ConTeXt/mtxrun couldn’t find it and won’t find 
>> it regardless of your setup.
>> 
>> Try
>> mtxrun --script fonts --reload --force
>> maybe even twice or thrice and check again.
>> (Unfortunately this is not reliable.)
>> 
>> I get the full list:
>> 
>> identifier   familyname   
>> fontname   filename  
>>  subfont   instances
>> 
>> helveticahelvetica
>> helvetica  
>> /System/Library/Fonts/Helvetica.ttc