ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jose Luis Arellano <jose.4rellano@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Opentype features and space after comma in math mode
Date: Mon, 29 Aug 2016 15:20:51 -0300	[thread overview]
Message-ID: <CABLfLbA2MYiRLaT9d0cEhWKZPZZTEMO+-Luc77pSvchtMuuu5w@mail.gmail.com> (raw)

Hello list,
Two questions:

1) How can i enable opentype features (onum, lnum, tnum) in math mode?
2) How can i avoid the space after comma in math mode?

I tried this without success:

\definefontfeature[default][default][onum=yes,lnum=no,tnum=no]
\definefontfeature[lnum][default][onum=yes,lnum=no,tnum=no,mode=base]
\definefontfamily[mainface][serif][TeX Gyre Pagella]
\definefontfamily[mainface][math][TeX Gyre Pagella Math][features=lnum]
\setupbodyfont[mainface]

\starttext
1,123\par
\m{1,123}\par
\stoptext

Thanks in advance...
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2016-08-29 18:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-29 18:20 Jose Luis Arellano [this message]
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
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=CABLfLbA2MYiRLaT9d0cEhWKZPZZTEMO+-Luc77pSvchtMuuu5w@mail.gmail.com \
    --to=jose.4rellano@gmail.com \
    --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).