From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98133 Path: news.gmane.org!.POSTED!not-for-mail From: Jose Luis Arellano Newsgroups: gmane.comp.tex.context Subject: Re: Opentype features and space after comma in math mode Date: Sat, 3 Jun 2017 03:58:34 -0400 Message-ID: References: <57C4A2F2.1070801@gmail.com> <57C4AC6B.4010204@gmail.com> <7695bbce-54c6-9f89-1690-283e7019ad65@gmx.es> <817d15b7-9ba1-3ef2-0755-71a8747d5535@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8667206965055190164==" X-Trace: blaine.gmane.org 1496476742 31995 195.159.176.226 (3 Jun 2017 07:59:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 07:59:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 03 09:58:58 2017 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 1dH3xY-0007xp-Of for gctc-ntg-context-518@m.gmane.org; Sat, 03 Jun 2017 09:58:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 214CC85FD9; Sat, 3 Jun 2017 09:58:50 +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 2ed9G-2FDm5h; Sat, 3 Jun 2017 09:58:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 76E4A85FCD; Sat, 3 Jun 2017 09:58:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C72185FCA for ; Sat, 3 Jun 2017 09:58:48 +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 HQzsvI5nWgen for ; Sat, 3 Jun 2017 09:58:47 +0200 (CEST) Original-Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) (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 61FBF85FC9 for ; Sat, 3 Jun 2017 09:58:37 +0200 (CEST) Original-Received: by mail-oi0-f50.google.com with SMTP id o65so90739449oif.1 for ; Sat, 03 Jun 2017 00:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=pNvmltpOsV3T09zf2NxzPWwYNLwUObUdzd3kKaVtYu8=; b=G4qRJ3y+Ixb+SOyufzlwtbOyV8ce3dYs3AscenX0SeY/CeMh4Hj0i5Nn7n7MpTj8o/ P7SphelvY0PRMd+YYWpSJqePO99UkS/9KIXbpemj27S17CTwbpk7KUtQ10KgkHLhDmnq SB/PIaRmY8+wZpmBn9lgOPVGwGZLgngN9Jd33X8yo5QKikeDOvnKwGHx9Lk99qU1KLZ3 4dAFVvT+I81onckXaGZbMNJ5picSXMj0HJSNSV6B9pz1Hk9OTKiJGaWsmvDKZNLIzVDk kCMTzRmVyoFqxMhHT0+QxXc3/VY434i2+rDzoEj7yIUh7/2+mZh3rTI76r81vG+knDs+ BgJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=pNvmltpOsV3T09zf2NxzPWwYNLwUObUdzd3kKaVtYu8=; b=gASR9Q/cL8LajUINIRxWRl/6kL82hA402V4JzAwHC4tWjIjDKZ3PlDen4yETBvw2Yz zT/cNSOBkPmFGn+rcvMsFGQD5y4AqrnUIsRm201OBVcRGcUYG+ZyuUcxmLECUHCaswhp 2MM1Al36a9dblDiqCM6kMbh4ZncCIJFPI2073ingAdEUvx50K6OnPjlqrscZvzR0zsIC U1f7UFOhJejgad6u0E7ZTxpks9mDB0qj3KOYQGe+acgtGb5yQpCgorMonJ8hWHsVvBrK O7IFIY7l7E7vDBgqwGTUCzVa/dnZZPjxoRHA+IVhE+vYN4eErLmaQxhYMMw9zL71EnVQ AN7A== X-Gm-Message-State: AODbwcC9dzeAuVUwWJJ5EcVXO6sMMoLeYr8/lTKM9fi5GdJ0EBpZSv/V BBDg3HCy7R2KMIlJMTZf5EGqBjcfKyXW X-Received: by 10.157.60.29 with SMTP id q29mr6490541otc.193.1496476715358; Sat, 03 Jun 2017 00:58:35 -0700 (PDT) Original-Received: by 10.157.32.1 with HTTP; Sat, 3 Jun 2017 00:58:34 -0700 (PDT) In-Reply-To: <817d15b7-9ba1-3ef2-0755-71a8747d5535@wxs.nl> 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:98133 Archived-At: --===============8667206965055190164== Content-Type: multipart/alternative; boundary="001a11c04cae08a0ac055109a38e" --001a11c04cae08a0ac055109a38e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks guys, but unfortunately the code provided doesn't works. \definefontfeature[mathdigits][mode=3Dbase,tnum=3Dyes,lnum=3Dyes] \definefontfeature[mathdigits][tnum=3Dyes,lnum=3Dyes] 2017-06-02 3:47 GMT-04:00 Hans Hagen : > On 6/2/2017 7:40 AM, Pablo Rodriguez wrote: > >> On 06/02/2017 06:40 AM, Jose Luis Arellano wrote: >> >>> Dear Wolfgang. >>> >>> In recents versions of Context, what is the correct way to use lnum >>> feature in maths? >>> >>> This doesn't works anymore: >>> >>> \definefontfeature[mathdigits][default][mode=3Dbase,tnum=3Dyes,lnum=3Dy= es] >>> >> >> Jos=C3=A9 Luis, >> >> I think that line should read: >> >> \definefontfeature[mathdigits][mode=3Dbase,tnum=3Dyes,lnum=3Dyes] >> >> But without a sample, I=E2=80=99m afraid I cannot test it. >> >> Just in case it might help, >> >> Pablo >> > most math setups have an (unset) mathextra featureset that you can use fo= r > such extra features and indeed one should not inherit from defult > > \definefontfeature[mathdigits][tnum=3Dyes,lnum=3Dyes] > > of course it also depends on what a font provides (if we're talking > alternates one can also use the normal 'alternates' feature switching in > math) > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > ____________________________________________________________ > _______________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --001a11c04cae08a0ac055109a38e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks guys, but unfortunately the code provided doesn'= ;t works.

\definefontfeature[mathdigits][mode=3Dbase,tnu= m=3Dyes,lnum=3Dyes]
\definef= ontfeature[mathdigits][tnum=3Dyes,lnum=3Dyes]

= 2017-06-02 3:47 GMT-04:00 Hans Hagen <pragma@wxs.nl>:
On 6/2/2017 7:40 AM, Pablo Rodrigu= ez wrote:
On 06/02/2017 06:40 AM, Jose Luis Arellano wrote:
Dear Wolfgang.

In recents versions of Context, what is the correct way to use lnum
feature in maths?

This doesn't works anymore:

\definefontfeature[mathdigits][default][mode=3Dbase,tnum=3Dyes,ln= um=3Dyes]

Jos=C3=A9 Luis,

I think that line should read:

=C2=A0 =C2=A0 =C2=A0\definefontfeature[mathdigits][mode=3Dbase,tnum=3D= yes,lnum=3Dyes]

But without a sample, I=E2=80=99m afraid I cannot test it.

Just in case it might help,

Pablo
most math setups have an (unset) mathextra featureset that you can use for = such extra features and indeed one should not inherit from defult

=C2=A0 \definefontfeature[mathdigits][tnum=3Dyes,lnum=3Dyes]

of course it also depends on what a font provides (if we're talking alt= ernates one can also use the normal 'alternates' feature switching = in math)

Hans

-----------------------------------------------------------------=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0tel: 038 477 53 69 | www.pragma-ade.nl | www.p= ragma-pod.nl
-----------------------------------------------------------------=

_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--001a11c04cae08a0ac055109a38e-- --===============8667206965055190164== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8667206965055190164==--