From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111232 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:21:54 -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="===============3029674525186181858==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28473"; 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:22:44 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 1lcUya-0007J4-MN for gctc-ntg-context-518@m.gmane-mx.org; Fri, 30 Apr 2021 17:22:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A1B43282EC0; Fri, 30 Apr 2021 17:22:10 +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 ybGAenRxgaUO; Fri, 30 Apr 2021 17:22:08 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0ABFD282EB7; Fri, 30 Apr 2021 17:22:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E9E91282EB2 for ; Fri, 30 Apr 2021 17:22:06 +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 WYu6Dv9BKNhe for ; Fri, 30 Apr 2021 17:22:06 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.42; helo=mail-ej1-f42.google.com; envelope-from=bowenalan03@gmail.com; receiver= Original-Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 B6042282E15 for ; Fri, 30 Apr 2021 17:22:05 +0200 (CEST) Original-Received: by mail-ej1-f42.google.com with SMTP id r9so105810046ejj.3 for ; Fri, 30 Apr 2021 08:22:05 -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=r7aKgScd8sP6KSkCM5e5hJSrOSbOhtTQ3fTb3TcFtyg=; b=VhnXSjBuB0+Q30DRtzSIdaQfvz3ofxbPI7GjKekVF6K8iM9SePVHPnxKYSO5dSctb3 rD6wpSZr8Aa3D6ds8V6Gv8Ryn7nDI1Tfl5BhKfUNymubV/s8yR0dny9sF5BJfgCuNaM0 j/VZ+Jh0eXRbuCh7tNPksMYvoTAEVgfpZZLZS1rfnqAqBD0xpEEFPsNfLn0sLsaSj1S6 Bfq3QGf8TfJtwJFhfIpGjlixS0VOVG13ZL59ywVCZMLzjuq6ztL5vEjufUQ/Crq16AzB 8tGw664eCGJ4X1v4Hk8iMf/4gGAnsQ6fftBUlGGEZXY5vdUfYMhkw+UvIN+6sC7ggYxQ aTYg== 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=r7aKgScd8sP6KSkCM5e5hJSrOSbOhtTQ3fTb3TcFtyg=; b=SjTqY3gWKXwDrPE0rppUHcEPD3SAIZ9nzv55I0Fc0PRhM6pwAQpX3Xr7Eag3Dcg9bQ XKBX/RNB+FAq+Qiw2b9thAGZOk3jotddRhgQSR2yBlAW4xukxvbCOEQAhOiDL4cdtvPi 7bdmJGzl4bvXdt/WlUcKb1zVYGEM8TI+9EhGwX0H+KnNceifQ1nymHqgYS9z9OhVrq4n g2F6qaEgjJW2RATOU5reYLk2tfTw2Xvk9KGGoh2mZrxzZ0ZCfSZpVcx7FPIIMFJAMjS0 +6huk6RKdDHlh7pJ0jSzVW+kCx14VBzwgGnvsXo/eHA2y+NPolu5Mj7UfPD8S7s4xL3q 7nqQ== X-Gm-Message-State: AOAM531YYBAQ0ElFuLvUjJL5trXdze0FAsPv57mZMPvv6KjXk7B1BuaJ 4s0jiESuPWHeJDZEb0YmyyAPa5IYm3MYBsTkmjZUDaDamVU= X-Google-Smtp-Source: ABdhPJwxGcD7Bq/EPMsr/yJ/qnvYr2hKTQ6hDoGgNcmPVeT4N4cBoBiK/WmNI58QL2YI6PB58v8Qwr7ZwmnAY8ghV+E= X-Received: by 2002:a17:906:6044:: with SMTP id p4mr5054696ejj.82.1619796125169; Fri, 30 Apr 2021 08:22:05 -0700 (PDT) In-Reply-To: <3319f070-3bad-f93a-a61d-26f277456e90@gmail.com> 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:111232 Archived-At: --===============3029674525186181858== Content-Type: multipart/alternative; boundary="000000000000a63ac105c1322c32" --000000000000a63ac105c1322c32 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 th= e > 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 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 > > _________________________________________________________________________= __________ > --000000000000a63ac105c1322c32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, Wolfgang=E2=80=94

The mwe is:
\definefon= tfamily[mainface][rm][STIX Two Text]
[protrusion=3Dquality,
e= xpansion=3Dquality,=C2=A0
mode=3Dnode,
force=3Dyes,
f= eatures=3D{default, f:oldstyle},
<= font face=3D"trebuchet ms, sans-serif"> ]
]
\definefallbackf= amily[mainface] [mm] [STIX Two Text]
=C2=A0 [range=3Ddigitsnormal,
force=3Dyes,
features=3Df:oldstyle]

\definefontf= amily[mainface][mm][STIX Two Math]

\setupbodyfont[mainface= , 20pt]

\starttext

Hello world!
123456789

\m{123456789}

\oldstyle= {123456789}

\stoptext

The problem disappears if I remove ei= ther
\definef= allbackfamily[mainface] [mm] [STIX Two Text]
=C2=A0 [range=3Ddigitsnormal,
force=3Dyes,
features=3Df:oldstyl= e]
or
\definefontfamily[mainface][mm][STIX Two Math]

But in neither case do I get oldstyle=C2=A0numerals.
Note too that, when I remove \definefontfamily[main= face][mm][STIX Two Math],=C2=A0my log file has=C2=A0
mkiv lua stats =C2=A0&g= t; loaded fonts: 2 files: lmmono10-regular.otf, lmroman10-regular.otf
with no mention of STIX Two Text.

Yet ConTeXt is awar= e of the STIX Two Math and STIX Two Text fonts.

WE had a p= ower failure very recently. I wonder if that has screwed things up.<= /div>
<= br>
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=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
___________________________________________________________________________= ________
--000000000000a63ac105c1322c32-- --===============3029674525186181858== 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== --===============3029674525186181858==--