Re: Math Parameters Can Not Be Resolved From Libertinus Math.
Taco Hoekwater <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
> On 13 Apr 2026, at 16:18, via ntg-context <[email protected]> wrote: > > \definefontfamily [MF] [rm] [libertinusserif] > \definefontfamily [MF] [ss] [libertinussans] > \definefontfamily [MF] [tt] [libertinusmono] > \definefontfamily [MF] [math] [libertinusmath] It seems this is not a proper opentype math font (there is no MATH table in the TTF). So, from ConTeXt's point of view it is just a collection of “math related” separate glyphs, and special code would need to be written to support it. Best wishes, Taco > \setupbodyfont [MF,10.5pt] > \starttext > 1234567890 > \im{12_{34}} > > \stoptext > resolvers | formats | executing runner 'run luametatex format': /home/lsl_046/Project-Outer/tex/texmf-linux-64/bin/luametatex --jobname="./test.tex" --socket --shell-escape --fmt=/home/lsl_046/Project-Outer/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/lsl_046/Project-Outer/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=3 --c:maxnofruns=1 --c:once --c:synctex="repeat" --c:texmfbinpath="/home/lsl_046/Project-Outer/tex/texmf-linux-64/bin" > system > > system > ConTeXt ver: 2026.02.19 11:49 LMTX fmt: 2026.4.3 int: english/english > system > > system > 'cont-new.mkxl' loaded > open source > level 1, order 1, name '/home/lsl_046/Project-Outer/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' > system > beware: some patches loaded from cont-new.mkxl > close source > level 1, order 1, name '/home/lsl_046/Project-Outer/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' > system > files > jobname './test', input './test.tex', result './test'fonts > latin modern fonts are not preloaded > languages > language 'en' is active > system > synctex functionality is enabled, expect 5-10 pct runtime overhead! > open source > level 1, order 2, name './test.tex' > fonts > bodyfont '10.5pt' is defined (can better be done global (maybe use \usebodyfont) > tex error > tex error on line 8 in file ./test.tex: Math error: parameter 'subshiftdown' with id 49 in style 2 is not set > > <macro> \im > #1->\relax \ifmmode \mathconstruct {\textstyle \indisplaymath \conditionalfalse #1}\else \Ustartmathmode \textstyle \indisplaymath \conditionalfalse \expand \everyinsidemathematics \relax #1\Ustopmathmode > \fi > <line 3.8> > \im{12_{34}} > > 1 \definefontfamily [MF] [rm] [libertinusserif] > 2 \definefontfamily [MF] [ss] [libertinussans] > 3 \definefontfamily [MF] [tt] [libertinusmono] > 4 \definefontfamily [MF] [math] [libertinusmath] > 5 \setupbodyfont [MF,10.5pt] > 6 \starttext > 7 1234567890 > 8 >> \im{12_{34}} > 9 > 10 \stoptext > 11 > Sorry, but I can't typeset math unless various parameters have been set. This isnormally done by loading special math fonts into the math family slots. Your font > set is lacking at least the parameter mentioned earlier. > mtx-context | fatal error: return code: 1 > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___________________________________________________________________________________ — Taco Hoekwater E: [email protected] genderfluid (all pronouns) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________