diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/splitindex/splitidx.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/splitindex/splitidx.dtx | 90 |
1 files changed, 25 insertions, 65 deletions
diff --git a/Master/texmf-dist/source/latex/splitindex/splitidx.dtx b/Master/texmf-dist/source/latex/splitindex/splitidx.dtx index f6fb00c1d7a..379abdf63e6 100644 --- a/Master/texmf-dist/source/latex/splitindex/splitidx.dtx +++ b/Master/texmf-dist/source/latex/splitindex/splitidx.dtx @@ -1,10 +1,10 @@ -% \CheckSum{625} +% \CheckSum{626} % \iffalse % ====================================================================== % splitidx.dtx -% Copyright (c) Markus Kohm, 2002-2013 +% Copyright (c) Markus Kohm, 2002-2016 % -% $Id: splitidx.dtx,v 1.9 2013-04-09 03:26:01 mjk Exp $ +% $Id: splitidx.dtx 4 2016-02-18 10:13:32Z mjk $ % % This file is part of the SplitIndex bundle. % @@ -54,7 +54,7 @@ %<driver>\ProvidesFile{splitidx.drv}[% %<package>\ProvidesPackage{splitidx}[% % \fi - 2013/04/09 v1.2a multiple indices for LaTeX] + 2016/02/18 v1.2c multiple indices for LaTeX] % \iffalse %<*driver> \documentclass{ltxdoc} @@ -210,9 +210,7 @@ % authors understand C, and some people want fast binaries instead of slow % Java byte code\,---\,even, if the Java program is fast % enough. Nevertheless, there are no longer binaries of generated from this -% source in the main distribution. But you may download some from the -% repository at -% \url{http://sarovar.org/plugins/scmcvs/cvsweb.php/binaries/?cvsroot=splitindex} +% source in the main distribution. % \item[\Program{splitindex.tex}:] This is a \TeX{} version of the % program. Yes, you are right: it is a program written in \TeX{}. It has not % the whole functionality of the other programs (see \autoref{TeX}), but @@ -443,7 +441,7 @@ % \begin{verbatim} % \documentclass{article} % \usepackage{ngerman} -% \usepackage[protected,useindex,makeindex]{makeidx} +% \usepackage[protected,useindex,makeindex]{splitidx} % \newcommand*{\Test}[1]{#1\index{#1}} % \begin{document} % \Test{"Anderung} @@ -501,8 +499,11 @@ % environment, but it doesn't have to be this way. Note, however, that % \cs{printindex} expects the name of the index to be contained in the % \cs{indexname} macro; otherwise, it will fail to typeset the index -% name.\footnote{This would be a failure of the class, not of the -% \Package{splitidx} package. I don't know of any class with this failure.} +% name.\footnote{This would be a failure of the class or used package, not of +% the \Package{splitidx} package. I don't know of any class with this failure, +% but package \Package{tcolorbox}'s library \File{documentation} does use +% \cs{kvtcb@text@index} instead of \cs{indexname}. Since version~1.2c +% \Package{splitidx} therefore also redefines \cs{kvtcb@text@index} locally.} % % \DescribeMacro{\printsubindex}%^^A % The \cs{printsubindex} command is analogous to \cs{printindex}, but it @@ -987,57 +988,6 @@ % \end{quote} % % -% \subsection{Using \Program{splitindex} or \Program{splitindex.exe}} -% \label{C} -% -% The Linux program \Program{splitindex} was compiled using glibc, so it works -% the same as \Program{splitindex.pl} and you may use not only: -% \begin{quote} -% \Prompt{}\verb|splitindex -m /home/me/bin/xindy allabout| -% \end{quote} -% but also: -% \begin{quote} -% \Prompt{}\verb|splitindex allabout -m /home/me/bin/xindy| -% \end{quote} -% -% But the CygWin program \Program{splitindex.exe} was compiled using a -% CygWin library. Because of this, all options must be put before the first -% non-option argument. So you have to use: -% \begin{quote} -% \Prompt{}\verb|splitindex.exe -m /home/me/bin/xindy allabout| -% \end{quote} -% With: -% \begin{quote} -% \Prompt{}\verb|splitindex.exe allabout -m /home/me/bin/xindy| -% \end{quote} -% the argument ``\verb|-m /home/me/bin/xindy|'' will be passed to the default -% index processor \Program{MakeIndex}! -% -% You need the CygWin-DLL \File{cygwin1.dll} to run -% \Program{splitindex.exe}. If you haven't already installed it, you may -% download the DLL from \url{http://cygwin.com/snapshots}. You need -% \Program{bzip2}, which can be found at \url{http://source.redhat.com/bzip2}, -% to decompress it. Alternatively, you may use \url{http://cygwin.com/setup.exe} -% to download and install a minimal CygWin environment. -% -% The Linux-i386-ELF binary \Program{splitindex} was compiled and linked -% using: -% \begin{quote}\raggedright -% \Prompt{}\verb|gcc -O3 -Wall -osplitindex splitindex.c|\\ -% \Prompt{}\verb|strip splitindex|\\ -% \end{quote} -% The \Program{gcc} was: -% \begin{verbatim} -% gcc (GCC) 3.2 -% Copyright (C) 2002 Free Software Foundation, Inc. -% \end{verbatim}\vspace{-\baselineskip} -% The used \Program{glibc} is version 2.1. -% -% If you compile another binary e.g. for BSD, please contact me, so we may put -% the new binary into the distribution or can build another binary -% distribution. -% -% % \subsection{Using \Program{splitindex.tex}} % \label{TeX} % @@ -1321,13 +1271,15 @@ % If \Package{hyperref} was loaded at \cs{begin\{document\}} and % \Package{hyperref}-option \texttt{hyperindex} isn't disabled, and the hook % is not used, define it: +% \changes{v1.2b}{2014/04/08}{\cs{ifHy@hyperindex} test changed} % \begin{macrocode} \AtBeginDocument{% \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ifHy@hyperindex\endcsname\relax \else - \csname ifHy@hyperindex\endcsname - \expandafter\ifx\csname @@wrsindex\endcsname\relax + \expandafter\ifx\csname ifHy@hyperindex\expandafter\endcsname + \csname iftrue\endcsname + \@ifundefined{@@wrsindex}{% \def\@@wrsindex#1#2|#3|#4\\{% \ifx\\#3\\% \@@@wrsindex{#1}{{#2|hyperpage}{\thepage}}% @@ -1344,8 +1296,8 @@ \fi \fi }% - \fi - \csname fi\endcsname + }{}% + \fi \fi } % \end{macrocode} @@ -1445,6 +1397,14 @@ \begingroup \edef\indexshortcut{#1}% \def\indexname{#2}% +% \end{macrocode} +% \changes{v1.2c}{2016/02/18}{workaround for \Package{tcolorbox} library +% \File{documentation}}^^A +% The \Package{tcolorbox} library \File{documentation} uses +% \cs{kvtcb@text@index} instead of \cs{indexname}. So we also redefine this +% command. +% \begin{macrocode} + \def\kvtcb@text@index{#2}% \let\index@preamble\relax \expandafter\let\expandafter\index@preamble \csname index@\indexshortcut @preamble\endcsname |