Using:
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
... I compile the following MWE:
\documentclass[10pt,twoside,openright]{book}
%\usepackage[english]{babel}
\usepackage[greek,english]{babel} %% A
\usepackage{mparhack} %% B
\usepackage{lipsum}
\begin{document}
\pagenumbering{roman} %% C
Testing
\lipsum[1]
\end{document}
... which triggers the following error upon pdflatex test.tex:
! Use of \\@lipsum doesn't match its definition.
\text@command #1->\def \reserved@a {
#1}\ifx \reserved@a \@empty \let \check@...
l.12 \end{document}
?
! Unbalanced write command.
<write> \string \mph@setcol {ii:\thepage }{
\string \mph@nr }
l.12 \end{document}
? X
Interestingly, this error appears only when all three: A, B, and C are present; it doesn't occur if we replace, say, A with \usepackage[danish,english]{babel} (if you delete the old .aux file first before recompiling). (Note: in my original doc, I actually got ! Incomplete \iffalse; all text was ignored after line ... appearing at \mph@outputpage@hook which is from mparhack; but similarly, that error appeared first only after adding greek to babel)
So this seems to be a specific error occuring when Greek babel, mparhack and \pagenumbering{roman} interact. How do I get rid of it?
.auxfiles; cheers! – sdaau Oct 15 '14 at 11:06todonotespackage, which can be fixed by patching additionally patching\mph@ifundef@or@smaller- see my post below – sdaau Nov 22 '14 at 19:14