ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problematic Nightly (2012.12.01 13:03)
@ 2012-12-03  1:52 Kip Warner
  2012-12-03  6:46 ` Sietse Brouwer
  0 siblings, 1 reply; 5+ messages in thread
From: Kip Warner @ 2012-12-03  1:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster


[-- Attachment #1.1: Type: text/plain, Size: 1569 bytes --]

Hey list,

I'm having trouble getting my book to build with nightly 2012.12.01
13:03. This is the error I am receiving:

        ! Math error: parameter \Umathquad\displaystyle is not set.
        \textmath ...\normalstartimath #1\normalstopimath 
                                                          \endgroup \fi 
        \symb_place_indeed ...name \??symbol #1\endcsname 
                                                          \relax \endgroup 
        \symb_place_retry ...name \symb_place_indeed {:#1}
                                                          \else #1\fi 
        \symb_place_normal_c ...lace_retry \currentsymbol 
                                                          \fi 
        \symb_place_normal_b ...else \symb_place_normal_c 
                                                          \fi 
        \symb_place_indeed ...name \??symbol #1\endcsname 
                                                          \relax \endgroup 
        ...
        l.16 T
              o encourage contributors to refine their ideas, think them through, an...
        E
        ? You want to edit file Preface/Preface.tex at line 16

This is the file it is referring to. I don't see anything unusual on
line 16:

<https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Preface/Preface.tex>

PS Please cc me, as I am not currently subscribed on the list
currently.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problematic Nightly (2012.12.01 13:03)
  2012-12-03  1:52 Problematic Nightly (2012.12.01 13:03) Kip Warner
@ 2012-12-03  6:46 ` Sietse Brouwer
  2012-12-03 10:09   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Sietse Brouwer @ 2012-12-03  6:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Mojca Miklavec

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

Probably related: recent changes to math font filenames.
http://archive.contextgarden.net/message/20121130.022201.993bea83.en.html

Cheers,
Sietse
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problematic Nightly (2012.12.01 13:03)
  2012-12-03  6:46 ` Sietse Brouwer
@ 2012-12-03 10:09   ` Hans Hagen
  2012-12-03 10:21     ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2012-12-03 10:09 UTC (permalink / raw)
  To: Sietse Brouwer; +Cc: mailing list for ConTeXt users, Mojca Miklavec

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problematic Nightly (2012.12.01 13:03)
  2012-12-03 10:09   ` Hans Hagen
@ 2012-12-03 10:21     ` Mojca Miklavec
  2012-12-03 10:34       ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2012-12-03 10:21 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Mon, Dec 3, 2012 at 11:09 AM, Hans Hagen wrote:
> On 12/3/2012 7:46 AM, Sietse Brouwer wrote:
>
> 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" },
>     },

But the problem is that the file is "lmodern-math.otf" and not
"lmmath-regular.otf".

I'm syncing the font from
    http://tug.org/svn/texlive/trunk/Master/texmf-dist/fonts/opentype/public/lm-math/

I admit that I'm still confused since I'm not sure about the latest
font version & location.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problematic Nightly (2012.12.01 13:03)
  2012-12-03 10:21     ` Mojca Miklavec
@ 2012-12-03 10:34       ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2012-12-03 10:34 UTC (permalink / raw)
  To: Mojca Miklavec; +Cc: mailing list for ConTeXt users

On 12/3/2012 11:21 AM, Mojca Miklavec wrote:
> On Mon, Dec 3, 2012 at 11:09 AM, Hans Hagen wrote:
>> On 12/3/2012 7:46 AM, Sietse Brouwer wrote:
>>
>> 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" },
>>      },
>
> But the problem is that the file is "lmodern-math.otf" and not
> "lmmath-regular.otf".
>
> I'm syncing the font from
>      http://tug.org/svn/texlive/trunk/Master/texmf-dist/fonts/opentype/public/lm-math/
>
> I admit that I'm still confused since I'm not sure about the latest
> font version & location.

ok, I'll add it:

     filenames = { -- for a while:
         ["lmodernmath-regular.otf"] = { "lmodern-math.otf", 
"lmmath-regular.otf" },
     },


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-03 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03  1:52 Problematic Nightly (2012.12.01 13:03) Kip Warner
2012-12-03  6:46 ` Sietse Brouwer
2012-12-03 10:09   ` Hans Hagen
2012-12-03 10:21     ` Mojca Miklavec
2012-12-03 10:34       ` Hans Hagen

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).