From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111233 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: =?utf-8?q?latest_standalone=E2=80=94lua_error?= Date: Fri, 30 Apr 2021 11:47:49 -0400 Message-ID: References: <7c4e4bc3-d667-4cc3-bbf5-fbb0f97602eb@gmail.com> <3319f070-3bad-f93a-a61d-26f277456e90@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7528484816712819174==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26948"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 30 17:48:36 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcVNa-0006qJ-Ro for gctc-ntg-context-518@m.gmane-mx.org; Fri, 30 Apr 2021 17:48:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 74E97627; Fri, 30 Apr 2021 17:48:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12mtlxJC5pKC; Fri, 30 Apr 2021 17:48:03 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A3DD2282EB7; Fri, 30 Apr 2021 17:48:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C4687282E99 for ; Fri, 30 Apr 2021 17:48:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nSZrzoFKhVRu for ; Fri, 30 Apr 2021 17:48:00 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.50; helo=mail-ej1-f50.google.com; envelope-from=bowenalan03@gmail.com; receiver= Original-Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CB338627 for ; Fri, 30 Apr 2021 17:48:00 +0200 (CEST) Original-Received: by mail-ej1-f50.google.com with SMTP id w3so105984724ejc.4 for ; Fri, 30 Apr 2021 08:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=md26GHeUWjNS2z7YH1GNdPODHxpmGanz3gO5h3uAOog=; b=gp4n9Mw1pq1jgrGkvNK/jHVMDFEauNOFyZigegHGOiUnkdBTy6BCMHvCUmMuMINylF yFg86jS+jkiCUDursjZsPZe4i9EW8s3v2ysPnZZEdg+X78np4JxBxcpNoLtiDX9sxZiD t4ThcYvyw+yu+zLudtVAgMqKji2iU04kaJm1TfM1sKkRRXaoJNgYV8C8SbRaXLtK5awa P6AarJQPZsKIkGGUiH2uMwcgELN7iWXqdFIR3Cb7p6xPUNvDqM4m1Weim7Tjuwvzqhea XjC2NsRUx6k+iRyLsEVpuYSaPUErdpwSO1KL4QhX7Dloej5H75SVgAAwpOM3HBN6YBRe ICZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=md26GHeUWjNS2z7YH1GNdPODHxpmGanz3gO5h3uAOog=; b=YKHL8PgAfcRMldVIvw8LjVEdBfAjXSio3RDSQpL0xmiU8U6Sl/g4NUamyFLngxD1PQ ERxwwwhYlRt2OCPPgWklkIjCiaD1HR1gkpQr20iJXsqlxs6CjoyfuKfnlFY2E8ytNOgu AnsYpGi0OlL37L9ThhU7V1S3LLiqh80lG5LZRKJP5cbwCzPY1tvBO+5iax5gaViJxpJy jzyOdYQejBGbpyHjOzmL7miZH5oaBStxpmR9+3wCr97sYe3CyAaqP8DETINvHVgBOqEt o88BvOUyfLVvjbLrt01fYsiiklIvFvyS1RBuGVND3NZJILbXJjW0Zkv+00nza3Jy9X68 JXRA== X-Gm-Message-State: AOAM533VX6VsLIvrKlPo/sXR43ELeyHCUJlL3rnsDnqFYFFb2Dim+OEk hOjbKa/rjMFh/2HRGs2l4zRfTeumcFQ2lbozliUo0fVp X-Google-Smtp-Source: ABdhPJzrHjEmVvIC13nPJ3DaUt7UVLRQyrHzIfKmQAtJysmuytw4HoXNUExtxo/E9XuSHySQum85dmyJl2OjfFOdW7s= X-Received: by 2002:a17:906:1984:: with SMTP id g4mr4925207ejd.525.1619797680386; Fri, 30 Apr 2021 08:48:00 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:111233 Archived-At: --===============7528484816712819174== Content-Type: multipart/alternative; boundary="00000000000058f5f805c1328916" --00000000000058f5f805c1328916 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I removed and then reinstalled luametex: the problem persists. A. On Fri, Apr 30, 2021 at 11:21 AM Alan Bowen wrote: > Hi, Wolfgang=E2=80=94 > > The mwe is: > \definefontfamily[mainface][rm][STIX Two Text] > [protrusion=3Dquality, > expansion=3Dquality, > mode=3Dnode, > force=3Dyes, > features=3D{default, f:oldstyle}, > ] > ] > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=3Ddigitsnormal, > force=3Dyes, > features=3Df:oldstyle] > > \definefontfamily[mainface][mm][STIX Two Math] > > \setupbodyfont[mainface, 20pt] > > \starttext > > Hello world! > > 123456789 > > \m{123456789} > > \oldstyle{123456789} > > \stoptext > > The problem disappears if I remove either > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=3Ddigitsnormal, > force=3Dyes, > features=3Df:oldstyle] > or > \definefontfamily[mainface][mm][STIX Two Math] > > But in neither case do I get oldstyle numerals. > > Note too that, when I remove \definefontfamily[mainface][mm][STIX Two > Math], my log file has > mkiv lua stats > loaded fonts: 2 files: lmmono10-regular.otf, > lmroman10-regular.otf > with no mention of STIX Two Text. > > Yet ConTeXt is aware of the STIX Two Math and STIX Two Text fonts. > > WE had a power failure very recently. I wonder if that has screwed things > up. > > Alan > > On Fri, Apr 30, 2021 at 9:45 AM Wolfgang Schuster < > wolfgang.schuster.lists@gmail.com> wrote: > >> Alan Bowen schrieb am 30.04.2021 um 13:19: >> >> Hi, Wolfgang=E2=80=94 >> >> I copied all the fonts to a new document (file attached) and ran ConTeXt= . >> The problem persists. The cause, I think, comes in the lines: >> >> \definefallbackfamily[mainface] [mm] [STIX Two Text] >> [range=3Ddigitsnormal, >> force=3Dyes, >> features=3Df:oldstyle] >> which used to give me oldstyle numerals. >> >> >> I'm unable to reproduce the error with your example and most of the >> fallbacks are ignored because I don't have the fonts. >> >> To ensure there is no problem with the format and font database delete >> the cache and rebuild it: >> >> mtxrun --script cache --erase >> mtxrun --generate >> >> When this doesn't help you simplify your example. First remove one >> \definefallbackfamily at a time and afterwards remove \definefontfamily >> until the error disappears. >> >> Wolfgang >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> 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 >> >> ________________________________________________________________________= ___________ >> > --00000000000058f5f805c1328916 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I removed and then reinstalled luametex: the problem persi= sts.
A.

On Fri, Apr 30, 2021 at 11:21 AM Alan Bowen <bowenalan03@gmail.com> wrote:
<= /div>
Hi, Wolfgang= =E2=80=94

The mwe is:
\definefontfamily[mainface][rm][STIX Two Text]
[protrusion=3Dquality,
expansion=3Dquality,=C2=A0
mode=3Dnode,
force=3Dyes,
features=3D{default, f:oldstyle},=
]
]
\definefallbackfamily[mainf= ace] [mm] [STIX Two Text]
=C2=A0 [range=3Ddigitsnormal,
force=3Dyes,
= features=3Df:oldstyle]

\definefontfamily[mainface= ][mm][STIX Two Math]

\setupbodyfont[mainface, 20pt]=
=
\starttext

Hello world!

1234= 56789

\m{123456789}

\oldstyle{123456789}<= /font>

\stoptext

The problem disappears if I remove either
\definefallbackfamily= [mainface] [mm] [STIX Two Text]
=C2=A0 [range=3Ddigitsnormal,
force=3Dyes,=
features=3Df:oldstyle]
<= div class=3D"gmail_default" style=3D"font-family:"trebuchet ms",s= ans-serif">or
\definefontfamily[mainface][mm][STIX Two Math]

But in nei= ther case do I get oldstyle=C2=A0numerals.

Note too that, when I remove \definefontfamily[mainface][mm][STIX Tw= o Math],=C2=A0my log file has=C2=A0
mkiv lua stats =C2=A0> loaded fonts: = 2 files: lmmono10-regular.otf, lmroman10-regular.otf
with no ment= ion of STIX Two Text.

Yet ConTeXt is aware of the STIX T= wo Math and STIX Two Text fonts.
<= font face=3D"trebuchet ms, sans-serif">
WE had a power failure ve= ry recently. I wonder if that has screwed things up.

Alan<= /font>

On = Fri, Apr 30, 2021 at 9:45 AM Wolfgang Schuster <wolfgang.schuster.lists@gmai= l.com> wrote:
Alan Bowen schrieb am 30.04.2021 um=20 13:19:
=20
Hi, Wolfgang=E2=80=94

I copied all the fonts to a new document=C2=A0(file=20 attached) and ran ConTeXt. The problem persists. The cause, I think,=20 comes in the lines:

\definefallbackfamily[mainface] [mm] [STIX Two Text]=
= =C2=A0 [range=3Ddigitsnorm= al,
force=3Dyes,
features=3Df:oldstyle]<= /font>
= which used to=20 give me oldstyle numerals.

I'm unable to reproduce the error with your example and most of the=20 fallbacks are ignored because I don't have the fonts.

To ensure there is no problem with the format and font database delete=20 the cache and rebuild it:

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mtxrun --script cache --erase
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mtxrun --generate

When this doesn't help you simplify your example. First remove one=20 \definefallbackfamily at a time and afterwards remove \definefontfamily=20 until the error disappears.

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--00000000000058f5f805c1328916-- --===============7528484816712819174== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7528484816712819174==--