On Thu, 24 Jul 2014 08:34:51 +0800
In that case, just for the record and possibly to help in suggesting
a full solution in the future, I once encountered a problem like this
with my IEEEtran class under the spanish mode of babel.sty.
IEEEtran typically needs to capitalize the headers. Under babel's
spanish mode, an inserted header line command like:
became something like:
and babel would then complain that it does not recognize a language
The solution was to add a \protect to the arguments of \markboth:
(Although looking at this now, I wonder why I did not place the
case changing commands within the actual definitions of \oddhead
Anyway, the problem with doing the same thing in memoir is that
the section style definition macros do not acquire the argument
Instead, that is done within LaTeX's \@startsection, \@sect macros.
Perhaps it would have been better if TeX/LaTeX's case changing
commands worked at a deeper level just like the font style commands
(e.g., \bfseries) so as to be less prone to such foreseen side
effects (as well as make it easier to "shield" select text from
Your later version of memoir is using \MakeTextLowercase, presumably
from the textcase.sty package, but it seems the problem also
occurs with that.