summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/idxlayout
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-06-30 12:00:21 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-06-30 12:00:21 +0000
commit18b35455490b1234ec3fc8b4efd54c674990fc70 (patch)
tree87c8f0acae781f1b8a5e8e6a6c1f26b56963fd4f /Master/texmf-dist/tex/latex/idxlayout
parent9727d60b2ec1d97c234ffdcb8d24f198dd597063 (diff)
idxlyaout update Version 0.4c (2010/06/26)
git-svn-id: svn://tug.org/texlive/trunk@19194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/idxlayout')
-rw-r--r--Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty20
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty b/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty
index f84eca3d018..01667bf8b28 100644
--- a/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty
+++ b/Master/texmf-dist/tex/latex/idxlayout/idxlayout.sty
@@ -17,7 +17,7 @@
%% README and the derived files idxlayout.pdf and idxlayout.sty.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{idxlayout}[2010/03/01 v0.4b Configurable index layout]
+\ProvidesPackage{idxlayout}[2010/06/26 v0.4c Configurable index layout]
\RequirePackage{etoolbox,kvoptions,multicol}
\SetupKeyvalOptions{family=ila,prefix=ila@}
\newcommand*{\ila@defradiokey}[3][]{%
@@ -107,15 +107,21 @@
}%
}
\def\ila@ju@raggedright{\renewcommand*{\indexjustific}{\raggedright}}
+\newcommand*{\ila@RaggedRight}{}
\def\ila@ju@RaggedRight{%
- \ifundef{\RaggedRight}{%
+ \renewcommand*{\indexjustific}{\ila@RaggedRight}%
+}
+\AtBeginDocument{%
+ \IfFileExists{ragged2e.sty}{%
+ \RequirePackage{ragged2e}%
+ \renewcommand*{\ila@RaggedRight}{\RaggedRight}%
+ }{%
\PackageWarning{idxlayout}{%
- Command RaggedRight not defined!\MessageBreak
- I'm using raggedright instead}%
+ Package ragged2e not available, therefore\MessageBreak
+ substituting command raggedright for RaggedRight\MessageBreak
}%
- \renewcommand*{\indexjustific}{\raggedright}%
- }{%
- \renewcommand*{\indexjustific}{\RaggedRight}%
+ \renewcommand*{\ila@RaggedRight}{\raggedright}%
+ }%
}
\ila@defradiokey{justific}{ju}
\setkeys{ila}{justific=standard}