From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93997 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: oldstyle numerals in mathmode Date: Fri, 04 Mar 2016 15:02:32 +0100 Message-ID: <56D99578.7080501@gmail.com> References: <56D8C63C.8050007@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6969575138679569465==" X-Trace: ger.gmane.org 1457100221 1851 80.91.229.3 (4 Mar 2016 14:03:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2016 14:03:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 04 15:03:29 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 1abqKG-00017j-Nc for gctc-ntg-context-518@m.gmane.org; Fri, 04 Mar 2016 15:03:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0B9047A8F; Fri, 4 Mar 2016 15:02:54 +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 Ril_t7015mmL; Fri, 4 Mar 2016 15:02:52 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3E3EC7A94; Fri, 4 Mar 2016 15:02:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 30AD07A91 for ; Fri, 4 Mar 2016 15:02:51 +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 4VejomL0piPd for ; Fri, 4 Mar 2016 15:02:45 +0100 (CET) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (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 E7B387A8F for ; Fri, 4 Mar 2016 15:02:35 +0100 (CET) Original-Received: by mail-wm0-f54.google.com with SMTP id l68so30412114wml.1 for ; Fri, 04 Mar 2016 06:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=8Mf9eAPKZhWIsJ6LE6SzDIdkfaXLCRVMzq5Z1Na3r4M=; b=nImUvAWMsDame9ZCo3I1lGnhuUmaPF9+GnvGRKXMHQgrcsOuHgIWV/8tL04JSZDGCH WLmcmIJkdTQwbkseJIvhwPO7EsnpPt9FOT8UxLz4iIJ7H6eA4Y8xB4zFHUzKneRbJqex alNEDuuuUi3hC3vdr8+r/ijte3Kh4GwJkf5o/9H7C4ptHA5brnUfLzOPWFWU73SpTLyP RYDGHupeKvdu4/Nr6aAMuVeLf+a/cClACxqIxXAmWatO5MHuExj2yMOhWXJY+KQo/jBA OsND5VW9rsHDzHNkAnLbFpjSPARNC3UKBVDOFJC3N3b746Ji33vJhN/4I8sSzBrku4sV 7yuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=8Mf9eAPKZhWIsJ6LE6SzDIdkfaXLCRVMzq5Z1Na3r4M=; b=RtTTFIZ7XPiBGMf4FkBesYZQ+337qrVBGbi4VIvPsCzpoollMlCTdrBI6f2K1P1AWA SM+HsP36zwhXMyvVgSaxcw8sUIaFgp6fv6tCQ8U2epgYo7Ly9F9goiubk9/43vd7SkxZ VFRJrgbuFa1V5Bw7rUgbjzRp4cPj8Hc3UxVAp3+9oxMD7A35pNhWuu2PXNDye167POw7 qdhWZA5rvHbjFWMn/eYq03bzTLTow9zo64w8vZ1v04RXzLrRP0P6G1peatoDNKUZqPaY mUvTUtGOBvanpbo1LWwdO/V0eM0wSB0TCgVXQUw5q0e38vx1UmE6ncinNweuoUzBc/nG cV3A== X-Gm-Message-State: AD7BkJLquomh5WSGQ92oDgz73XUQAlkcrBVhKFp3+Rzn1qCAAULZEm4rOvNX3gmay2Ky0Q== X-Received: by 10.195.13.76 with SMTP id ew12mr10845218wjd.68.1457100155501; Fri, 04 Mar 2016 06:02:35 -0800 (PST) Original-Received: from keima.localdomain (x2f2ca03.dyn.telefonica.de. [2.242.202.3]) by smtp.gmail.com with ESMTPSA id b1sm3531156wjy.0.2016.03.04.06.02.34 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2016 06:02:34 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: 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:93997 Archived-At: This is a multi-part message in MIME format. --===============6969575138679569465== Content-Type: multipart/alternative; boundary="------------000805070802020308000207" This is a multi-part message in MIME format. --------------000805070802020308000207 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Alan Bowen > 4. M=C3=A4rz 2016 um 14:49 > As I feared, Hans. But thanks. I must re-code the math for the=20 > publisher, 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 [mainface][mm][Latin Modern Math] \setupbodyfont[mainface] \starttext 0123456789 \m{0123456789} \stoptext Wolfgang --------------000805070802020308000207 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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
--------------000805070802020308000207-- --===============6969575138679569465== 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= --===============6969575138679569465==--