<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2012/12/27 Reinhard Kotucha <span dir="ltr"><<a href="mailto:reinhard.kotucha@web.de" target="_blank">reinhard.kotucha@web.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
when compiling the file<br>
<br>
---------------------------------------------<br>
\documentclass{article}<br>
\RequirePackage{fontspec}<br>
\setmainfont{TeX Gyre Pagella}<br>
\RequirePackage{unicode-math}<br>
\setmathfont[vargreek-shape=unicode,<br>
             math-style=TeX,<br>
             bold-style=TeX,]<br>
             {texgyrepagellamath-regular.otf}<br>
<br>
\RequirePackage{amsmath}<br>
\stop<br>
---------------------------------------------<br>
<br>
I get:<br>
<br>
| (/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amstext.sty<br>
| (/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsgen.sty))<br>
| (/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsbsy.sty)<br>
| (/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsopn.sty)<br>
| *************************************************<br>
| * lualatex-math warning: "wrong-meaning"<br>
| *<br>
| * I've expected \newmcodes@ to have the meaning<br>
| * macro:->\mathcode `\'39\mathcode `\*42\mathcode `\."613A\ifnum \mathcode<br>
| * `\-=45 \else \mathchardef \std@minus \mathcode `\-\relax \fi \mathcode<br>
| * `\-45\mathcode `\/47\mathcode `\:"603A\relax ,<br>
| * but it has the meaning<br>
| * \long macro:->\mathcode `\'39\scan_stop: \mathcode `\*42\scan_stop:<br>
| * \mathcode `\."613A\scan_stop: \mathcode `\-45\scan_stop: \mathcode<br>
| * `\/47\scan_stop: \mathcode `\:"603A\scan_stop: .<br>
| *************************************************<br>
|<br>
| ! LaTeX Error: Command \dddot already defined.<br>
|                Or name \end... illegal, see p.192 of the manual.<br>
|<br>
| See the LaTeX manual or LaTeX Companion for explanation.<br>
| Type  H <return>  for immediate help.<br>
|  ...<br>
|<br>
| l.571    \hbox{\normalfont ...}\vss}}}}<br>
<br>
It works like charm if I disable the amsmath package.  What am I doing<br>
wrong?<br><br></blockquote><div><br></div><div style>Sorry about that. Both unicode-math and lualatex-math contain a fix for the same amsopn issue; when I added the fix to lualatex-math, I forgot to adapt unicode-math. I should be able to come up with a fix easily (but with this combination the warning is not harmful).</div>
<div style>The error about \dddot is weirder. Try loading amsmath before unicode-math. In general I want to allow loading of amsmath after unicode-math, but right now there still seem to be a few issues. </div></div><br></div>
</div>