From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109368 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: \switchtobodyfont behaves differenctly with splitted parameters Date: Sun, 8 Nov 2020 11:28:17 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7260194026911282487==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20737"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 08 11:33:05 2020 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 1kbi0P-0005Id-Jo for gctc-ntg-context-518@m.gmane-mx.org; Sun, 08 Nov 2020 11:33:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DE0811AA336; Sun, 8 Nov 2020 11:28:33 +0100 (CET) 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 BAunGfJKcIdX; Sun, 8 Nov 2020 11:28:32 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0A22C1AA2D8; Sun, 8 Nov 2020 11:28:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CBF3F1AA2D8 for ; Sun, 8 Nov 2020 11:28:30 +0100 (CET) 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 hfo2kXHtO72a for ; Sun, 8 Nov 2020 11:28:30 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.49; helo=mail-io1-f49.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (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 3021B1A9F2C for ; Sun, 8 Nov 2020 11:28:30 +0100 (CET) Original-Received: by mail-io1-f49.google.com with SMTP id s10so6897197ioe.1 for ; Sun, 08 Nov 2020 02:28:30 -0800 (PST) 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=ygvE3cLKzuAyDLKwxTBid+/94NqJANQ/GGhaR4J2PZ4=; b=CBXmB9pQg/+j8ZBhVj0adQH6SnuGXo142i+VHZNRkfsw9TblLUwV/YiY5Zosjs+OOZ D4mHsD+JbCQ49Vb3M2XV2r86Ag7sSu3By1cae/VL0RIw2y7ISLwWsg9ngsts+/+Irwo+ 3XytJ/DZ4kU+Nz+WHvrs0djIh3rC+AGQ/paEmTv4razbcDC5/E+y9t5w+CixV33B5VTY w/JHUjypmgvUybjQfhECVmYPMnoezupTpovZ9T/VBhc/pV4+PUchLyOBBGM4bAMEZ9hO lpKXQJpkI5nf9l+pKyFPPdpqQVfuyF7MtvXZ/ZxCMlKV8jjr4m4quRoGk0m+7hsw83t3 IlWg== 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=ygvE3cLKzuAyDLKwxTBid+/94NqJANQ/GGhaR4J2PZ4=; b=Palva9Fto6AXz13oVP5u9fgo/wMiSim1rQappfyhy3Yyw0cX6H9d/AF74MeN12I2Fa ZXjlJdVUJ6vilxLH7K0yvgAY4khOjkJiVhFgOaGl37zGV1WvWCO+MVJNaMcMVUD5iq3Z ZTkOnFO6EWrv444p+JXJ/jYbT+1INZcJb5pydggf66G1nXVMO3hpTQyjwpm0fsvyt2GQ yAkOmC1/SZWlHbn5u078N0rXY2LIGY+BN/mkUVGysxrliMXSEUpqBsPTK/vCDOvtsXWm xEqgMldKQzOXOpjYS/lAbrYaaD/6uzjLvjMozsQVLBTZcfAsnTGLXd8l656xvoPSX3NQ JtEg== X-Gm-Message-State: AOAM533rfQlsYaVMZhy71qenGimNyrGMX6jNEvMSg4eXBdkdfkGzHBRh g4t3m+nBxe3dyiaF0BGuPXqJUKXFN+zAYGvLT7yC4cavOA+gNQ== X-Google-Smtp-Source: ABdhPJxTxKeqes9rupCofQhhe25g918b7quy0ZPnz2ywl27fQlfdvaGvtyBNqthCc046/F3CUwoJ8jyMO2/yZsyi+U4= X-Received: by 2002:a05:6638:451:: with SMTP id r17mr7748861jap.8.1604831308775; Sun, 08 Nov 2020 02:28:28 -0800 (PST) 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:109368 Archived-At: --===============7260194026911282487== Content-Type: multipart/alternative; boundary="00000000000015849d05b395e8c1" --00000000000015849d05b395e8c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 8 Nov 2020 at 11:18, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: > > \definefontfamily[face][rm][dejavuserif] > \starttext\switchtobodyfont[face, 24pt]=C9=91\stoptext > > this should warn: > > fonts > checking > char =C9=91 (U+00251) in font > 'LatinModernMath-Regular-4' with id 10: missing > > while > > \definefontfamily[face][rm][dejavuserif] > \starttext\switchtobodyfont[face, 24pt]=C9=91\stoptext > sorry, this should read \definefontfamily[face][rm][dejavuserif] \starttext\switchtobodyfont[face]\switchtobodyfont[24pt]=C9=91\stoptext > produces the expected result despite a harmless warning. > > Sylvain > > --00000000000015849d05b395e8c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 8 Nov 2020 at 11:18, Sylvain Hubert <champignoom@gmail.com> wrote:
Hi Pablo,

thanks for the suggestion. Here's the minimal e= xample which shows the difference:

=C2=A0 =C2=A0 \= definefontfamily[face][rm][dejavuserif]
=C2=A0 =C2=A0 \starttext\switcht= obodyfont[face, 24pt]=C9=91\stoptext

this should w= arn:

=C2=A0=C2=A0=C2=A0 fonts =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 > checking > char =C9=91 (U+00251) in font 'LatinM= odernMath-Regular-4' with id 10: missing

while=

=C2=A0 =C2=A0 \definefontfamily[face][rm][de= javuserif]
=C2=A0 =C2=A0 \starttext\switchtobodyfont[face, 24pt]=C9=91\s= toptext

sorry, this shoul= d read

=C2=A0 =C2=A0 \definefontfamily[f= ace][rm][dejavuserif]
=C2=A0 =C2=A0 \starttext\switchtobodyfont[face]\sw= itchtobodyfont[24pt]=C9=91\stoptext


=
produces the expected result despite a harmless warning.

Sylvain

<= /div> --00000000000015849d05b395e8c1-- --===============7260194026911282487== 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== --===============7260194026911282487==--