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