From: Hans Hagen <pragma@wxs.nl>
To: ConTeXt ML <ntg-context@ntg.nl>
Subject: Re: [fontloader] does base mode support combining substitutions?
Date: Sat, 05 Apr 2014 21:43:13 +0200 [thread overview]
Message-ID: <53405CD1.3010502@wxs.nl> (raw)
In-Reply-To: <20140405143632.GA18348@acheron>
On 4/5/2014 4:37 PM, Philipp Gesang wrote:
> Hi Hans,
>
> when combining e.g. certain number substitutions like onum and
> pnum or tnum and lnum, node mode seems to work fine. However,
> those do have value in math mode as well which node mode does not
> currently support. For comparison, here is a test file:
>
> https://bitbucket.org/phg/lua-la-tex-tests/raw/93745dba31e23febb02191c039dea2de743ce77a/cnt-features-8-combined-num.tex
>
> Is there a way to define a font with the combination of, say tnum
> and lnum that will work in math mode? If not, are there plans to
> implement it in the future?
basemode will always be limited because there we create static glyph
sets; so. for complex substitutions node mode is the method to use
what do you mean with math mode in this case; in math a digit is
different from a digit in text mode; i think that if one uses *num
digits we're talking text mode
of course in context we can support whatever we want because we're not
bound to rules, but the question is: does it make sense;
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 prev parent reply other threads:[~2014-04-05 19:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-05 14:37 Philipp Gesang
2014-04-05 19:43 ` Hans Hagen [this message]
2014-04-05 19:58 ` Philipp Gesang
2014-04-05 21:07 ` Hans Hagen
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=53405CD1.3010502@wxs.nl \
--to=pragma@wxs.nl \
--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).