From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95969 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:02:42 +0200 Message-ID: <57C4A2F2.1070801@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="===============3098554919314033605==" X-Trace: blaine.gmane.org 1472504596 15723 195.159.176.226 (29 Aug 2016 21:03:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2016 21:03:16 +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:03:11 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 1beTi2-0003X6-V3 for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2016 23:03:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A5AAB160D4; Mon, 29 Aug 2016 23:02:58 +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 kRBDhr1hhWHk; Mon, 29 Aug 2016 23:02:57 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 73CE9161D7; Mon, 29 Aug 2016 23:02:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 33340161D5 for ; Mon, 29 Aug 2016 23:02:56 +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 6g9C6YZuwIHf for ; Mon, 29 Aug 2016 23:02:55 +0200 (CEST) Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (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 2C694160D4 for ; Mon, 29 Aug 2016 23:02:45 +0200 (CEST) Original-Received: by mail-wm0-f43.google.com with SMTP id f65so94542582wmi.0 for ; Mon, 29 Aug 2016 14:02:45 -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=9TxTYVbFGhqZvr8l3igfNqdY+HppVmzYclRjkX9gZqQ=; b=02rsjhQaoy9buUGXMuZhnz8n7AnzbnDfzucUx2BfrUUR5h93sTXB8ldwukYAMrGxAb 0H6ZwAjbhafQQRI6nGoiZ5vNFbCoTFXQhsOG+BKpZSkQe3vxr+22hL2jvm2rWqQw+6Ro vSX313gC7Zj4duAQkIqItBGQE5h4kqEdCy5XpCdnwGBYpmj+C6QmRbGQ6D3b10nKX4LV B2CoAqc2oUveU1HMcQpGCDl6h0ic+yt/mIiu/pya+FS6fKodKPj2U7hXecf3hT/ZemlO ruPkoNrYl1jRjjHIDiQ10jUyEtw2qw8Bmm/UU3YaqGWud73z0crwhFK7YV3IhO8THt+P PwYg== 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=9TxTYVbFGhqZvr8l3igfNqdY+HppVmzYclRjkX9gZqQ=; b=Rqpnv0+va0ui66fu7GeAYiIIH1XKEVs8fPTN2rUfdj0gYHmBa4DhGyoDeU8/LcPhA5 ImCO95yVGf7PHf1003fp1hfOSLe73yJSNjIRDy6b2msZk38Lbtas7R/adoLdAFZ0Xgdu i0/wr2rwJ6FfgXZNrOqztcJwXBQxMga8HyTCZoyE+mN1yqQ3Ovah7F7om7A97unZt5dz EANwqi09Px9vSyM6axmJkVM767trw+pTguDtvL1/43QvqX/Wo0YPeBRbSQb8QYlITSXO 7daqY68mAoQ8at+IdvO3zZ7/Gh9+H8Ys8q53bnOWXnBRw0EXuNh3Wrv75A6N4HdxVs8m xQ+Q== X-Gm-Message-State: AE9vXwPWmCz+r751/ui0ENbbi4lWRTU5LaupeIQsa/HDdXzFm5E1fgkUZud5DucCSIU1cw== X-Received: by 10.28.18.149 with SMTP id 143mr11600786wms.28.1472504564144; Mon, 29 Aug 2016 14:02:44 -0700 (PDT) Original-Received: from keima.localdomain (x2f2453d.dyn.telefonica.de. [2.242.69.61]) by smtp.gmail.com with ESMTPSA id 4sm15262748wmu.2.2016.08.29.14.02.43 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 14:02: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:95969 Archived-At: This is a multi-part message in MIME format. --===============3098554919314033605== Content-Type: multipart/alternative; boundary="------------020306050200050308080409" This is a multi-part message in MIME format. --------------020306050200050308080409 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Jose Luis Arellano > 29. August 2016 um 22:45 > After some research, i founded (in Wiki) that space after a comma can > be avoided using: \setupmathematics[autopunctuation=all]. Sorry for > that. > > So, only left second question. This is about opentype features, > specifically tabular numbers in math mode. This issue (i think) is > related to the commercial font that am using, because it have some OT > features enabled by default (eg: onum=yes, tnum=no and lnum=no). Do you use Minion Math? > Curious is that i can only set lnum and onum but not tnum in math. Does this work (untested)? \definefontfamily[inlinemath][mode=base,lnum=yes] % tnum=yes etc. \definefontfamily[…][mm][…][tf=features:inlinemath] BTW: You can list all features of a font with "mtxrun --script fonts --list --info ". Wolfgang --------------020306050200050308080409 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
29. August 2016 um 22:45
After some research, i founded (in Wiki) that space after a comma can
be avoided using: \setupmathematics[autopunctuation=all]. Sorry for
that.

So, only left second question. This is about opentype features,
specifically tabular numbers in math mode. This issue (i think) is
related to the commercial font that am using, because it have some OT
features enabled by default (eg: onum=yes, tnum=no and lnum=no).
Do you use Minion Math?
Curious is that i can only set lnum and onum but not tnum in math.
Does this work (untested)?

\definefontfamily[inlinemath][mode=base,lnum=yes] % tnum=yes etc.

\definefontfamily[…][mm][…][tf=features:inlinemath]

BTW: You can list all features of a font with "mtxrun --script fonts --list --info <fontname>".

Wolfgang
--------------020306050200050308080409-- --===============3098554919314033605== 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= --===============3098554919314033605==--