"Too many math alphabets" error when using both MinionPro and MyriadPro
Hello, When I use MinionPro (text and math) as well as MyriadPro (sans font and math font), I am unable to use all math fonts. Here is a mwe:
\documentclass{article}
\usepackage{MinionPro}
\usepackage[sansmath]{MyriadPro}
\begin{document}
$\mathrm{A}$
$\mathsf{A}$
$\mathfrak{A}$
$\mathbf{A}$
$\mathcal{A}$
$\mathbb{A}$
\end{document}
does not compile and return the following error:
! LaTeX Error: Too many math alphabets used in version normal.
If I comment anyone of the `a's (and therefore use one less alphabet), the error disappers. The error somehow comes from the combination of both packages; indeed, if I comment either, the error goes away. Loading them in reverse order does not solve the issue.
Well, I suppose there are just too many math alphabets active because the sansmath option basically doubles the math versions. To be honest, I am not exactly sure how this is connected to the normal math version, however, I did not find any issues in the code...
Is there a way to have MyriadPro not load already defined alphabets such as mathfrak or mathbb ? This might solve the issue.