ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* font features in math
@ 2016-05-01  9:22 Ulrike Fischer
  2016-05-01  9:45 ` Philipp Gesang
  0 siblings, 1 reply; 14+ messages in thread
From: Ulrike Fischer @ 2016-05-01  9:22 UTC (permalink / raw)
  To: ntg-context

When I compile this in context all number are oldstyle numbers:

\starttext

\font\test= {name:TeX-Gyre-Termes:+onum}
\test 0123456789
$\fam0 \textfont0=\test 0123456789$ 
\stoptext

When I run a similar plaintex (or latex) example in texlive 2016
with a new luaotfload then the text numbers are (as wanted) old
style, but the numbers in math mode are lining numbers (the font is
correct):

\input luaotfload.sty
\font\test= {name:TeX-Gyre-Termes:+onum}
\test 0123456789
$\fam0 \textfont0=\test 0123456789$ 
\bye


So somehow in math the +onum is lost in plain and latex but not in
context. What is context doing differently to avoid this? (It can't
be the fontloader. I forced luaotfload to use the context files from
the minimals.)




-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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] 14+ messages in thread

end of thread, other threads:[~2016-05-04  8:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-01  9:22 font features in math Ulrike Fischer
2016-05-01  9:45 ` Philipp Gesang
2016-05-01 10:53   ` Ulrike Fischer
2016-05-01 12:46     ` Hans Hagen
2016-05-02 16:47     ` Philipp Gesang
2016-05-02 17:51       ` jfbu
2016-05-02 18:15         ` jfbu
2016-05-02 18:35           ` jfbu
2016-05-03  9:11             ` NEW : ConTeXt documentation in French (Wikibook) Jean-Pierre Delange
2016-05-03  9:49               ` Otared Kavian
2016-05-02 22:13       ` font features in math Ulrike Fischer
2016-05-03  7:25         ` jfbu
2016-05-04  7:53         ` Hans Hagen
2016-05-04  8:38           ` Ulrike Fischer

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