ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set
Date: Thu, 30 Nov 2023 21:20:09 +0100	[thread overview]
Message-ID: <20231130212009.05c21da7@homerow> (raw)
In-Reply-To: <2fb8ad21-309d-a582-9801-436081b6cb93@gmail.com>

On Thu, 30 Nov 2023 20:51:42 +0100
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

> > %% comment/remove this line and it works
> > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]  
> 
> Use the \definetypeface command to load the math font.

That example was taken straight from

  https://wiki.contextgarden.net/Command/definefontfamily

So that should better read like this: ?

  \definefontfamily [mainface] [rm]        [TeX Gyre Pagella]
  \definefontfamily [mainface] [ss]        [TeX Gyre Heros]
  \definetypeface   [mainface] [mm] [math] [pagella]

  \setupbodyfont[mainface]

Should I correct the wiki then?

> Math fonts always use special settings or load additional settings
> which are missing when you use 
> \definefontfamily.
> 
> \definetypeface [mainface] [mm] [math] [pagella]

That works, thanks. However, I discovered that:

%% fails
\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

%% works
\definefontfamily [mainface] [mm] [pagella]

So even with \definefontfamily it works, when “TeX Gyre Pagella
Math” is changed to “pagella”. That I do not understand.

Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-11-30 20:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 19:43 [NTG-context] " Marco Patzer
2023-11-30 19:51 ` [NTG-context] " Wolfgang Schuster
2023-11-30 20:20   ` Marco Patzer [this message]
2023-11-30 21:23   ` Marco Patzer
2023-12-01 14:09     ` Wolfgang Schuster
2023-12-01 14:30       ` Marco Patzer

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=20231130212009.05c21da7@homerow \
    --to=lists@homerow.info \
    --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).