Thanks guys, but unfortunately the code provided doesn't works.

\definefontfeature[mathdigits][mode=base,tnum=yes,lnum=yes]
\definefontfeature[mathdigits][tnum=yes,lnum=yes]

2017-06-02 3:47 GMT-04:00 Hans Hagen <pragma@wxs.nl>:
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
___________________________________________________________________________________