There is no way for me to fix this because it’s a context bug. You can see the effect with the following example, when you load LM before Pagella the heading use LM Math but when you load Pagella before LM Palatino math is used for the heading.\setupbodyfont[modern]\setupbodyfont[pagella]\setuphead[section][style={\ss\bfb}]\starttext\section{Wat? $y=x^2$} $y=x^2$\stoptextWolfgang