Hi David,
>
> [snip]
> David
>
> For people wanting to use amsmath, a fix would be to change line 741
> of amsmath,sty so it looks something like
>
> \ifx\hyphenationmin\undefined
> \mathchardef\std@minus\mathcode`\-\relax
> \mathchardef\std@equal\mathcode`\=\relax
> \AtBeginDocument{%
> \mathchardef\std@minus\mathcode`\-\relax
> \mathchardef\std@equal\mathcode`\=\relax
> }
> \else
> \Umathcharnumdef\std@minus\Umathcodenum`\-\relax
> \Umathcharnumdef\std@equal\Umathcodenum`\=\relax
> \AtBeginDocument{%
> \Umathcharnumdef\std@minus\Umathcodenum`\-\relax
> \Umathcharnumdef\std@equal\Umathcodenum`\=\relax
> }
> \fi
I thought package lualatex-math by Philipp Stephani addressed
these amsmath problems with \std@minus and \std@equal already ?
as per mathastext.sty package, it already does the right thing
but in a rather brutal way regarding \@newmcodes macro or amsmath
(it replaces it by \relax :-( )
best
Jean-François