ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <phg@phi-gamma.net>
To: news3@nililand.de, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font features in math
Date: Sun, 1 May 2016 11:45:02 +0200	[thread overview]
Message-ID: <20160501094502.GB31024@phlegethon> (raw)
In-Reply-To: <5mplhkg02ezh$.dlg@nililand.de>


[-- Attachment #1.1: Type: text/plain, Size: 884 bytes --]

···<Datum: Sunday, 01. May 2016>···<Von: Ulrike Fischer>···

> 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?

    mode=base

See the issue thread where you got the example from or the
Luaotfload manual.

Philipp


[-- Attachment #1.2: Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-05-01  9:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-01  9:22 Ulrike Fischer
2016-05-01  9:45 ` Philipp Gesang [this message]
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=20160501094502.GB31024@phlegethon \
    --to=phg@phi-gamma.net \
    --cc=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).