From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95957 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: About \definefallbackfamily Date: Sun, 28 Aug 2016 23:21:17 +0200 Message-ID: <57C355CD.2010602@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5414207691542278805==" X-Trace: blaine.gmane.org 1472419313 19332 195.159.176.226 (28 Aug 2016 21:21:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2016 21:21:53 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 28 23:21:49 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1be7WW-0004Ww-GP for gctc-ntg-context-518@m.gmane.org; Sun, 28 Aug 2016 23:21:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 01E711606C; Sun, 28 Aug 2016 23:21: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 FsqXrZrYXNJi; Sun, 28 Aug 2016 23:21:33 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 34A7C1606F; Sun, 28 Aug 2016 23:21:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8D2E01606D for ; Sun, 28 Aug 2016 23:21:31 +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 ADQg6yElgF2o for ; Sun, 28 Aug 2016 23:21:30 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (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 4542D1606C for ; Sun, 28 Aug 2016 23:21:20 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id o80so64317226wme.1 for ; Sun, 28 Aug 2016 14:21:20 -0700 (PDT) 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=90ij/3IxqXhvtKJB33z/UB27sKpSFeTfxJ6r0iXhMhQ=; b=R7apBo0lv/JcBeBkV140iVw2x/KUsUBVm/wt3Y7g0tEsI1WYHc/gZIKZ9MZoF6rVqe 5TqRtFl5+q6X19o0hu7oaFjs+Hwz4o+8aMos+QBlaa9lVfB720mDkh76/b7hv17Oj9V+ aaKrPJ0HpuZQLfJeF4oVJwWKD9FP8X4gBv80trdLDw4ElEUWGAvBRPcncPfbvqzC1kpe w7zCsWTzmI84ut8nKOhTOxNSLgkZKk6EhHQ8WBKJmX0zWzXWuFXxx8b7LzPNikAsCf4E iAkV9QpOhq5tMVE+gU16MXegGnSXETOUs1O87Ew/uCY/zP1DCaeh4zISG1y/MAzStLsV ZVMQ== 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=90ij/3IxqXhvtKJB33z/UB27sKpSFeTfxJ6r0iXhMhQ=; b=iu0ANmw9yBJhDYUrT+XQiMN7q9AEnTWIsopjRrFi31SxAzaD9WMIdTzns6v0eQzVE0 fPIGCKS691LaaVVAT/AXD7Y/K7uNKEBGyx1Dhfr3WfhnJztyeN6ugeWTpkKWFEpsl2qS Iw7O0S73wNeO8NGKlbKLlRX8h8gr3Lc07SnlOt76UPaXctnnBeXAvD7a3iNiwzLuBdJr hkS6U1HNrTpMM3cB/bRh2baba8P+I+Z4twRH+X5f8h+Cu7U5ytCTjP3h3zHCbLJfHtrj 8Vq6GmI38FdzcDYYClLlMajAkNEvOKlfXgKKdDG9u6/dwVvWaf2qQiGvo15bLmEXs3H1 Y6vA== X-Gm-Message-State: AE9vXwNeHLtD0xdbRdfCLCVxHJFbM56mbCrJriefmsdfQ0UfkBcEoefxFVPSXJ68I6M9Tw== X-Received: by 10.28.169.203 with SMTP id s194mr7727644wme.95.1472419279726; Sun, 28 Aug 2016 14:21:19 -0700 (PDT) Original-Received: from keima.localdomain (x2f22693.dyn.telefonica.de. [2.242.38.147]) by smtp.gmail.com with ESMTPSA id w129sm10261131wmd.9.2016.08.28.14.21.18 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Aug 2016 14:21:19 -0700 (PDT) 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:95957 Archived-At: This is a multi-part message in MIME format. --===============5414207691542278805== Content-Type: multipart/alternative; boundary="------------090807080400000204020703" This is a multi-part message in MIME format. --------------090807080400000204020703 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Jose Luis Arellano > 28. August 2016 um 06:44 > Hello guys, am working with some basic maths here and the latest > version of ConTexT. However, i think something has changed in ConTexT, > because the following MWE, from Aditya, was working fine before: > > \definefontfamily[mainface][rm][Minion Pro] > \definefallbackfamily[mainface][math][Minion > Pro][math:lowercaseitalic][force=yes] > \definefallbackfamily[mainface][math][Minion > Pro][math:digitsnormal][force=yes] > \definefontfamily[mainface][math][TeX Gyre Pagella Math] > \setupbodyfont[mainface] > > \starttext > \startformula > c^2 = a^2 + b^2 > \stopformula > \stoptext > > Now, the italic font of Minion Pro is replaced for regular. It’s a bug but I fixed it. > Well, i have two questions: > > 1) How can i set the Minion Pro italic font for math? Wait for the next ConTeXt version. > 2) Is there any way to set the italic font for numbers too in math? \definefontfamily [mainface] [rm] [Minion Pro] \definefallbackfamily [mainface] [mm] [Minion Pro] [range=digitsnormal,tf=style:italic] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont[mainface] \starttext \m{123} \stoptext Wolfgang --------------090807080400000204020703 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
28. August 2016 um 06:44
Hello guys, am working with some basic maths here and the latest version of ConTexT. However, i think something has changed in ConTexT, because the following MWE, from Aditya, was working fine before:

\definefontfamily[mainface][rm][Minion Pro]
\definefallbackfamily[mainface][math][Minion Pro][math:lowercaseitalic][force=yes]
\definefallbackfamily[mainface][math][Minion Pro][math:digitsnormal][force=yes]
\definefontfamily[mainface][math][TeX Gyre Pagella Math]
\setupbodyfont[mainface]

\starttext
\startformula
c^2 = a^2 + b^2
\stopformula
\stoptext

Now, the italic font of Minion Pro is replaced for regular.
It’s a bug but I fixed it.
Well, i have two questions:

1) How can i set the Minion Pro italic font for math?
Wait for the next ConTeXt version.
2) Is there any way to set the italic font for numbers too in math?
\definefontfamily     [mainface] [rm] [Minion Pro]
\definefallbackfamily [mainface] [mm] [Minion Pro] [range=digitsnormal,tf=style:italic]
\definefontfamily     [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\m{123}
\stoptext

Wolfgang
--------------090807080400000204020703-- --===============5414207691542278805== 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= --===============5414207691542278805==--