ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Opentype features and space after comma in math mode
@ 2016-08-29 18:20 Jose Luis Arellano
  2016-08-29 20:45 ` Jose Luis Arellano
  0 siblings, 1 reply; 11+ messages in thread
From: Jose Luis Arellano @ 2016-08-29 18:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-06-03  9:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 18:20 Opentype features and space after comma in math mode 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
2017-06-03  7:58                 ` Jose Luis Arellano
2017-06-03  9:27                   ` Pablo Rodriguez

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).