sebschub/MdSymbol — Issue #1: onlysansmath and undefined math symbol crashes pdflatex
Author: sebschub
Created: 2011-12-23 18:05:53+00:00
State: open

Pdflatex crashes:

```latex
\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.