4 > >Synopsis: Shouldn't \@mkboth be redefined, too?
5 > >Arrival-Date: Sat Dec 17 09:31:01 +0100 2005
6 > >Originator: komascript@gmx.info (Markus Kohm)
7 > >Release: LaTeX2e <2003/12/01>
10 Babel redefines \markboth but doesn't matter about \@mkboth. So \@mkboth with
11 e.g. preset page style headings (e.g. with standard LaTeX class book) doesn't
12 participate by the same redefinition like \markboth. And more: not only the
13 behaviour of the page style depends on the time of activiation, also tests
14 like ifx\@mkboth\markboth that are used e.g. at package scrpage2 depend on
15 babel. See the example's log file.
17 So I think it would be good to add a something like
18 % ifx\@mkboth\markboth
19 % % redefinition of \markboth
20 % \let\@mkboth\markboth
25 Sample file which indicates the problem:
26 ========================================
31 \FORMAT{LaTeX2e<2003/12/01>}
32 \AUTHOR{komascript@gmx.info (Markus Kohm)}
34 \PACKAGE[german]{babel}
36 \newcommand*{\mkbothtest}{%
39 \typeout{--> running headline}%
41 \typeout{--> dead headline}%
45 \typeout{before loading Babel}
49 \usepackage[german]{babel}
51 \typeout{after loading babel}
55 \typeout{after setting the pagestyle again}