ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: Re: definefallbackfamily stopped working for text fonts
Date: Tue, 28 Aug 2018 10:14:36 +0200	[thread overview]
Message-ID: <3ecba0e4-b2a7-24ee-8378-27691db4e187@xs4all.nl> (raw)
In-Reply-To: <aa6c6cb5-ef6d-f758-7602-c3a58bdf901d@gmail.com>

On 8/28/2018 3:49 AM, Henri Menke wrote:
> Dear list,
> 
> In the latest beta the font fallback using a text font in math mode does
> not work anymore.  The log contains messages like
> 
> char 𝑐 (U+1D450) in font 'MinionPro-It' with id 8: missing
> char 𝑎 (U+1D44E) in font 'MinionPro-It' with id 8: missing
> char 𝑏 (U+1D44F) in font 'MinionPro-It' with id 8: missing
> 
> which is not surprising because a text font does not have math italics.
> How can I get this to work again?  MWE below.

Isn't it

\definefallbackfamily
     [mainface] [math] [Minion Pro]
     [range=lowercaseitalic,force=yes]
\definefallbackfamily
     [mainface] [math] [Minion Pro]
     [range=digitsnormal,force=yes]

or so? It's Wolfgangs speciality ...

> Cheers, Henri
> 
> ---
> 
> \definefontfamily [mainface] [rm] [Minion Pro]
> 
> \definefallbackfamily [mainface] [math] [Minion Pro]
> [math:lowercaseitalic] [force=yes]
> \definefallbackfamily [mainface] [math] [Minion Pro] [math:digitsnormal]
>     [force=yes]
> \definefontfamily     [mainface] [math] [TeX Gyre Pagella Math]
> 
> \setupbodyfont[mainface]
> 
> \starttext
> \input ward
> 
> \startformula
>    c^2 = a^2 + b^2
> \stopformula
> 
> \stoptext
> 
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2018-08-28  8:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28  1:49 Henri Menke
2018-08-28  8:14 ` Hans Hagen [this message]
2018-08-28 17:03   ` Wolfgang Schuster

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=3ecba0e4-b2a7-24ee-8378-27691db4e187@xs4all.nl \
    --to=j.hagen@xs4all.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).