ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: definefallbackfamily and uppercasedoublestruck not working?
Date: Sat, 25 Nov 2017 15:30:05 +0100	[thread overview]
Message-ID: <c8882e0a-319a-8ad6-a41f-72cb8c2ba7d9@gmx.es> (raw)
In-Reply-To: <CAHy-LL8KTMJJ-M-trgD4nUzppUXxMT6wKRFOGs0mSGnRV0o4pQ@mail.gmail.com>

On 11/25/2017 03:10 PM, Mikael P. Sundqvist wrote:
> [...]
> I agree that it is strange to have those holes due to present symbols.
> Will the code I used work in an updated beta, or should we proceed in
> some other way?

Hi Mikael,

math is all Greek to me, but this seems to work (I guess, fallback
should beextended to actual character:

    \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
    \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math]
        [range={uppercasedoublestruck, 0x02102-0x02124}]
    \definefontfamily [mainface] [mm] [Neo Euler]
    \setupbodyfont[mainface,12pt]
    \starttext
    \startTEXpage[offset=3pt]
    Test: $\blackboard C$ or $\mathbb P$

    \switchtobodyfont[pagella]
    Test: $\blackboard C$ or $\mathbb P$
    \stopTEXpage
    \stoptext

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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:[~2017-11-25 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-24 12:07 Mikael P. Sundqvist
2017-11-25  4:11 ` Henri
2017-11-25 10:00   ` Hans Hagen
2017-11-25 14:10     ` Mikael P. Sundqvist
2017-11-25 14:30       ` Pablo Rodriguez [this message]
2017-11-25 14:36         ` Mikael P. Sundqvist
2017-11-25 16:44           ` 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=c8882e0a-319a-8ad6-a41f-72cb8c2ba7d9@gmx.es \
    --to=oinos@gmx.es \
    --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).