From 94d59fa51b8d976b869d6b521d96e9bc382843e0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Oct 2006 22:52:14 +0000 Subject: fancyhdr update git-svn-id: svn://tug.org/texlive/trunk@2252 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/fancyhdr') diff --git a/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty b/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty index 172c68b8446..77ed4e3012d 100644 --- a/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +++ b/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty @@ -1,4 +1,4 @@ -% fancyhdr.sty version 3.0 +% fancyhdr.sty version 3.2 % Fancy headers and footers for LaTeX. % Piet van Oostrum, % Dept of Computer and Information Sciences, University of Utrecht, @@ -135,6 +135,16 @@ % March 3, 2004 % Release of version 3.0 +% Oct 7, 2004 +% version 3.1 +% Added '\endlinechar=13' to \fancy@reset to prevent problems with +% includegraphics in header when verbatiminput is active. + +% March 22, 2005 +% version 3.2 +% reset \everypar (the real one) in \fancy@reset because spanish.ldf does +% strange things with \everypar between << and >>. + \def\ifancy@mpty#1{\def\temp@a{#1}\ifx\temp@a\@empty} \def\fancy@def#1#2{\ifancy@mpty{#2}\fancy@gbl\def#1{\leavevmode}\else @@ -308,7 +318,8 @@ % verbatim crosses a page boundary) % It also defines a \nouppercase command that disables \uppercase and % \Makeuppercase. It can only be used in the headers and footers. -\def\fancy@reset{\restorecr +\let\fnch@everypar\everypar% save real \everypar because of spanish.ldf +\def\fancy@reset{\fnch@everypar{}\restorecr\endlinechar=13 \def\baselinestretch{1}% \def\nouppercase##1{{\let\uppercase\relax\let\MakeUppercase\relax \expandafter\let\csname MakeUppercase \endcsname\relax##1}}% -- cgit v1.2.3