My purpose is to use mathspec with polyglossia, so I try the following:<br><br>-------------------<br>\documentclass{article}<br>\usepackage{mathspec}<br>\usepackage{polyglossia}<br>\begin{document}<br> hello<br>\end{document}<br>
-------------------<br><br>Unfortunately, I get the error message: <br><br>etoolbox.sty:380:Command \expandonce already defined. \unexpanded\expandafter{#1}}<br><br>mathspec loads fontspec, so mathspec can&#39;t (easily) be loaded after polyglossia. If only fontspec (and not mathspec) is used, then the above compiles correctly.<br>
The solution I found is to \usepackage{etoolbox} before mathspec, but this should not be something that the user has to do.<br>The problem clearly is in the cooperation of mathspec and polyglossia, but I can&#39;t tell whose fault it is. I understand that mathspec is still experimental, but such incompatibilities should not exist...<br>
<br>Nikos Platis<br>