[tex-live] lualatex error in connection with amsart and fontspec

Ulrike Fischer news3 at nililand.de
Thu Jul 4 14:25:44 CEST 2013

Am Wed, 3 Jul 2013 22:53:45 +0200 schrieb Herbert Voss:

> Am 03.07.2013 22:31, schrieb bnb at ams.org:
>> the ams document classes haven't been
>> tested by ams staff with luatex and
>> it's not likely to happen until we have
>> been informed by taco that it's "ready
>> for industrial strength production".
>> (we haven't checked with him recently,
>> but should probably do so.)
> As I already wrote it is _not_ a problem with luatex,
> it happens with xetex, too.
> It is a problem with fontspec.

I think the main source of the problem is this line in amsart.cls:

\AtBeginDocument{\settoheight{\footnotesep}{\footnotesize M$^1$}}

This setups math for \footnotesize but comes before different
settings of fontspec (which are done in AtBeginDocument too) and so
if the first math after \begin{document} is also in \footnotesize
LaTeX thinks that it is not necessary to reset the math and then

Imho fontspec should do something like this:


  \let\glb at currsize\relax

    \footnote{text $1$}%

Ulrike Fischer 

More information about the tex-live mailing list