From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105149 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefano Sanguinetti Newsgroups: gmane.comp.tex.context Subject: Mkiv, fonts in text and math mode, with \definebodyfont Date: Mon, 30 Sep 2019 19:32:16 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3881717172643180235==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="143335"; mail-complaints-to="usenet@blaine.gmane.org" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 30 19:33:03 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEzXj-000b8N-1p for gctc-ntg-context-518@m.gmane.org; Mon, 30 Sep 2019 19:33:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ECE7A161506; Mon, 30 Sep 2019 19:32:43 +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 tum0C0HOd0Lc; Mon, 30 Sep 2019 19:32:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3A22F16153A; Mon, 30 Sep 2019 19:32:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A978A161536 for ; Mon, 30 Sep 2019 19:32:38 +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 EtKroIN0lwSS for ; Mon, 30 Sep 2019 19:32:34 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.54; helo=mail-io1-f54.google.com; envelope-from=fotesan@gmail.com; receiver= Original-Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (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 1125F161506 for ; Mon, 30 Sep 2019 19:32:34 +0200 (CEST) Original-Received: by mail-io1-f54.google.com with SMTP id n26so11963821ioj.8 for ; Mon, 30 Sep 2019 10:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9/0SvrRKfmRUwfEzTOLr96LGWsLq1ENcPQ/INhX7sqY=; b=ivBrgjJ1VocffIdoLgpRYXBuWJpcixgH3P1BWZJTIjbGqxKifoE9Gz5GszyaOQdOiq OrIVilPJMt9xKjOmrDPM8cYbBG8xizB/BqYX1ZoqzjBU6Xvl4CeV2EWcSdWN7/qUEmo6 NYkyo8BTmYZOBo4rHXIUh1aEHU7fMmZ74qirFdvGUvi/uUl9mqfJ/ubXQvoFXRuKZ3CI B40VzIi+MJmIACwdGAugJ/bopaZ+GRZxFtwM4JmqB7sl5N5YlN8B0SkporVkUfX+ZEvI 7/zjqnjIwbV98uG9CjGH/JaqrbhmhhkoAiSkvix5zAh8nq/RxQkRlOuuKkL5eQm2C19h zdkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9/0SvrRKfmRUwfEzTOLr96LGWsLq1ENcPQ/INhX7sqY=; b=jzgJWQGMsjhgi2WR5XDYK+jkr8W0YG7rMc5LFtClCoHG5gwcX7SxekTO4j5arUb9ep LtXzDkDHnGs8k4bXQwqEO2cq2kFqwskgJuvMX0VxLxzXcyBBCmBcwdKlB02vSCdlH7R0 G0tbLP+h8RR63i9RyVKaXQQqR8dBqgOuVPbCNfGHV+ZEcqaw2XRRoqKNiQa068yft3tm QjXhRWgdZDphjrGrrIOl4/7LQMmK0Z3jgMjOru1+v7xdQ5J6VintQOM2uBw1brbmdAXQ PXbvYm4hO9lUUTyEyZidGenbsSReGmfspQuzGrvw9GiIggz4ujtnP5mUPLm3l2mIkcC1 h3Wg== X-Gm-Message-State: APjAAAVRoGu+DydCVhelGik+0g3N458oa9RprZ77SmDr/S/7bYXYZf3G P/zfde3Ju9MeUpfV2z+YdjXeqWvACQZ4fHnDKuBcySWkZpg= X-Google-Smtp-Source: APXvYqxZV2DkBIQkdhVTCv9vxteaYXEzWf1WNcTRXT4tYoP/FrFKMGaA4IC7CUnUZqcYZ9tbdGqvEN9vSs9+OdzANlg= X-Received: by 2002:a05:6638:1f5:: with SMTP id t21mr19564661jaq.119.1569864749799; Mon, 30 Sep 2019 10:32:29 -0700 (PDT) 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.org gmane.comp.tex.context:105149 Archived-At: --===============3881717172643180235== Content-Type: multipart/alternative; boundary="000000000000c1dc0a0593c89e26" --000000000000c1dc0a0593c89e26 Content-Type: text/plain; charset="UTF-8" Hello, I am trying to understand something more about fonts in text and math mode, in Mkiv Context. I would like to be able to change things at the "define body fonts" level. I tried the following, in order to have rsfs fonts : \setupbodyfont[12pt] \definebodyfont[12pt][rm][tf=rsfs10 sa *] \starttext \tf ABCD \tfa ABCD \stoptext The \tfa ABCD is displayed as rsfs as I wanted, but the \tf ABCD is displayed as default fonts. Why ? What could I change in order to have \tf ABCD in rsfs ? In math mode, I am not able to have rsfs fonts : \setupbodyfont[12pt] \definebodyfont[12pt][mm][mr=rsfs10 sa *,ex=rsfs10 sa *,mi=rsfs10 sa *,sy=rsfs10 sa *,ma=rsfs10 sa *,mb=rsfs10 sa *] \starttext $ABCD$ \stoptext That gives ABCD in default math mode fonts. Is there a simple way to do it with the \definebodyfont command ? Thank you in advance for your comments. --000000000000c1dc0a0593c89e26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am trying to understand something more abo= ut fonts in text and math mode, in Mkiv Context. I would like to be able to= change things at the "define body fonts" level.

I tried t= he following, in order to have rsfs fonts :
\setupbodyfont[12pt]
\def= inebodyfont[12pt][rm][tf=3Drsfs10 sa *]
\starttext
\tf ABCD
\tfa A= BCD
\stoptext

The \tfa ABCD is displayed as rsfs as I wanted, but= the \tf ABCD is displayed as default fonts. Why ? What could I change in o= rder to have \tf ABCD in rsfs ?

In math mode, I am not able to have = rsfs fonts :
\setupbodyfont[12pt]
\definebodyfont[12pt][mm][mr=3Drsfs= 10 sa *,ex=3Drsfs10 sa *,mi=3Drsfs10 sa *,sy=3Drsfs10 sa *,ma=3Drsfs10 sa *= ,mb=3Drsfs10 sa *]
\starttext
$ABCD$
\stoptext

That gives A= BCD in default math mode fonts.
Is there a simple way to do it with the = \definebodyfont command ?

Thank you in advance for your = comments.


--000000000000c1dc0a0593c89e26-- --===============3881717172643180235== 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== --===============3881717172643180235==--