From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, NO_RECEIVED,NO_RELAYS,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/118008 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: {\rm foo {\it bar}} Date: Tue, 4 Jul 2023 23:48:04 +0200 Message-ID: <6A65203E-8E78-45A2-8244-E12B251EDD91@rna.nl> References: <6530e87e-8662-4be1-c2e6-b1b84a5d37f8@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: multipart/mixed; boundary="===============2591717818022687556==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20477"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Archived-At: Original-X-From: ntg-context-bounces+gctc-ntg-context-518=m.gmane-mx.org@ntg.nl Tue Jul 04 23:48:46 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from cgl.ntg.nl ([5.39.185.202]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qGnt6-0005Bu-Iv for gctc-ntg-context-518@m.gmane-mx.org; Tue, 04 Jul 2023 23:48:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0B677481FA4 for ; Tue, 4 Jul 2023 23:48:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VmocfWA6nwtK for ; Tue, 4 Jul 2023 23:48:16 +0200 (CEST) Original-Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DBE7D481FE1 for ; Tue, 4 Jul 2023 23:48:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 667BF481F0E for ; Tue, 4 Jul 2023 23:48:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hO-kOy8trrcl for ; Tue, 4 Jul 2023 23:48:08 +0200 (CEST) Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 41641481F0A for ; Tue, 4 Jul 2023 23:48:08 +0200 (CEST) Original-Received: from smtpclient.apple (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by albus.rna.nl (Postfix) with ESMTPSA id A3E4318F87BF9 for ; Tue, 4 Jul 2023 23:48:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1688507284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9bVjpvzYY2WlDn6MkfBwR2R/qe6npxiK8HcZEHLNjjQ=; b=P6yOSiMMTaQCAkWvkSi/KNAE32au5F8c8W3TWgv5JJCzhaSzYliDxYfJOowa9N6OPMV0Bv hF4piia6KkVso4YCEz+DZs8LVvfXx+Ns0C2qSpTeFXZJpchZhKy6RHhyasmHnYPFVLmure Hg0yq9fvrLfg2Se2JoGZV/uQ2O3Db4NzHAN/hvbFDkZc3f9Cj2g+pkxbA4q3cncZdj2D5N PavNHWgqt3x1US3wHMWSLN/NA0qxSljVT3xUp5aJryizsJwA3/lTbVpAoqfHwGqgwlV7OT VyeTKOYu84NCs2bAhzCFFMWoS6fdJtvJY3tY/nk1LVzQxJRpMs4EcONja9XySA== In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) Message-ID-Hash: VIYKTF3E5ZNABCBGO7TGQNKR4CWRHJNB X-Message-ID-Hash: VIYKTF3E5ZNABCBGO7TGQNKR4CWRHJNB X-MailFrom: gerben.wierda@rna.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: mailing list for ConTeXt users List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Xref: news.gmane.io gmane.comp.tex.context:118008 Archived-At: --===============2591717818022687556== Content-Type: multipart/alternative; boundary="Apple-Mail=_5F04C327-229E-41BD-9A3E-4C6D4BCBC369" --Apple-Mail=_5F04C327-229E-41BD-9A3E-4C6D4BCBC369 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Also doesn't work with ConTeXt ver: 2023.06.22 14:13 LMTX fmt: = 2023.7.4 int: english/english > On 4 Jul 2023, at 23:42, Gerben Wierda wrote: >=20 >=20 >=20 >> On 4 Jul 2023, at 23:26, Wolfgang Schuster = > wrote: >>=20 >> Gerben Wierda schrieb am 04.07.2023 um 23:17: >>> After erasing the font cache and regenerating LM was doing it right = again. >>>=20 >>> Helvetica did not, but maybe I made a mistake in >>>=20 >>> \definefontfamily >>> [helvetica] >>> [ss] >>> [Helvetica] >>> [tf=3Dstyle:Regular, >>> bf=3Dstyle:Bold, >>> it=3Dstyle:Oblique, >>> bi=3Dstyle:Bold Oblique] >>=20 >> Does it work when you remove the manual assignments to tf, it, etc. = or when you use lowercase names (without spaces), e.g. "bi=3Dboldoblique" = (or "bi=3Dbolditalic"). >=20 > No and no. With th elatter it doesn't load Helvetica at all, Error = shown: > selectfont > the requested font 'Helvetica' has no files for the = 'tf' alternative, Latin Modern is used instead. > mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, = lmroman10-italic.otf, lmroman10-regular.otf, lmsans10-regular.otf >=20 > With my original it does load (but no italic): > mkiv lua stats > loaded fonts: 4 files: helvetica.ttc, = latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf >=20 >=20 > Erase cache, regenerate formats, reload fonts (force) does give = another (probably unrelated) error: >=20 > fonts | names | identifying system font files with suffix = 'ttf' > fonts | names | globbing path '/Library/Fonts/**.ttf' > fonts | names | globbing path '/System/Library/Fonts/**.ttf' > otf reader | fatal error in file = '/System/Library/Fonts/SFCompactRounded.ttf': = ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: = attempt to index a nil value (field '?') > stack traceback: > = ...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2344: in = metamethod 'index' > = ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: in = local 'reader' > = ...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2089: in = upvalue 'readtable' >=20 >=20 > Gerben Wierda (LinkedIn , = Mastodon ) > R&A IT Strategy (main site) > Book: Chess and the Art of Enterprise=C2=A0Architecture = > Book: Mastering ArchiMate >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = https://www.ntg.nl/mailman/listinfo/ntg-context = > webpage : https://www.pragma-ade.nl / = http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ = > wiki : https://contextgarden.net > = __________________________________________________________________________= _________ Gerben Wierda (LinkedIn , = Mastodon ) R&A IT Strategy (main site) Book: Chess and the Art of Enterprise=C2=A0Architecture = Book: Mastering ArchiMate --Apple-Mail=_5F04C327-229E-41BD-9A3E-4C6D4BCBC369 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Also = doesn't work with ConTeXt  ver: 2023.06.22 14:13 = LMTX  fmt: 2023.7.4  int: english/english

On 4 Jul = 2023, at 23:42, Gerben Wierda <gerben.wierda@rna.nl> wrote:



On 4 Jul 2023, at 23:26, = Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

Gerben Wierda schrieb am 04.07.2023 um = 23:17:
After erasing the font cache and regenerating LM was = doing it right again.

Helvetica did not, but maybe I made a mistake in

\definefontfamily
  = [helvetica]
  [ss]
  = [Helvetica]
  [tf=3Dstyle:Regular,
   = bf=3Dstyle:Bold,
   it=3Dstyle:Oblique,
   = bi=3Dstyle:Bold Oblique]

Does it work when you remove the manual assignments to tf, = it, etc. or when you use lowercase names (without spaces), e.g. = "bi=3Dboldoblique" (or "bi=3Dbolditalic").

No and no. With th elatter it doesn't = load Helvetica at all, Error shown:
selectfont  =     > the requested font 'Helvetica' has no files for the = 'tf' alternative, Latin Modern is used instead.
mkiv lua stats  > loaded fonts: 4 files: = latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf, = lmsans10-regular.otf

With my original it does load = (but no italic):
mkiv lua stats  > loaded fonts: 4 files: = helvetica.ttc, latinmodern-math.otf, lmroman10-italic.otf, = lmroman10-regular.otf


Erase cache, regenerate formats, reload fonts (force) does give = another (probably unrelated) error:

fonts           | names | = identifying system font files with suffix 'ttf'
fonts   =         | names | globbing path = '/Library/Fonts/**.ttf'
fonts           | names | = globbing path '/System/Library/Fonts/**.ttf'
otf reader  =     | fatal error in file = '/System/Library/Fonts/SFCompactRounded.ttf': = ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: = attempt to index a nil value (field '?')
stack = traceback:
= ...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2344: = in metamethod 'index'
= ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: = in local 'reader'
= ...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2089: = in upvalue 'readtable'



_______________________________________________________________= ____________________
If your question is of interest to others as well, please add = an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki =     : https://contextgarden.net
_______________________________________________________________= ____________________


= --Apple-Mail=_5F04C327-229E-41BD-9A3E-4C6D4BCBC369-- --===============2591717818022687556== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============2591717818022687556==--