ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Basic font question
@ 2020-04-23 14:00 Gerben Wierda
  2020-04-23 14:16 ` Vladimir Lomov
  0 siblings, 1 reply; 25+ messages in thread
From: Gerben Wierda @ 2020-04-23 14:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On my Mac, I am trying:

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

{\bf Bold} and {\it Italic} and {\rm Regular} text.

What do I need to do to get actual bold and italics in my output?

Thx,

G

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question
  2020-04-23 14:00 Basic font question Gerben Wierda
@ 2020-04-23 14:16 ` Vladimir Lomov
  2020-04-23 14:22   ` Gerben Wierda
  0 siblings, 1 reply; 25+ messages in thread
From: Vladimir Lomov @ 2020-04-23 14:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:

> On my Mac, I am trying:

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

> {\bf Bold} and {\it Italic} and {\rm Regular} text.

https://wiki.contextgarden.net/Font_Switching

> What do I need to do to get actual bold and italics in my output?

\bi == \bf\it

Or by "actual bold" you mean something different?

> Thx,

> G

---
WBR, Vladimir Lomov

-- 
There has been an alarming increase in the number of things you know
nothing about.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question
  2020-04-23 14:16 ` Vladimir Lomov
@ 2020-04-23 14:22   ` Gerben Wierda
  2020-04-23 14:34     ` Henning Hraban Ramm
  0 siblings, 1 reply; 25+ messages in thread
From: Gerben Wierda @ 2020-04-23 14:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 23 Apr 2020, at 16:16, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
> 
> Hello,
> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:
> 
>> On my Mac, I am trying:
> 
>> \definefontfamily[mainface][rm][Optima]
>> \setupbodyfont[mainface,10pt]
> 
>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
> 
> https://wiki.contextgarden.net/Font_Switching
> 
>> What do I need to do to get actual bold and italics in my output?
> 
> \bi == \bf\it
> 
> Or by "actual bold" you mean something different?

Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it

G

> 
>> Thx,
> 
>> G
> 
> ---
> WBR, Vladimir Lomov
> 
> -- 
> There has been an alarming increase in the number of things you know
> nothing about.
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________

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

* Re: Basic font question
  2020-04-23 14:22   ` Gerben Wierda
@ 2020-04-23 14:34     ` Henning Hraban Ramm
  2020-04-23 14:42       ` Gerben Wierda
  0 siblings, 1 reply; 25+ messages in thread
From: Henning Hraban Ramm @ 2020-04-23 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 23.04.2020 um 16:22 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
> 
> 
>> On 23 Apr 2020, at 16:16, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
>> 
>> Hello,
>> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:
>> 
>>> On my Mac, I am trying:
>> 
>>> \definefontfamily[mainface][rm][Optima]
>>> \setupbodyfont[mainface,10pt]
>> 
>>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>> 
>> https://wiki.contextgarden.net/Font_Switching
>> 
>>> What do I need to do to get actual bold and italics in my output?
>> 
>> \bi == \bf\it
>> 
>> Or by "actual bold" you mean something different?
> 
> Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it

What do you get from
mtxrun --script=fonts --list --all --pattern=Optima
?

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
___________________________________________________________________________________

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

* Re: Basic font question
  2020-04-23 14:34     ` Henning Hraban Ramm
@ 2020-04-23 14:42       ` Gerben Wierda
  2020-04-23 17:18         ` Henning Hraban Ramm
  0 siblings, 1 reply; 25+ messages in thread
From: Gerben Wierda @ 2020-04-23 14:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
> 
>> 
>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>> 
>> 
>>> On 23 Apr 2020, at 16:16, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
>>> 
>>> Hello,
>>> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:
>>> 
>>>> On my Mac, I am trying:
>>> 
>>>> \definefontfamily[mainface][rm][Optima]
>>>> \setupbodyfont[mainface,10pt]
>>> 
>>>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>>> 
>>> https://wiki.contextgarden.net/Font_Switching
>>> 
>>>> What do I need to do to get actual bold and italics in my output?
>>> 
>>> \bi == \bf\it
>>> 
>>> Or by "actual bold" you mean something different?
>> 
>> Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it
> 
> What do you get from
> mtxrun --script=fonts --list --all --pattern=Optima

hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all --pattern=optima
identifier         familyname   fontname           filename                           subfont   instances

optimablack        optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
optimabold         optima       optimabold         /System/Library/Fonts/Optima.ttc   2
optimabolditalic   optima       optimabolditalic   /System/Library/Fonts/Optima.ttc   4
optimaextrablack   optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
optimaitalic       optima       optimaitalic       /System/Library/Fonts/Optima.ttc   3
optimanormal       optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
optimaregular      optima       optimaregular      /System/Library/Fonts/Optima.ttc   1

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


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question
  2020-04-23 14:42       ` Gerben Wierda
@ 2020-04-23 17:18         ` Henning Hraban Ramm
  2020-04-23 21:57           ` Basic font question (Optima, but no bold, no italics) Gerben Wierda
  0 siblings, 1 reply; 25+ messages in thread
From: Henning Hraban Ramm @ 2020-04-23 17:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> 
>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
>> 
>>> 
>>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>> 
>>> 
>>> 
>>>> On 23 Apr 2020, at 16:16, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
>>>> 
>>>> Hello,
>>>> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:
>>>> 
>>>>> On my Mac, I am trying:
>>>> 
>>>>> \definefontfamily[mainface][rm][Optima]
>>>>> \setupbodyfont[mainface,10pt]
>>>> 
>>>>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>>>> 
>>>> https://wiki.contextgarden.net/Font_Switching
>>>> 
>>>>> What do I need to do to get actual bold and italics in my output?
>>>> 
>>>> \bi == \bf\it
>>>> 
>>>> Or by "actual bold" you mean something different?
>>> 
>>> Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it
>> 
>> What do you get from
>> mtxrun --script=fonts --list --all --pattern=Optima
> 
> hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all --pattern=optima
> identifier         familyname   fontname           filename                           subfont   instances
> 
> optimablack        optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
> optimabold         optima       optimabold         /System/Library/Fonts/Optima.ttc   2
> optimabolditalic   optima       optimabolditalic   /System/Library/Fonts/Optima.ttc   4
> optimaextrablack   optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
> optimaitalic       optima       optimaitalic       /System/Library/Fonts/Optima.ttc   3
> optimanormal       optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
> optimaregular      optima       optimaregular      /System/Library/Fonts/Optima.ttc   1

Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache, then it looked like yours.

And the minimal example (plus \starttext ... \stoptext) worked.

(Latest ConTeXt on MacOS Mojave.)

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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics)
  2020-04-23 17:18         ` Henning Hraban Ramm
@ 2020-04-23 21:57           ` Gerben Wierda
  2020-04-24  0:10             ` Vladimir Lomov
  0 siblings, 1 reply; 25+ messages in thread
From: Gerben Wierda @ 2020-04-23 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml@fiee.net> wrote:
> 
>> 
>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>>> 
>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
>>> 
>>>> 
>>>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>>> 
>>>> 
>>>> 
>>>>> On 23 Apr 2020, at 16:16, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
>>>>> 
>>>>> Hello,
>>>>> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:
>>>>> 
>>>>>> On my Mac, I am trying:
>>>>> 
>>>>>> \definefontfamily[mainface][rm][Optima]
>>>>>> \setupbodyfont[mainface,10pt]
>>>>> 
>>>>>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>>>>> 
>>>>> https://wiki.contextgarden.net/Font_Switching
>>>>> 
>>>>>> What do I need to do to get actual bold and italics in my output?
>>>>> 
>>>>> \bi == \bf\it
>>>>> 
>>>>> Or by "actual bold" you mean something different?
>>>> 
>>>> Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it
>>> 
>>> What do you get from
>>> mtxrun --script=fonts --list --all --pattern=Optima
>> 
>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all --pattern=optima
>> identifier         familyname   fontname           filename                           subfont   instances
>> 
>> optimablack        optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
>> optimabold         optima       optimabold         /System/Library/Fonts/Optima.ttc   2
>> optimabolditalic   optima       optimabolditalic   /System/Library/Fonts/Optima.ttc   4
>> optimaextrablack   optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
>> optimaitalic       optima       optimaitalic       /System/Library/Fonts/Optima.ttc   3
>> optimanormal       optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
>> optimaregular      optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
> 
> Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache, then it looked like yours.
> 
> And the minimal example (plus \starttext ... \stoptext) worked.
> 
> (Latest ConTeXt on MacOS Mojave.)


No such luck for me. Any help welcome. I did remove the macOS font cache with sudo atsutil databases -remove and I rebooted. I am running an up to date macOS Mojave.

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

{\bf Bold} and {\it Italic} and {\rm Regular} text.
\stoptext

results in



Gerben Wierda
Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
Architecture for Real Enterprises <https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld
On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ

Console:

$ context test.tex

resolvers       | formats | executing runner 'run luametatex format': /usr/local/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="test" --fmt=/usr/local/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/usr/local/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/local/context-osx-64/tex/texmf-osx-64/bin"
This is LuaMetaTeX, Version 2.05.01 
open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.04.03 10:31 MKIV beta  fmt: 2020.4.7  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/usr/local/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/usr/local/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './test.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file '/usr/local/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 3, name './test.tex'
close source    > level 1, order 3, name 'cont-yes.mkiv'

mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /usr/local/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.361 sec), 93 tables (0.021 sec), 561 chunks (0.382 sec)
mkiv lua stats  > traced context: maxstack: 1414, freed: 0, unreachable: 1414
mkiv lua stats  > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances (re)created, 36 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: internal: 100, file: 142, direct: 2, late: 0, function 1222, total: 1466
mkiv lua stats  > randomizer: resumed with value 0.43716649460098
mkiv lua stats  > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 3 files: optima.ttc, latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 13 instances, 6 shared in backend, 4 common vectors, 2 common hashes, load time 0.447 seconds 
mkiv lua stats  > font embedding time: 0.008 seconds, 1 fonts
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.0501, functionality level: 20200402, format id: 491, compiler: clang
mkiv lua stats  > control sequences: 46577 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 55 MB, ctx: 54 MB, max: 54 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 1.035 seconds, 1 processed pages, 1 shipped pages, 0.966 pages/second
system          | total runtime: 1.060 seconds of 1.181 seconds


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


[-- Attachment #1.2.1: Type: text/html, Size: 33376 bytes --]

[-- Attachment #1.2.2: PastedGraphic-1.png --]
[-- Type: image/png, Size: 12903 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics)
  2020-04-23 21:57           ` Basic font question (Optima, but no bold, no italics) Gerben Wierda
@ 2020-04-24  0:10             ` Vladimir Lomov
  2020-04-24  3:19               ` kaddour kardio
  2020-04-24  6:08               ` Basic font question (Optima, but no bold, no italics) Henning Hraban Ramm
  0 siblings, 2 replies; 25+ messages in thread
From: Vladimir Lomov @ 2020-04-24  0:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 23:57:26 +0200]:

>> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml@fiee.net> wrote:
>> 
>>> 
>>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>> 
>>>> 
>>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
>>>> 

[...]

>>>> What do you get from
>>>> mtxrun --script=fonts --list --all --pattern=Optima
>>> 
>>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all --pattern=optima
>>> identifier         familyname   fontname           filename                           subfont   instances
>>> 
>>> optimablack        optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
>>> optimabold         optima       optimabold         /System/Library/Fonts/Optima.ttc   2
>>> optimabolditalic   optima       optimabolditalic   /System/Library/Fonts/Optima.ttc   4
>>> optimaextrablack   optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
>>> optimaitalic       optima       optimaitalic       /System/Library/Fonts/Optima.ttc   3
>>> optimanormal       optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
>>> optimaregular      optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
>> 
>> Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache, then it looked like yours.
>> 
>> And the minimal example (plus \starttext ... \stoptext) worked.
>> 
>> (Latest ConTeXt on MacOS Mojave.)

> No such luck for me. Any help welcome. I did remove the macOS font cache
> with sudo atsutil databases -remove and I rebooted. I am running an up to
> date macOS Mojave.

I think Henning Hraban Ramm meant not OS font cache (but may be including it,
I'm not a Mac OS user) but context font cache. Run

$ mtxrun --script fonts --reload --force

and try above '--list --all ...' command again and your example:

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

> {\bf Bold} and {\it Italic} and {\rm Regular} text.
> \stoptext

Hope this will resolve you issue.

[...]

---
WBR, Vladimir Lomov

-- 
Practically perfect people never permit sentiment to muddle their thinking.
		-- Mary Poppins

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics)
  2020-04-24  0:10             ` Vladimir Lomov
@ 2020-04-24  3:19               ` kaddour kardio
  2020-04-24  6:09                 ` Henning Hraban Ramm
  2020-04-24  6:08               ` Basic font question (Optima, but no bold, no italics) Henning Hraban Ramm
  1 sibling, 1 reply; 25+ messages in thread
From: kaddour kardio @ 2020-04-24  3:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Vladimir Lomov


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

It's noticed that Optima is a Sans Serif font.
Maybe it conflicts with MacOS way to handle fonts.


Le ven. 24 avr. 2020 à 01:10, Vladimir Lomov <lomov.vl@yandex.ru> a écrit :

> Hello,
> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 23:57:26 +0200]:
>
> >> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml@fiee.net> wrote:
> >>
> >>>
> >>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> >>>
> >>>>
> >>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
> >>>>
>
> [...]
>
> >>>> What do you get from
> >>>> mtxrun --script=fonts --list --all --pattern=Optima
> >>>
> >>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list
> --all --pattern=optima
> >>> identifier         familyname   fontname           filename
>                subfont   instances
> >>>
> >>> optimablack        optima       optimaextrablack
>  /System/Library/Fonts/Optima.ttc   5
> >>> optimabold         optima       optimabold
>  /System/Library/Fonts/Optima.ttc   2
> >>> optimabolditalic   optima       optimabolditalic
>  /System/Library/Fonts/Optima.ttc   4
> >>> optimaextrablack   optima       optimaextrablack
>  /System/Library/Fonts/Optima.ttc   5
> >>> optimaitalic       optima       optimaitalic
>  /System/Library/Fonts/Optima.ttc   3
> >>> optimanormal       optima       optimaregular
> /System/Library/Fonts/Optima.ttc   1
> >>> optimaregular      optima       optimaregular
> /System/Library/Fonts/Optima.ttc   1
> >>
> >> Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache,
> then it looked like yours.
> >>
> >> And the minimal example (plus \starttext ... \stoptext) worked.
> >>
> >> (Latest ConTeXt on MacOS Mojave.)
>
> > No such luck for me. Any help welcome. I did remove the macOS font cache
> > with sudo atsutil databases -remove and I rebooted. I am running an up to
> > date macOS Mojave.
>
> I think Henning Hraban Ramm meant not OS font cache (but may be including
> it,
> I'm not a Mac OS user) but context font cache. Run
>
> $ mtxrun --script fonts --reload --force
>
> and try above '--list --all ...' command again and your example:
>
> > \starttext
> > \definefontfamily[mainface][rm][Optima]
> > \setupbodyfont[mainface,10pt]
>
> > {\bf Bold} and {\it Italic} and {\rm Regular} text.
> > \stoptext
>
> Hope this will resolve you issue.
>
> [...]
>
> ---
> WBR, Vladimir Lomov
>
> --
> Practically perfect people never permit sentiment to muddle their thinking.
>                 -- Mary Poppins
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics)
  2020-04-24  0:10             ` Vladimir Lomov
  2020-04-24  3:19               ` kaddour kardio
@ 2020-04-24  6:08               ` Henning Hraban Ramm
  1 sibling, 0 replies; 25+ messages in thread
From: Henning Hraban Ramm @ 2020-04-24  6:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 24.04.2020 um 02:10 schrieb Vladimir Lomov <lomov.vl@yandex.ru>:
> 
> 
> I think Henning Hraban Ramm meant not OS font cache (but may be including it,
> I'm not a Mac OS user) but context font cache. Run
> 
> $ mtxrun --script fonts --reload --force
> 
> and try above '--list --all ...' command again

No, since all the subfonts were already found, that’s not the problem.


> and your example:
> 
>> \starttext
>> \definefontfamily[mainface][rm][Optima]
>> \setupbodyfont[mainface,10pt]
> 
>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>> \stoptext

The font definition belongs before \starttext. Good if it works...

But Gerben’s example was lacking \starttext .. \stoptext – didn’t try, but that might be the culprit.

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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics)
  2020-04-24  3:19               ` kaddour kardio
@ 2020-04-24  6:09                 ` Henning Hraban Ramm
  2020-04-24  6:48                   ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Gerben Wierda
  0 siblings, 1 reply; 25+ messages in thread
From: Henning Hraban Ramm @ 2020-04-24  6:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 24.04.2020 um 05:19 schrieb kaddour kardio <kaddourkardio@gmail.com>:
> 
> 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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  6:09                 ` Henning Hraban Ramm
@ 2020-04-24  6:48                   ` Gerben Wierda
  2020-04-24  6:53                     ` Wolfgang Schuster
  2020-04-24  6:54                     ` Henning Hraban Ramm
  0 siblings, 2 replies; 25+ messages in thread
From: Gerben Wierda @ 2020-04-24  6:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <texml@fiee.net> wrote:
> 
> 
> 
>> Am 24.04.2020 um 05:19 schrieb kaddour kardio <kaddourkardio@gmail.com>:
>> 
>> 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
> ___________________________________________________________________________________


[-- Attachment #1.2.1: Type: text/html, Size: 4321 bytes --]

[-- Attachment #1.2.2: PastedGraphic-1.png --]
[-- Type: image/png, Size: 15536 bytes --]

[-- Attachment #1.2.3: PastedGraphic-2.png --]
[-- Type: image/png, Size: 14342 bytes --]

[-- Attachment #1.2.4: PastedGraphic-3.png --]
[-- Type: image/png, Size: 15143 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  6:48                   ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Gerben Wierda
@ 2020-04-24  6:53                     ` Wolfgang Schuster
  2020-04-24  7:21                       ` Gerben Wierda
  2020-04-24  6:54                     ` Henning Hraban Ramm
  1 sibling, 1 reply; 25+ messages in thread
From: Wolfgang Schuster @ 2020-04-24  6:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Gerben Wierda


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

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


[-- Attachment #1.2.1: Type: text/html, Size: 2976 bytes --]

[-- Attachment #1.2.2: image.png --]
[-- Type: image/png, Size: 11163 bytes --]

[-- Attachment #1.2.3: image.png --]
[-- Type: image/png, Size: 9699 bytes --]

[-- Attachment #1.2.4: image.png --]
[-- Type: image/png, Size: 11575 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  6:48                   ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Gerben Wierda
  2020-04-24  6:53                     ` Wolfgang Schuster
@ 2020-04-24  6:54                     ` Henning Hraban Ramm
  2020-04-24  7:19                       ` ConTeXt beta issue? Was: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt (beta) " Gerben Wierda
  1 sibling, 1 reply; 25+ messages in thread
From: Henning Hraban Ramm @ 2020-04-24  6:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 24.04.2020 um 08:48 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
> Then I thought, let’s test some other things. I logged in as another user, and used ConTeXt from TeX Live 2019:
> 
> <PastedGraphic-3.png>
> 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
___________________________________________________________________________________

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

* ConTeXt beta issue? Was: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt (beta) does not work. TeX Live 2019 works
  2020-04-24  6:54                     ` Henning Hraban Ramm
@ 2020-04-24  7:19                       ` Gerben Wierda
  0 siblings, 0 replies; 25+ messages in thread
From: Gerben Wierda @ 2020-04-24  7:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

As per the fuller console output I included (where you can find all the details of the run as put out by ConTeXt):

This is LuaMetaTeX, Version 2.05.01 
open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.04.03 10:31 MKIV beta  fmt: 2020.4.7  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded

If the standalone is used, it doesn’t work. If TeX Live 2019 is used, it does work.

Note, there is no ‘luatex’ command in the standalone. And I get a different output from the --version command for context:

$ context --version
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /usr/local/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2019.07.24 11:31
mtx-context     | main context file: /usr/local/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.02.17 19:36

The version differences probably from

system          > beware: some patches loaded from cont-new.mkiv

I seem to be running a beta. I seem to recall I installed that because Hans patched something, but I am uncertain. Hans?

G

> On 24 Apr 2020, at 08:54, Henning Hraban Ramm <texml@fiee.net> wrote:
> 
> 
> 
>> Am 24.04.2020 um 08:48 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>> Then I thought, let’s test some other things. I logged in as another user, and used ConTeXt from TeX Live 2019:
>> 
>> <PastedGraphic-3.png>
>> 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
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  6:53                     ` Wolfgang Schuster
@ 2020-04-24  7:21                       ` Gerben Wierda
  2020-04-24  7:37                         ` Thomas A. Schmitz
  0 siblings, 1 reply; 25+ messages in thread
From: Gerben Wierda @ 2020-04-24  7:21 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users


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



> On 24 Apr 2020, at 08:53, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  7:21                       ` Gerben Wierda
@ 2020-04-24  7:37                         ` Thomas A. Schmitz
  0 siblings, 0 replies; 25+ messages in thread
From: Thomas A. Schmitz @ 2020-04-24  7:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 24. Apr 2020, at 09:21, Gerben Wierda <gerben.wierda@rna.nl> 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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24 10:14 Benjamin Buchmuller
  2020-04-24 10:18 ` Taco Hoekwater
@ 2020-04-26 12:22 ` Benjamin Buchmuller
  1 sibling, 0 replies; 25+ messages in thread
From: Benjamin Buchmuller @ 2020-04-26 12:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <benjamin.buchmuller@gmail.com> 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 <texml@fiee.net> wrote:
>> 
>> 
>> 
>>> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller <benjamin.buchmuller@gmail.com>:
>>> 
>>> 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
>> 
>> helvetica                                helvetica                    helvetica                                  /System/Library/Fonts/Helvetica.ttc                    1
>> helveticaneueblack                       helveticaneue                helveticaneuecondensedblack                /System/Library/Fonts/HelveticaNeue.ttc                10
>> 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.ttc                13
>> helveticaneuenormal                      helveticaneue                helveticaneue                              /System/Library/Fonts/HelveticaNeue.ttc                1
>> helveticaneueregular                     helveticaneue                helveticaneue                              /System/Library/Fonts/HelveticaNeue.ttc                1
>> helveticanormal                          helvetica                    helvetica                                  /System/Library/Fonts/Helvetica.ttc                    1
>> helveticaregular                         helvetica                    helvetica                                  /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.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24 12:24       ` Gerben Wierda
@ 2020-04-24 12:42         ` Taco Hoekwater
  0 siblings, 0 replies; 25+ messages in thread
From: Taco Hoekwater @ 2020-04-24 12:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <gerben.wierda@rna.nl> wrote:
> 
> 
> 
>> On 24 Apr 2020, at 11:56, Taco Hoekwater <taco@elvenkind.com> 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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  9:56     ` Taco Hoekwater
@ 2020-04-24 12:24       ` Gerben Wierda
  2020-04-24 12:42         ` Taco Hoekwater
  0 siblings, 1 reply; 25+ messages in thread
From: Gerben Wierda @ 2020-04-24 12:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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



> On 24 Apr 2020, at 11:56, Taco Hoekwater <taco@elvenkind.com> 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 <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
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24 10:14 Benjamin Buchmuller
@ 2020-04-24 10:18 ` Taco Hoekwater
  2020-04-26 12:22 ` Benjamin Buchmuller
  1 sibling, 0 replies; 25+ messages in thread
From: Taco Hoekwater @ 2020-04-24 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 24 Apr 2020, at 12:14, Benjamin Buchmuller <benjamin.buchmuller@gmail.com> 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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
@ 2020-04-24 10:14 Benjamin Buchmuller
  2020-04-24 10:18 ` Taco Hoekwater
  2020-04-26 12:22 ` Benjamin Buchmuller
  0 siblings, 2 replies; 25+ messages in thread
From: Benjamin Buchmuller @ 2020-04-24 10:14 UTC (permalink / raw)
  To: Henning Hraban Ramm; +Cc: mailing list for ConTeXt users

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 <texml@fiee.net> wrote:
> 
> 
> 
>> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller <benjamin.buchmuller@gmail.com>:
>> 
>> 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
> 
> helvetica                                helvetica                    helvetica                                  /System/Library/Fonts/Helvetica.ttc                    1
> helveticaneueblack                       helveticaneue                helveticaneuecondensedblack                /System/Library/Fonts/HelveticaNeue.ttc                10
> 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.ttc                13
> helveticaneuenormal                      helveticaneue                helveticaneue                              /System/Library/Fonts/HelveticaNeue.ttc                1
> helveticaneueregular                     helveticaneue                helveticaneue                              /System/Library/Fonts/HelveticaNeue.ttc                1
> helveticanormal                          helvetica                    helvetica                                  /System/Library/Fonts/Helvetica.ttc                    1
> helveticaregular                         helvetica                    helvetica                                  /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.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  9:35   ` Henning Hraban Ramm
@ 2020-04-24  9:56     ` Taco Hoekwater
  2020-04-24 12:24       ` Gerben Wierda
  0 siblings, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2020-04-24  9:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
  2020-04-24  9:13 ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Benjamin Buchmuller
@ 2020-04-24  9:35   ` Henning Hraban Ramm
  2020-04-24  9:56     ` Taco Hoekwater
  0 siblings, 1 reply; 25+ messages in thread
From: Henning Hraban Ramm @ 2020-04-24  9:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller <benjamin.buchmuller@gmail.com>:
> 
> 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

helvetica                                helvetica                    helvetica                                  /System/Library/Fonts/Helvetica.ttc                    1
helveticaneueblack                       helveticaneue                helveticaneuecondensedblack                /System/Library/Fonts/HelveticaNeue.ttc                10
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.ttc                13
helveticaneuenormal                      helveticaneue                helveticaneue                              /System/Library/Fonts/HelveticaNeue.ttc                1
helveticaneueregular                     helveticaneue                helveticaneue                              /System/Library/Fonts/HelveticaNeue.ttc                1
helveticanormal                          helvetica                    helvetica                                  /System/Library/Fonts/Helvetica.ttc                    1
helveticaregular                         helvetica                    helvetica                                  /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.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
       [not found] <mailman.295.1587711236.1194.ntg-context@ntg.nl>
@ 2020-04-24  9:13 ` Benjamin Buchmuller
  2020-04-24  9:35   ` Henning Hraban Ramm
  0 siblings, 1 reply; 25+ messages in thread
From: Benjamin Buchmuller @ 2020-04-24  9:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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-request@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-request@ntg.nl
> 
> You can reach the person managing the list at
> 	ntg-context-owner@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 <wolfgang.schuster.lists@gmail.com>
> 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 <ntg-context@ntg.nl>, Gerben Wierda <gerben.wierda@rna.nl>
> 
> 
> Gerben Wierda schrieb am 24.04.2020 um 08:48:
>> With Arial:
>> 
>> \definefontfamily[mainface][rm][Arial]
>> \setupbodyfont[mainface,10pt]
>> 
>> <image.png>
>> 
>> with Optima:
>> 
>> \definefontfamily[mainface][rm][Optima]
>> \setupbodyfont[mainface,10pt]
>> 
>> <image.png>
>> 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:
>> 
>> <image.png>
>> 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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-04-26 12:22 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23 14:00 Basic font question Gerben Wierda
2020-04-23 14:16 ` Vladimir Lomov
2020-04-23 14:22   ` Gerben Wierda
2020-04-23 14:34     ` Henning Hraban Ramm
2020-04-23 14:42       ` Gerben Wierda
2020-04-23 17:18         ` Henning Hraban Ramm
2020-04-23 21:57           ` Basic font question (Optima, but no bold, no italics) Gerben Wierda
2020-04-24  0:10             ` Vladimir Lomov
2020-04-24  3:19               ` kaddour kardio
2020-04-24  6:09                 ` Henning Hraban Ramm
2020-04-24  6:48                   ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Gerben Wierda
2020-04-24  6:53                     ` Wolfgang Schuster
2020-04-24  7:21                       ` Gerben Wierda
2020-04-24  7:37                         ` Thomas A. Schmitz
2020-04-24  6:54                     ` Henning Hraban Ramm
2020-04-24  7:19                       ` ConTeXt beta issue? Was: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt (beta) " Gerben Wierda
2020-04-24  6:08               ` Basic font question (Optima, but no bold, no italics) Henning Hraban Ramm
     [not found] <mailman.295.1587711236.1194.ntg-context@ntg.nl>
2020-04-24  9:13 ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Benjamin Buchmuller
2020-04-24  9:35   ` Henning Hraban Ramm
2020-04-24  9:56     ` Taco Hoekwater
2020-04-24 12:24       ` Gerben Wierda
2020-04-24 12:42         ` Taco Hoekwater
2020-04-24 10:14 Benjamin Buchmuller
2020-04-24 10:18 ` Taco Hoekwater
2020-04-26 12:22 ` Benjamin Buchmuller

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