Closed sidispa closed 6 years ago
There's nothing in the documentation of unicode-math
that says the package is compatible with mathspec
. It isn't.
I’ve added a note to the documentation to this effect.
I didn’t think there was much desire to load the two packages together; you should be able to achieve most of what you’re after in unicode-math alone.
Description
new version 08k gives error while using mathspec package Command '\setmathfont' already defined!
Everything was working fine with older version 0.8.d
Check/indicate
\documentclass{article} \RequirePackage{mathspec} \RequirePackage{unicode-math} % Unicode maths for Xetex
\begin{document}
unicode-math issue with version 0.8k
Works OK with older 0.8d
%................................................. %. LaTeX info: "xparse/define-command" %. %. Defining command \unimathsetup with sig. 'm' on line 264. %................................................. % % %!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! %! %! LaTeX error: "xparse/command-already-defined" %! %! Command '\setmathfont' already defined! %! %! See the LaTeX3 documentation for further information. %! %! For immediate help type H.
%!...............................................
% %l.268 } % %|''''''''''''''''''''''''''''''''''''''''''''''' %| You have used \NewDocumentCommand with a command that already has a %| definition. %| The existing definition of '\setmathfont' will not be altered. %|..............................................
\end{document}