]> git.lyx.org Git - features.git/commitdiff
Fix (again) bug 3510 after r20508
authorEnrico Forestieri <forenr@lyx.org>
Wed, 3 Oct 2007 23:56:34 +0000 (23:56 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 3 Oct 2007 23:56:34 +0000 (23:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20725 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/IEEEtran.layout

index 431c5183f2f2324078e75f5fcdbfcc875815e8bf..8996823bf4e38d4ab85f35f317ad43655054e1d7 100644 (file)
@@ -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