summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty b/Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty
index ffe45e93ec8..a8436e34035 100644
--- a/Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty
+++ b/Master/texmf-dist/tex/latex/ltxindex/ltxindex.sty
@@ -28,8 +28,10 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{ltxindex}
- [2004/06/30 v0.1b ltxindex: LaTeX indexing, texindex style]
+ [2008/06/06 v0.1c ltxindex: LaTeX indexing, texindex style]
\RequirePackage{multicol}
+\newenvironment{ltxmulticols}{\begin{multicols}{2}}{\end{multicols}}
+\DeclareOption{nomulticol}{\renewenvironment{ltxmulticols}{}{}}
\def\cindex{\cpindex}
\def\pindex{\pgindex}
\def\vindex{\vrindex}
@@ -163,9 +165,9 @@
\ifeof 1
\putwordIndexIsEmpty
\else
- \begin{multicols}{2}
+ \begin{ltxmulticols}
\input \jobname.#1s
- \end{multicols}
+ \end{ltxmulticols}
\fi
\fi
\closein 1
@@ -193,6 +195,8 @@
\newindex{cp}
\newcommand{\indexcp}[1]{#1\cpindex{#1}}
\newcommand{\subindexcp}[2]{#1\cpsubindex{#2}{#1}}
+\ExecuteOptions{}
+\ProcessOptions
\endinput
%%
%% End of file `ltxindex.sty'.