ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Baskervald ADF Virtual Math Fonts
Date: Fri, 18 Apr 2014 08:38:35 +0200	[thread overview]
Message-ID: <CAHy-LL93+=hj7tmPaFVYDbsx9gm=gwZ0sDVoT=DeDAKZOCiF=g@mail.gmail.com> (raw)
In-Reply-To: <5350c5f1.a50dc30a.4dce.ffffe49c@mx.google.com>

Hi Joas,

I do not have that font to try (and sorry if I misunderstand the
question), but the following works to get Minion italic as
"lowercaseitalic" and so on instead of Pagella. Maybe using the names
instead of the glyph ranges work for you aswell?

\definefontfamily [mainface] [rm] [Minion Pro][opticalsize=yes]
\definefontfamily [mainface] [ss] [Myriad Pro][opticalsize=yes]

\definefallbackfamily [mainface] [math] [Minion Pro]
[math:uppercasenormal] [force=yes]
\definefallbackfamily [mainface] [math] [Minion Pro]
[math:uppercaseitalic] [force=yes]
\definefallbackfamily [mainface] [math] [Minion Pro]
[math:lowercasenormal] [force=yes]
\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]

Best regards, Mikael

On Fri, Apr 18, 2014 at 8:20 AM,  <joasyannick@gmail.com> wrote:
>>>
>>>
>>>
>>> Hello,
>>>
>>>
>>>
>>>> Replacing certain symbols in a math font with a text font is very easy
>>>> with the fallback
>>>
>>>> mechanism and the \definefallbackfamily command makes things even
>>>> simpler.
>>>
>>> The command \definefallbackfamily seems not to be a typescript-level
>>> command.
>
> You need a newer version of ConTeXt to get that command.
>
>
> Ok. You may also answer my question:
>
> Let us consider the statememt:
>
>
> \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic]
> [0x1D44E-0x1D467] [\check=yes,force=yes]
>
>
>
>
> I understand it as: “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z)
>
> of the source font with the glyphs from Baskervald italic having the same
> code.”
>
> But how do you map 0x1D44E-0x1D467 of the source font to 0x61-0x7a.
>
> How do you say:  “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z) of
>
> the source font with the glyphs  0x61-0x7a (text a-z) from Baskervald
> italic”?
>
> For example something like:
>
>
> \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic]
> [0x1D44E-0x1D467] [0x61-0x7a] [\check=yes,force=yes]
>
>
> Thank you,
> Joas
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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:[~2014-04-18  6:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18  6:20 joasyannick
2014-04-18  6:38 ` Mikael P. Sundqvist [this message]
2014-04-18 14:28   ` Wolfgang Schuster
2014-04-18 17:59     ` Mikael P. Sundqvist
2014-04-18 14:23 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2014-04-18 16:36 joasyannick
2014-04-17 18:17 joasyannick
2014-04-17 19:05 ` Aditya Mahajan
2014-04-13 19:01 joasyannick
2014-04-13 19:47 ` Wolfgang Schuster
2014-04-13  6:32 joasyannick
2014-04-13 15:52 ` 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='CAHy-LL93+=hj7tmPaFVYDbsx9gm=gwZ0sDVoT=DeDAKZOCiF=g@mail.gmail.com' \
    --to=mickep@gmail.com \
    --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).