From: Enrico Forestieri Date: Wed, 3 Oct 2007 23:56:34 +0000 (+0000) Subject: Fix (again) bug 3510 after r20508 X-Git-Tag: 1.6.10~8027 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=91d84988909d371a491c2d9f88e90623ab9edc53;p=features.git Fix (again) bug 3510 after r20508 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20725 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index 431c5183f2..8996823bf4 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -463,11 +463,13 @@ End Style MarkBoth LaTeXType Command - LaTeXName IEEEmarkboth + LaTeXName markboth Align Center Preamble - % protect against redefinition of \markboth by babel >= 3.6 - \let\IEEEmarkboth=\markboth + % protect \markboth against an old bug reintroduced in babel >= 3.8g + \let\oldforeign@language\foreign@language + \DeclareRobustCommand{\foreign@language}[1]{% + \lowercase{\oldforeign@language{#1}}} EndPreamble End