well yes \text makes the thing be set four times as many times as \mbox so does stress the semantic nest a bit but not as much as that usually, but without a reproducible test hard to say exactly what is wrong.
On 12 April 2018 at 19:14, Apostolos Syropoulos <asyropou...@yahoo.com> wrote: >>I don't have those fonts and couldn't reproduce the error when I tried >>switching to other fonts so I can't trace the exact cause of the >>error, but the error is not entirely surprising, unicode-math does >>document that it must be called after amsmath > > I think the error is related to the \text command. When I change > \text to \mbox, compilation proceeds with no error, even if > amsmath is called before unicode-math. > > A.S. > > ---------------------- > Apostolos Syropoulos > Xanthi, Greece > > -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex