Re: [NTG-context] Problematic Nightly (2012.12.01 13:03)
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 ___
Re: [NTG-context] Problematic Nightly (2012.12.01 13:03)
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 ___
Re: [NTG-context] Problematic Nightly (2012.12.01 13:03)
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 ___
[NTG-context] Problematic Nightly (2012.12.01 13:03)
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 signature.asc Description: This is a digitally signed message part ___ 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 ___
Re: [NTG-context] Problematic Nightly (2012.12.01 13:03)
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 ___