sebschub / MdSymbol

Math symbols for Myriad Pro
Other
4 stars 4 forks source link

onlysansmath and undefined math symbol crashes pdflatex #1

Closed sebschub closed 12 years ago

sebschub commented 12 years ago

Pdflatex crashes:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[onlysansmath]{MdSymbol}

\begin{document}

%\mathversion{sans}
\begin{equation}
  \oiint
\end{equation}

\end{document} 

With onlysansmath the mathversion normal should stay untouched. \oiint is not definied before MdSymbol is loaded so I coded MdSymbol to take also the new MdSymbol symbol version in the normal mathversion. But if such a symbol is called, pdflatex crashes. In mathversion sans, everything is fine.