From: Hans Hagen <pragma@wxs.nl>
To: Sietse Brouwer <sbbrouwer@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: Problematic Nightly (2012.12.01 13:03)
Date: Mon, 03 Dec 2012 11:09:15 +0100 [thread overview]
Message-ID: <50BC7A4B.6060305@wxs.nl> (raw)
In-Reply-To: <CAF=dkzz5Ck0o6Z9C6yyeDL=hzWtEWSE3g=JfKLgRFrMuEuvfLw@mail.gmail.com>
On 12/3/2012 7:46 AM, Sietse Brouwer wrote:
> Hi Kip,
>
> I had the same problem. This is the advice I got (in an unrelated
> off-list e-mail):
>
> Sietse wrote:
>>>> ! Math error: parameter \Umathquad\displaystyle is not set.
>
> Aditya wrote:
>>> That usually means that the math font is not set.
>
> And indeed the math font is not set, due to a filename error. Apply
> the change below, and math will compile again.
>
> % type-imp-latinmodern.mkiv
> \starttypescript [\s!math] [modern,latin-modern]
> \loadfontgoodies[lm]
> - \definefontsynonym [LMMathRoman-Regular]
> [\v!file:lmodernmath-regular.otf]
> [\s!features=\s!math\mathsizesuffix,\s!goodies=lm]
> - \definefontsynonym [LMMathRoman-Bold]
> [\v!file:lmodernmath-regular.otf]
> [\s!features=\s!math\mathsizesuffix,\s!goodies=lm]
> + \definefontsynonym [LMMathRoman-Regular]
> [\v!file:lmodern-math.otf]
> [\s!features=\s!math\mathsizesuffix,\s!goodies=lm]
> + \definefontsynonym [LMMathRoman-Bold]
> [\v!file:lmodern-math.otf]
> [\s!features=\s!math\mathsizesuffix,\s!goodies=lm]
> \stoptypescript
Don't confuse these names. The name LMMathRoman-Regular is remapped onto
a virtual instance which happens in the lm-math.lfg file.
> Probably related: recent changes to math font filenames.
> http://archive.contextgarden.net/message/20121130.022201.993bea83.en.html
That concerns the native unicode variant, and dealing with old filenames
is handled in lm.lfg:
filenames = { -- for a while:
["lmodernmath-regular.otf"] = { "lmmath-regular.otf" },
},
So, we ask for
\starttypescript [\s!math] [modern,latin-modern]
\loadfontgoodies[lm]
\definefontsynonym [LMMathRoman-Regular]
[\v!file:lmodernmath-regular.otf]
[\s!features=\s!math\mathsizesuffix,\s!goodies=lm]
\definefontsynonym [LMMathRoman-Bold]
[\v!file:lmodernmath-regular.otf]
[\s!features=\s!math\mathsizesuffix,\s!goodies=lm]
\stoptypescript
and the otf file is not found, one of the alternatives is looked for.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-12-03 10:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-03 1:52 Kip Warner
2012-12-03 6:46 ` Sietse Brouwer
2012-12-03 10:09 ` Hans Hagen [this message]
2012-12-03 10:21 ` Mojca Miklavec
2012-12-03 10:34 ` 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=50BC7A4B.6060305@wxs.nl \
--to=pragma@wxs.nl \
--cc=mojca.miklavec.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=sbbrouwer@gmail.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).