summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-01 21:41:56 +0000
committerKarl Berry <karl@freefriends.org>2012-04-01 21:41:56 +0000
commit854e52cc1b85a28a244b89b848c67de34766d3cd (patch)
tree79b7cd8a88ce56ed5ec5a5f625b6d97e9266b5e1 /Master/texmf-dist/tex/latex
parentbd2f29e4da8973d37e6e0b9274b09ad93b2a2317 (diff)
fixlayout
git-svn-id: svn://tug.org/texlive/trunk@25821 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty15
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty b/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty
index 01667bf8b28..76015e8f1ee 100644
--- a/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty
+++ b/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty
@@ -6,10 +6,11 @@
%%
%% idxlayout.dtx (with options: `package')
%%
-%% Copyright (C) 2010 by Thomas Titz <thomas.titz@chello.at>
+%% Copyright (C) 2010--2012 by Thomas Titz <thomas.titz@chello.at>
%%
%% Permission is granted to distribute and/or modify this work under the
-%% terms of the LaTeX Project Public License (LPPL), version 1.3c.
+%% terms of the LaTeX Project Public License (LPPL), version 1.3c or
+%% later.
%%
%% The LPPL maintenance status of this work is "maintained".
%%
@@ -17,7 +18,7 @@
%% README and the derived files idxlayout.pdf and idxlayout.sty.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{idxlayout}[2010/06/26 v0.4c Configurable index layout]
+\ProvidesPackage{idxlayout}[2012/03/30 v0.4d Configurable index layout]
\RequirePackage{etoolbox,kvoptions,multicol}
\SetupKeyvalOptions{family=ila,prefix=ila@}
\newcommand*{\ila@defradiokey}[3][]{%
@@ -111,7 +112,7 @@
\def\ila@ju@RaggedRight{%
\renewcommand*{\indexjustific}{\ila@RaggedRight}%
}
-\AtBeginDocument{%
+\AtEndPreamble{%
\IfFileExists{ragged2e.sty}{%
\RequirePackage{ragged2e}%
\renewcommand*{\ila@RaggedRight}{\RaggedRight}%
@@ -134,6 +135,7 @@
}
\newcommand*{\noindexprenote}{\let\ila@prenote\relax}
\noindexprenote
+\newcommand*{\indexstheadcase}{\MakeUppercase}
\newcommand*{\ila@classtype}{0}
\@ifclassloaded{memoir}{%
\def\ila@classtype{2}%
@@ -159,12 +161,13 @@
}{%
}%
}%
- \@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}%
+ \@mkboth{\indexstheadcase\indexname}{\indexstheadcase\indexname}%
}
\or
\def\ila@tc@true{\KOMAoptions{index=totoc}}%
\def\ila@tc@false{\KOMAoptions{index=nottotoc}}%
\ila@defradiokey[true]{totoc}{tc}%
+ \providecommand{\MakeMarkcase}[1]{#1}%
\def\ila@prologue{%
\ifundef{\chapter}{%
}{%
@@ -174,7 +177,7 @@
}%
}%
\idx@@heading{\indexname}%
- \@mkboth{\indexname}{\indexname}%
+ \@mkboth{\MakeMarkcase{\indexname}}{\MakeMarkcase{\indexname}}%
\ifundef{\chapter}{%
}{%
\thispagestyle{\indexpagestyle}%