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
___________________________________________________________________________________