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/118009 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: Wed, 5 Jul 2023 00:11:09 +0200 Message-ID: <0867D9D3-BB2E-4200-8F99-4C1E21D060E3@rna.nl> References: <6530e87e-8662-4be1-c2e6-b1b84a5d37f8@gmail.com> <6A65203E-8E78-45A2-8244-E12B251EDD91@rna.nl> 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="===============2418939876231454390==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14247"; 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 Wed Jul 05 00:13:29 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 1qGoH3-0003Xu-F9 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 05 Jul 2023 00:13:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1C52148217E for ; Wed, 5 Jul 2023 00:11:39 +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 g7_7SvnUuKsK for ; Wed, 5 Jul 2023 00:11:38 +0200 (CEST) Original-Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 9D80A482156 for ; Wed, 5 Jul 2023 00:11:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B18D5481F07 for ; Wed, 5 Jul 2023 00:11:14 +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 EskEbkXJm7fE for ; Wed, 5 Jul 2023 00:11:14 +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 8661D481EE8 for ; Wed, 5 Jul 2023 00:11:14 +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 9877918F8823C; Wed, 5 Jul 2023 00:11:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1688508669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nCklyr2rFM5+OWmIXxny5j5qwVixwdnNA5KaorHhvxY=; b=m/TmgfUn8KX23ajp1eQLUyZb0eIPGhw4MJp60WmSGtLZ0RdeaUOKLTqkoCkR2EJI6YK/at XZt+ziYP+nasS5My9ou36GxpfB8gjrPB+6i+UL74VBH9B5TS1617snWbgAAKdgQ9dppity Ej8qpPilOLWSXfHS01R/egJjI5mLzlOB/8juHYk1AmRnZ1f1l2AlXDhp062ewait91v30L GwKjDTr6Toju/Nr2xrXcZoJMC+w56c/VLyk+Q8MuLsEGsRmh6cNTvuazZTwjzqmQDz7Bxj mFS6zlta32Nd77wRR8TZUaAH45KxJPIOdIAECueekgxabKnt9eOIGekYcS4YjQ== In-Reply-To: <6A65203E-8E78-45A2-8244-E12B251EDD91@rna.nl> X-Mailer: Apple Mail (2.3696.120.41.1.3) Message-ID-Hash: F26KNTSK6B7VEHOOQO6P3V4QXAA6SNLD X-Message-ID-Hash: F26KNTSK6B7VEHOOQO6P3V4QXAA6SNLD 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:118009 Archived-At: --===============2418939876231454390== Content-Type: multipart/alternative; boundary="Apple-Mail=_5646A080-7B96-4019-91A7-1D9F473C4F2B" --Apple-Mail=_5646A080-7B96-4019-91A7-1D9F473C4F2B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Found it (I think) \definefontfamily defines tf=3D but the text says \rm If I use \tf in the text it works. If I use \rm in the text it works for default Latin Modern but not for = any font defined. This is true regardless of using rm=3D or tf=3D in the = definition. So, it seems to be the combination of using definefontfamily and \rm > On 4 Jul 2023, at 23:48, Gerben Wierda wrote: >=20 > Also doesn't work with ConTeXt ver: 2023.06.22 14:13 LMTX fmt: = 2023.7.4 int: english/english >=20 >> 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 >> = __________________________________________________________________________= _________ >=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=_5646A080-7B96-4019-91A7-1D9F473C4F2B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Found it (I think)

\definefontfamily defines tf=3D but the text says = \rm

If I use \tf in the text it = works.
If I use \rm in the text it works for default Latin = Modern but not for any font defined. This is true regardless of using = rm=3D or tf=3D in the definition.

So, = it seems to be the combination of using definefontfamily and = \rm

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

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
_______________________________________________________________= ____________________


_________________________________________________________= __________________________
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=_5646A080-7B96-4019-91A7-1D9F473C4F2B-- --===============2418939876231454390== 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 ___________________________________________________________________________________ --===============2418939876231454390==--