summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/idxlayout
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/idxlayout')
-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}%