From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95971 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Opentype features and space after comma in math mode Date: Mon, 29 Aug 2016 23:43:07 +0200 Message-ID: <57C4AC6B.4010204@gmail.com> References: <57C4A2F2.1070801@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2992946696830477392==" X-Trace: blaine.gmane.org 1472507023 6569 195.159.176.226 (29 Aug 2016 21:43:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2016 21:43:43 +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 23:43:38 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 1beULA-00014E-7p for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2016 23:43:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 04ADC160A7; Mon, 29 Aug 2016 23:43:25 +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 IL42k_7wJauc; Mon, 29 Aug 2016 23:43:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C4258160BE; Mon, 29 Aug 2016 23:43:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 303BD160AB for ; Mon, 29 Aug 2016 23:43:22 +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 hP6wrMJqNU6H for ; Mon, 29 Aug 2016 23:43:21 +0200 (CEST) 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 408C7160A7 for ; Mon, 29 Aug 2016 23:43:10 +0200 (CEST) Original-Received: by mail-wm0-f54.google.com with SMTP id f65so95611264wmi.0 for ; Mon, 29 Aug 2016 14:43:10 -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=JTa2IjonaDO6u0EHYDi/LymyZOiZjPJElNnwZVQB4kA=; b=Sx1V4dFdDMx3R0SERyl/4l+vBrNu7+Wj7gu1CgFXX+e9XX97Umu9PoHhqMvs4sxNZG i4gwSzq9wRnCndidlDZXs7NXyHI0M5m66cymY0t2Z61Z/m1lPLzEd2JAw1CTGeasfERH qTnCaBNaPn0LCRVK7KnJL968gXYpw11l+Cpx/j4UOkKTyZva69fpAWmrlsI0b5xD7eFH EPrfn3Z3HqBEnFr37iaykn3Ge+bA074ckEt7ShN3I2p0I23Y0kRpnXgN+PGZnTYjbW07 G3YNY32sLoby3Cg3bMyS1z1+vU7uakfA1stDw3x/SGle+K8zPFXL/ACWHvMfxuP4QDWy nNKg== 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=JTa2IjonaDO6u0EHYDi/LymyZOiZjPJElNnwZVQB4kA=; b=Y3H0ILffF/nAiSs5S/3PLnYx5n1Q056rjvKRWFY0GqqpBIpC3uPF+cWVupmeMWe6S4 CKZ/eQxvWzWr4CpZzuzfhY/Bostz6Md77kMwXVkc/tPpUSzl8SWWjpq04Q6qfdzC3FqQ xhRZAlnhcwZjrzsdW9IMRrFdbqApj/GyEz70SB+k9SuT4eWgs+3JmlwuAubfK6FZqH2j MrKhyrdxR/GW/woDiW7So5j7YtXmwiiGH4nnD9g8O1gCJtZSLc0KtzASe2W8Q2TETnGN 3D5iw6UFwajxqkYjMgZE9S4bLHz1iy6f5wzV3Z4hgVD5yZJVijtWJO7oy9Q8PtlSGtF7 v6Dw== X-Gm-Message-State: AE9vXwNaVCVIcyDKEm2Z9Nan2xT2cx4frkqMAXEsIzgn9UqTbFTgMqtvMC88/7T101+AQw== X-Received: by 10.194.227.228 with SMTP id sd4mr94112wjc.127.1472506990384; Mon, 29 Aug 2016 14:43:10 -0700 (PDT) Original-Received: from keima.localdomain (x2f2453d.dyn.telefonica.de. [2.242.69.61]) by smtp.gmail.com with ESMTPSA id qe2sm36261203wjc.28.2016.08.29.14.43.09 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 14:43:09 -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:95971 Archived-At: This is a multi-part message in MIME format. --===============2992946696830477392== Content-Type: multipart/alternative; boundary="------------000200040406000300060308" This is a multi-part message in MIME format. --------------000200040406000300060308 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Jose Luis Arellano > 29. August 2016 um 23:22 > 2016-08-29 18:02 GMT-03:00 Wolfgang Schuster: >> Do you use Minion Math? > No, am using another commercial font (Fedra Serif B Pro) without math > support and \definefallbackfamily. You last example was misleading because you tried to change the features of the math font. >> Does this work (untested)? > No. > This is what am using: > > \definefontfeature[default][default][tnum=yes,lnum=yes] > \definefontfeature[mathdigits][default][mode=base,tnum=yes,lnum=yes] > \definefontfamily[mainface][serif][...] > \definefallbackfamily[mainface][math][...][preset=math:digitsnormal,features=mathdigits] > \definefontfamily[mainface][math][DejaVu Math] > \setupbodyfont[mainface,10pt] > > \starttext > 0123456789\par > \m{0123456789} > \stoptext > > You can see the result in the attached PDF. I can reproduce it with one of my fonts but have no solution for it. Wolfgang --------------000200040406000300060308 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
29. August 2016 um 23:22
2016-08-29 18:02 GMT-03:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
Do you use Minion Math?
No, am using another commercial font (Fedra Serif B Pro) without math
support and \definefallbackfamily.
You last example was misleading because you tried to change the features of the math font.
Does this work (untested)?
No.
This is what am using:

\definefontfeature[default][default][tnum=yes,lnum=yes]
\definefontfeature[mathdigits][default][mode=base,tnum=yes,lnum=yes]
\definefontfamily[mainface][serif][...]
\definefallbackfamily[mainface][math][...][preset=math:digitsnormal,features=mathdigits]
\definefontfamily[mainface][math][DejaVu Math]
\setupbodyfont[mainface,10pt]

\starttext
0123456789\par
\m{0123456789}
\stoptext

You can see the result in the attached PDF.
I can reproduce it with one of my fonts but have no solution for it.

Wolfgang
--------------000200040406000300060308-- --===============2992946696830477392== 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= --===============2992946696830477392==--