From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109073 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: oldstyle numerals in STIX Two Math Date: Wed, 21 Oct 2020 09:59:22 -0400 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0384979613329261973==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29673"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 21 16:00:00 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 1kVEel-0007a8-RW for gctc-ntg-context-518@m.gmane-mx.org; Wed, 21 Oct 2020 15:59:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D94071A9139; Wed, 21 Oct 2020 15:59:37 +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 rF8kjuQ0hlIm; Wed, 21 Oct 2020 15:59:36 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9F7DC1A90FF; Wed, 21 Oct 2020 15:59:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DA4BF1A90FF for ; Wed, 21 Oct 2020 15:59:34 +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 NA8wyMFJp9Uz for ; Wed, 21 Oct 2020 15:59:33 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.54; helo=mail-ej1-f54.google.com; envelope-from=bowenalan03@gmail.com; receiver= Original-Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.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 B1F281A90A8 for ; Wed, 21 Oct 2020 15:59:33 +0200 (CEST) Original-Received: by mail-ej1-f54.google.com with SMTP id e22so3401898ejr.4 for ; Wed, 21 Oct 2020 06:59: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=1aKxR9tYkIjVxSx0w8viKU6bY93Gymjwel1iagJ9M+I=; b=A/0Nq5g2INp/FEITixiVC/Ow853yCvLG7VOR58ZD70bntav/efQdWbePxXdO1F5uFN 38pl/acXIhcehHAhdlds6vKqUsZOD0/Jhth1JHsGZzjXPihCXpubkB0TaNBMihR0PdPf WGuhy35Zzx+zM3pxIGprOipICX61wjwK55eBLOiOdPeB6YGnLwScPtORzATIG+TazxDn IGbe4OUCCNs/P2fa/1aMH4Dgbumxo/od/CbZ9ZBBEf3ATkJlKfxhyxlkPzi1UGnNnCoV maOIOhheUlUQ10RgYu/qgn+RIGFebYGbvztkYkMtkj2QvSGndXgMCT0xh3n/ZJD/1eqW M5Lg== 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=1aKxR9tYkIjVxSx0w8viKU6bY93Gymjwel1iagJ9M+I=; b=Rmdhn62Zk5gU0wT4erEL/yd+oHaV4osPxriYJnseHRsNu1AyVq2g1T/J40o9nxIs0R M//2lipl3tSS6q7cSoT2JlxvhVaL+C4IKFgi8Dx+xfcQeHwONOADiq3XJBk0Xzr9x6aT Lbeqj8S6G1kSJ8hd+/QAUFbv0hO5zkfS/a/yeIRDKdd3AC9TcXULaaBSsrwIhW6cpplB wEfZGs4RZGUOUivG3p96aiPl3oJ2/2mgRPLIrIOJ60GpAGvrnfuENCqGK0A03ca4X2VS C35LRMdynUWCejryx5/ExYEsk41KAG5XI/LUzeZgxVcrPxe/vAInHriQQmFdS7pvetiK BBSQ== X-Gm-Message-State: AOAM533CLK3oXjtVev3bKnCKad/xHEUtVnYUCcgiYZKgyVc751Bb7SOg xgfE12Ou/7RXg1gqINp6NZzZIr9AkVDxFwrru5rK/Sh/COk= X-Google-Smtp-Source: ABdhPJxgt5RdrasXofqkiOQAo+aTB1wqoBWFuPZjVJzheifL3/JkM3TVBtNxtKjJvG/VuLqqV14FKcvzXP8r4YfQOu8= X-Received: by 2002:a17:906:6855:: with SMTP id a21mr3529310ejs.289.1603288773265; Wed, 21 Oct 2020 06:59:33 -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.io gmane.comp.tex.context:109073 Archived-At: --===============0384979613329261973== Content-Type: multipart/alternative; boundary="000000000000cd8fd105b22ec14a" --000000000000cd8fd105b22ec14a Content-Type: text/plain; charset="UTF-8" I am trying to get the STIX Two fonts to display oldstyle numerals. I have the oldstyle numerals in STIX Two Text, the problem is the math font. So far, my mwe is: \definefontfamily[mainface][rm][STIX Two Text][] %onum=yes does not seem to work \definefontfamily[mainface][mm][STIX Two Math][] \definefontfeature[f:oldstyle][onum=yes] \setupbodyfont[mainface, 18pt] \addfeature{f:oldstyle} \starttext 123456789 \blank[big] $\sqrt{2} + 1234$ \stoptext Any pointers will be greatly appreciated. Alan --000000000000cd8fd105b22ec14a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am trying to get the STIX T= wo fonts to display oldstyle numerals.=C2=A0

I have the oldstyle numerals=C2=A0in STIX Two Text, the problem is= the math font.

So far, my mwe is:
\definefontfamily[mainface][rm][STIX Two Text][]= %onum=3Dyes does not seem to work
\definefontfamily[mainface][mm][ST= IX Two Math][]
\definefontfeature[f:oldstyle][onum=3Dyes]

<= /font>
\setupbodyfont[mainface, 18pt]
\addfeature{f:oldstyle}
\starttext
123456789
\blank[big]
$\sqrt{2} + 123= 4$
\stoptext

Any pointers will be greatly= appreciated.

Alan