From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94004 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: oldstyle numerals in mathmode Date: Fri, 4 Mar 2016 14:01:25 -0500 Message-ID: References: <56D8C63C.8050007@wxs.nl> <56D99578.7080501@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8096390886356009200==" X-Trace: ger.gmane.org 1457118292 16789 80.91.229.3 (4 Mar 2016 19:04:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2016 19:04:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 04 20:04:40 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1abv1k-0003BA-BZ for gctc-ntg-context-518@m.gmane.org; Fri, 04 Mar 2016 20:04:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8578F7B06; Fri, 4 Mar 2016 20:01:40 +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 uTDQ7rF4qKlE; Fri, 4 Mar 2016 20:01:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D79CA7B1C; Fri, 4 Mar 2016 20:01:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5A6387B06 for ; Fri, 4 Mar 2016 20:01:38 +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 Cy1X3tYn5YAC for ; Fri, 4 Mar 2016 20:01:37 +0100 (CET) Original-Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6BBC17B05 for ; Fri, 4 Mar 2016 20:01:27 +0100 (CET) Original-Received: by mail-ig0-f174.google.com with SMTP id y8so17492187igp.0 for ; Fri, 04 Mar 2016 11:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=jl3oAxyXnNOkn9EBofeZCekXhD37tjedyZ+FEAptFK4=; b=yxPFafqRprJIyxn2UPxeDDNaJ+6p6ZO8I2ajaQeZTqAhqKJYyfORTCEc1TQ1V91wcn hMkCc1Cu5MLTe7YKe2+zug5M1WjRVyUYJqQQbrfQaCCgnp07u5ISVoV3pPojR/+rfE2b 681H3BsiMy1IpqzO6SygkNYL50XrIbXs6WDnlDN9PxGdQ7ybEIbTeaApyccUJNTltCFP oEljjGik/5kKYCYYL5Wwrjot2pQ3/NZmXUr4UPeSvV0QR7nFTDtyTEtjihQ81+XmjAKj 9oISX6kj8kE8/W2n2wvonvUnBo7I/dl/gbCcy/4Lrrz6iSl1m09UbjxUntnBE0/CCZ1A cY3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=jl3oAxyXnNOkn9EBofeZCekXhD37tjedyZ+FEAptFK4=; b=Ft059IqwWLM+8iqnhBzAWuBbrE+UMGklzlwyQmKufckY/KOkZ2OVL+k2R2ZdDIV7Sa 3GiGEzD9eQHjZ3ob2erF13YDRKx9Z+/dV5xU+auDifZB0ELqpyk4KYz1x4KlLDVVT7qH jpc0W3A4Dg2Kq5JJaKLB9JB/fpx7hsXbgUO1ENnjfXfwtyBAaFQHu5k8kbaL34KW7fzM +ZlGlwESXZprfc27CSBi+m476l+OjuPksulmlY0KGcjQyAoH5fYmsiGQmXAYMDKk5Wc2 fX13IXlxaSf8zOfj4edYUXV6VnpzQijrZ99WrFhwqcv/XWY2xy4L5xWii5SqHRll91i6 +O+g== X-Gm-Message-State: AD7BkJI9qTWDxfXwiJX8YTqw+iKA2j+BEFkHEczwFeWCycCzyOBgaMYsWTMlKh4Cq1BEa1QagXwWkJtSBitmzw== X-Received: by 10.50.114.196 with SMTP id ji4mr471620igb.56.1457118085842; Fri, 04 Mar 2016 11:01:25 -0800 (PST) Original-Received: by 10.36.109.199 with HTTP; Fri, 4 Mar 2016 11:01:25 -0800 (PST) In-Reply-To: <56D99578.7080501@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:94004 Archived-At: --===============8096390886356009200== Content-Type: multipart/alternative; boundary=089e0112d18ee70fef052d3dbd3b --089e0112d18ee70fef052d3dbd3b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This works perfectly, Wolfgang. Many thanks. You are a lifesaver! Alan On Fri, Mar 4, 2016 at 9:02 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > Alan Bowen > 4. M=C3=A4rz 2016 um 14:49 > As I feared, Hans. But thanks. I must re-code the math for the publisher, > then. > > You can use the font fallback mechanism: > > \definefontfamily[mainface][rm][TeX Gyre > Pagella][features=3D{f:oldstyle,default}] > > \definefallbackfamily[mainface][mm][TeX Gyre > Pagella][preset=3Dmath:digitsnormal,features=3Df:oldstyle] > \definefontfamily [mainface][mm][Latin Modern Math] > > \setupbodyfont[mainface] > > \starttext > > 0123456789 > > \m{0123456789} > > \stoptext > > 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://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --089e0112d18ee70fef052d3dbd3b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This works perfectly, Wolfgang. Many thanks. You are a lif= esaver!

Alan

On Fri, Mar 4, 2016 at 9:02 AM, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
4.=20 M=C3=A4rz 2016 um 14:49
As I=20 feared, Hans. But thanks. I must re-code the math for the publisher,=20 then.
You can use the font fallback mechanism:

\definefontfamily[mainface][rm][TeX Gyre=20 Pagella][features=3D{f:oldstyle,default}]

\definefallbackfamily[mainface][mm][TeX Gyre=20 Pagella][preset=3Dmath:digitsnormal,features=3Df:oldstyle]
\definefontfamily=C2=A0=C2=A0=C2=A0 [mainface][mm][Latin Modern Math]

\setupbodyfont[mainface]

\starttext

0123456789

\m{0123456789}

\stoptext

Wolfgang

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

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--089e0112d18ee70fef052d3dbd3b-- --===============8096390886356009200== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8096390886356009200==--