I have these packages in my preamble: siunitx
, mmap
, mathpazo
that somehow seem to mess things up. A minimum working example that shows the error:
\documentclass[a4paper]{article}
\usepackage{mmap}
\usepackage{siunitx}
\usepackage{mathpazo} % fancy math fonts
\begin{document}
Hello world.
\end{document}
The error I get (using MikTeX 2.9 and LuaLaTeX or pdftex) is
...
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\siunitx\config\siunitx-binary.cfg
")
! Argument of strip@CM@prefix@ has an extra }.
<inserted text>
par
l.9 \begin{document}
If it helps, I've observed that the order of the packages makes no difference. I get the same error. Googling the issue gave no results.
Is there a workaround for this?
Edit by diabonas:
The problem doesn't seem to be related to siunitx
, apparently mmap
doesn't support math fonts other than the default Computer Modern: Even a simple
\documentclass{article}
\usepackage{mmap}
\usepackage{mathpazo} % fancy math fonts
\begin{document}
$Hello$
\end{document}
produces the \strip@CM@prefix@
-error.
siunitx
, the problem seems to be thatmmap
doesn't support math fonts other than the default Computer Modern :-( – diabonas Sep 30 '12 at 11:06mmap
with math fonts other than Computer Modern?", in the hope that one of the PDF/font experts here is able to help. I'm afraid though that the answer is "no, it isn't, useglyphtounicode
instead" as you already suggested - however I'm not competent enough to judge this, so maybe there actually is a way to do it. – diabonas Sep 30 '12 at 20:53