From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Opentype features and space after comma in math mode
Date: Fri, 2 Jun 2017 09:47:11 +0200 [thread overview]
Message-ID: <817d15b7-9ba1-3ef2-0755-71a8747d5535@wxs.nl> (raw)
In-Reply-To: <7695bbce-54c6-9f89-1690-283e7019ad65@gmx.es>
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=base,tnum=yes,lnum=yes]
>
> José Luis,
>
> I think that line should read:
>
> \definefontfeature[mathdigits][mode=base,tnum=yes,lnum=yes]
>
> But without a sample, I’m 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
\definefontfeature[mathdigits][tnum=yes,lnum=yes]
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/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2017-06-02 7:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-29 18:20 Jose Luis Arellano
2016-08-29 20:45 ` Jose Luis Arellano
2016-08-29 21:02 ` Wolfgang Schuster
2016-08-29 21:22 ` Jose Luis Arellano
2016-08-29 21:43 ` Wolfgang Schuster
2016-08-29 22:31 ` Jose Luis Arellano
2017-06-02 4:40 ` Jose Luis Arellano
2017-06-02 5:40 ` Pablo Rodriguez
2017-06-02 7:47 ` Hans Hagen [this message]
2017-06-03 7:58 ` Jose Luis Arellano
2017-06-03 9:27 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=817d15b7-9ba1-3ef2-0755-71a8747d5535@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).