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: Math font not embedded
Date: Wed, 18 Mar 2020 14:35:42 +0100	[thread overview]
Message-ID: <aeb9a4af-a76f-e957-c83b-86c2e8dabf0c@gmx.es> (raw)
In-Reply-To: <a1f24fdf-418f-ffc0-0c5f-0b1ac9f55d15@xs4all.nl>

On 3/18/20 10:51 AM, Hans Hagen wrote:
> On 3/18/2020 10:44 AM, Pablo Rodriguez wrote:
>> \definefontfamily [mainface] [rm] [DejaVu Serif]
>>    \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>>    \setupbodyfont[mainface]
>>    \starttext
>>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>    \setupbodyfont[pagella]
>>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>    \stoptext
>
> what if you wipe the cache?

Hans,

using this sample:

  \definefontfamily [mainface] [rm] [DejaVu Serif]
  \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
  \setupbodyfont[mainface]
  \starttext
  \m{\sin^2(t)^2 + \cos^2(t) = 1}
  \stoptext

Although I get this message in line 38 from the log file:

mkiv lua stats  > loaded fonts: 2 files: texgyrepagella-math.otf,
dejavuserif.ttf

There is a previous message in lines 19 and 20 from the log file (same
message repeated twice):

fonts           > math: unset for global bodyfont mainface at 12pt

I have just checked and noticed that MkIV (LuaTeX 1.11 7226 + ConTeXt
MkIV 2020.01.30 14:13) embeds the font fine.

I hope this 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:[~2020-03-18 13:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18  8:59 Jan Willem Flamma
2020-03-18  9:44 ` Pablo Rodriguez
2020-03-18  9:51   ` Hans Hagen
2020-03-18 13:35     ` Pablo Rodriguez [this message]
2020-03-18 17:16       ` Hans Hagen
2020-03-18 19:07         ` Wolfgang Schuster
2020-03-18 10:20 Jan Willem Flamma
2020-03-18 10:38 ` Hans Hagen
2020-03-18 11:52 Jan Willem Flamma

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=aeb9a4af-a76f-e957-c83b-86c2e8dabf0c@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).