ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill McClain <wmcclain@salamander.com>
Subject: Math formula deleted: Insufficient symbol fonts
Date: Wed, 4 Sep 2002 16:47:56 -0500	[thread overview]
Message-ID: <20020904164756.18563482.wmcclain@salamander.com> (raw)

Here is a strange case. Using ConTeXt 2002.7.26, pdfeTeX, Version
3.14159-1.00a-pretest-20010806-2.1.

I have a script which uses Adobe Sabon, but I switch back to CM and use
math mode when I need just a few Greek characters. All was working well
until I started adjusting font size, and then I got:

    ! Math formula deleted: Insufficient symbol fonts.

upon encountering the first math mode usage. Some font sizes work and
some don't:

ok: 10, 10.0, 10.01, 11
no good: 10.1, 10.2, 10.3, 10.4, 10.5

Looks like a fractional font size problem, although I can't explain why
10.01 works, unless it is rounded to a whole point size.

Here is a small script demonstrating the error:

* * *

\usetypescriptfile[type-sabon]
\usetypescript[Sabon]

\usetypescript[modern][default]

\setupbodyfont[Sabon]

\def\Greek#1{{\switchtobodyfont[modern]$#1$}}

\starttext 
% ok
\switchtobodyfont[11pt]
Here is an alpha: \Greek{\alpha}.

% ok
\switchtobodyfont[10pt]
Here is a beta: \Greek{\beta}.

% ok
\switchtobodyfont[10.01pt]
Here is a gamma: \Greek{\gamma}.

% no good!
\switchtobodyfont[10.5pt]
Here is a delta: \Greek{\delta}.
\stoptext

* * *

-Bill
-- 
Sattre Press                                      Tales of War
http://sattre-press.com/                       by Lord Dunsany
info@sattre-press.com             http://tow.sattre-press.com/ 


             reply	other threads:[~2002-09-04 21:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 21:47 Bill McClain [this message]
2002-09-06 10:30 ` 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=20020904164756.18563482.wmcclain@salamander.com \
    --to=wmcclain@salamander.com \
    /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).