From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: font features in math
Date: Sun, 1 May 2016 11:22:32 +0200 [thread overview]
Message-ID: <5mplhkg02ezh$.dlg@nililand.de> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2016-05-01 9:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-01 9:22 Ulrike Fischer [this message]
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
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='5mplhkg02ezh$.dlg@nililand.de' \
--to=news3@nililand.de \
--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).