On 6/2/2024 2:43 PM, Alex wrote:
Thank you so much Wolfgang, it solved it! I guess this is new as with LMTX from last week(s) it wasn’t required.

you were just lucky that you got decent math at all (actually it probbaly also needs a proper lfg file)

in the latest lmts the default feature also wipes math stuff from the font just to make sure that it doesn't interfere (e.g. the latest dejavu has some math in the regular text fonts that makes no sense and might even be wrong); in a few case (as with euler) we explicitly now have to do wipemath=no

Hans

Le 2 juin 2024 à 14:38 +0200, Wolfgang Schuster <wolfgang.schuster.li...@gmail.com>, a écrit :
Alex schrieb am 02.06.2024 um 14:08:
Hi everyone,

I’m facing an error with the latest LMTX with my custom font
definition: Math error: parameter 'subshiftdown' with id 49 in style 0
is not set

\usetypescriptfile[alegreya_libertinus]
\setupbodyfont[alegreya-light,ss,10pt]

\starttext

Hello

\startformula \Gamma_1 \stopformula

\stoptext

Add

    features=math\mathsizesuffix

to \definefontfamily when you set the math font. By default all font
(including monospace and math) get "features=default".

Wolfgang


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________

--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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 / 
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
___________________________________________________________________________________

Reply via email to