Problematic Nightly (2012.12.01 13:03)
![](https://secure.gravatar.com/avatar/e4119be23c6b43ebdb1041bb53ac9e67.jpg?s=120&d=mm&r=g)
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... 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
![](https://secure.gravatar.com/avatar/1930c667fbd3884fd581e95eb4d5b15c.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
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-... I admit that I'm still confused since I'm not sure about the latest font version & location. Mojca
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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-...
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 -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Kip Warner
-
Mojca Miklavec
-
Sietse Brouwer