From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95961 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: About \definefallbackfamily Date: Mon, 29 Aug 2016 09:37:41 +0200 Message-ID: <57C3E645.70009@gmail.com> References: <57C355CD.2010602@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7110407277559996107==" X-Trace: blaine.gmane.org 1472456304 11868 195.159.176.226 (29 Aug 2016 07:38:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2016 07:38:24 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 29 09:38:20 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 1beH99-0002dJ-Va for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2016 09:38:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 35F4515DFB; Mon, 29 Aug 2016 09:37:57 +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 moDSujgOqSmB; Mon, 29 Aug 2016 09:37:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7585D15EE4; Mon, 29 Aug 2016 09:37:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 76BBA15ECB for ; Mon, 29 Aug 2016 09:37:55 +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 fa1mzU2kOnhB for ; Mon, 29 Aug 2016 09:37:55 +0200 (CEST) Original-Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (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 0051515DFB for ; Mon, 29 Aug 2016 09:37:44 +0200 (CEST) Original-Received: by mail-wm0-f45.google.com with SMTP id i5so77235627wmg.0 for ; Mon, 29 Aug 2016 00:37:44 -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=ld8Hk4OC4925GHziVpXm0Lp2QOkvHTpqCPPM7pyoEi4=; b=CxmCGi3/54+CoVLh2nwJr/i2HhhvTmhxTy7Nan723rodWCGxKeS1fjH5aas3qA+CxF Sp5qeKzaO1ZCxWKGv4PN5E3LUYRLJhsADdlIjtbLPOB7eKizAQkq3UlvmZSvTztpZN0t Umu2EtHvjBbGMg056jOXwZzo/h4lxHrI2KGM8unltpElRnGyyD8aIHh7/yFesccnly/7 oMiVzBQbfXRP+XI9qh7EQQh5mLlnnVD65BdY0DiDahFzIHN3YT5SLu2MmSo43JcXfXb0 ShFx+ev/KHe9q/KOPCZLQbLfnbAgKyVAgzkJWnv8wej0zDrJhZsipW6MXTOM0WmMyd9Q Ld5Q== 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=ld8Hk4OC4925GHziVpXm0Lp2QOkvHTpqCPPM7pyoEi4=; b=mfzCsXZfas5lr7dqNQJvsMO7a/jsKiF14jTqZQkUiwPxHoCjsHM2Y2HlAGSV1H3o9P SKvEC9zIq3IskqE0Z/1u0ypa7eLhl6+2qqJ6TQte9ecsSpZvJHh1HDWrujARX1RnuUm8 IQi1AWFfbNcG/Ls/EySJXNfzOWI3sEeRB28MnMb0vDhwk8deEfG+xWuBkJSAQPwkDA1L Q6aTHAwF1/xe0/aqtEvkSpmAHQuStoMQlkrlYcn/V7ZJe49McjW5i/nLATAkxoDEafgC FHtvtFiBaeCCrGrLXby9TErfg142lzR1dXZVtSu0G7mCgx/b0MZ9m1CYz+ywmNGGXdJq hjuw== X-Gm-Message-State: AE9vXwMoP1pRZdrKlfdqSFdRiC0nBW4+kd5F1mZWKbBX4vPDtvlxhAQZQX3A/D4/BU+mpw== X-Received: by 10.28.144.5 with SMTP id s5mr9702897wmd.39.1472456264460; Mon, 29 Aug 2016 00:37:44 -0700 (PDT) Original-Received: from keima.localdomain (x2f2453d.dyn.telefonica.de. [2.242.69.61]) by smtp.gmail.com with ESMTPSA id us9sm32909840wjb.43.2016.08.29.00.37.43 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 00:37:43 -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:95961 Archived-At: This is a multi-part message in MIME format. --===============7110407277559996107== Content-Type: multipart/alternative; boundary="------------060405010806060604050901" This is a multi-part message in MIME format. --------------060405010806060604050901 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Jose Luis Arellano > 29. August 2016 um 07:06 > Hello list, > I have another question for you, it is about diacritic's replacement > in math mode. > > \definefontfamily[mainface][serif][Minion Pro] > \definefallbackfamily[mainface][math][Minion > Pro][tf=style:italic,preset=math:lowercaseitalic] > \definefallbackfamily[mainface][math][Minion > Pro][tf=style:italic,preset=math:uppercaseitalic] > \definefontfamily[mainface][math][Latin Modern Math] > \setupbodyfont[mainface] > > \starttext > {\it Piña}\par > \m{Pi\tilde{n}a}\par > {\it Canción}\par > \m{Canci\acute{o}n} > \stoptext > > As you can see, the accents are replaced with Latin Modern Math font. > So, how can i use accents from Minion Pro? Use the \mathtext (ot \mathtextit, \mathtextbf etc.) command. \definefontfamily [mainface] [rm] [Minion Pro] \definefontfamily [mainface] [mm] [Latin Modern Math] \setupbodyfont[mainface] \starttext {\it Piña} \m{\mathtextit{Piña}} {\it Canción} \m{\mathtextit{Canción}} \stoptext Wolfgang --------------060405010806060604050901 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
29. August 2016 um 07:06
Hello list,
I have another question for you, it is about diacritic's replacement
in math mode.

\definefontfamily[mainface][serif][Minion Pro]
\definefallbackfamily[mainface][math][Minion
Pro][tf=style:italic,preset=math:lowercaseitalic]
\definefallbackfamily[mainface][math][Minion
Pro][tf=style:italic,preset=math:uppercaseitalic]
\definefontfamily[mainface][math][Latin Modern Math]
\setupbodyfont[mainface]

\starttext
{\it Piña}\par
\m{Pi\tilde{n}a}\par
{\it Canción}\par
\m{Canci\acute{o}n}
\stoptext

As you can see, the accents are replaced with Latin Modern Math font.
So, how can i use accents from Minion Pro?
Use the \mathtext (ot \mathtextit, \mathtextbf etc.) command.

\definefontfamily [mainface] [rm] [Minion Pro]
\definefontfamily [mainface] [mm] [Latin Modern Math]

\setupbodyfont[mainface]

\starttext

{\it Piña}

\m{\mathtextit{Piña}}

{\it Canción}

\m{\mathtextit{Canción}}

\stoptext

Wolfgang
--------------060405010806060604050901-- --===============7110407277559996107== 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= --===============7110407277559996107==--