From 1d80b24b10b0f2598cc5dbab7057e9e61626ce05 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Sat, 6 Oct 2012 17:09:54 +0000 Subject: imakeidx update git-svn-id: svn://tug.org/texlive/trunk@27906 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/imakeidx/README | 39 +++++++++++++++++++++ Master/texmf-dist/doc/latex/imakeidx/imakeidx.pdf | Bin 492770 -> 504100 bytes Master/texmf-dist/doc/latex/imakeidx/manifest.tex | 16 --------- .../texmf-dist/source/latex/imakeidx/imakeidx.dtx | 32 ++++++++++------- Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty | 18 ++++++---- 5 files changed, 69 insertions(+), 36 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/imakeidx/README delete mode 100644 Master/texmf-dist/doc/latex/imakeidx/manifest.tex diff --git a/Master/texmf-dist/doc/latex/imakeidx/README b/Master/texmf-dist/doc/latex/imakeidx/README new file mode 100644 index 00000000000..66ba3df1314 --- /dev/null +++ b/Master/texmf-dist/doc/latex/imakeidx/README @@ -0,0 +1,39 @@ +This is the README file relative to package imakeidx version 1.2c +dated 2012/10/02 + +Copyright 2010--2012 Claudio Beccari and Enrico Gregorio + +The bundle contains the files: + +README this file +imakeidx.dtx the documented source TeX file + +WARNING: the derived files: + +imakeidx.sty the package itself +imakeidx.pdf the documentation file in PDF format + +are SIMULTANEOUSLY produced while running pdflatex on imakeidx.dtx. + +The bundle is distributed under the LPPL license version 1.3c or any +later version. + +The bundle has the status of author maintained. + +The main purpose of this bundle is to exploit the possibility of +running an index formatting program from within a document typesetting +task (tested with the engines pdftex, xetex, and luatex in their +incarnation set up to process the LaTeX markup) at the \printindex +level, so that one or more indices can be typeset in such a way that +they are always synchronous with the document they belong to. + +With TeX Live (release 2010 and later) the makeindex program can be +safely run within a TeX run; with previous distributions the shell +escape feature must be explicity enabled. With the 2010 or later +distribution the makeindex program is directly accessible. + +This bundle is compatible with most existing classes and also with the +idxlayout package for customizing index general formatting. + +Claudio Beccari claudio dot beccari at gmail.com +Enrico Gregorio enrico dot gregorio at univr.it diff --git a/Master/texmf-dist/doc/latex/imakeidx/imakeidx.pdf b/Master/texmf-dist/doc/latex/imakeidx/imakeidx.pdf index c50ee37166d..c0b5764550b 100644 Binary files a/Master/texmf-dist/doc/latex/imakeidx/imakeidx.pdf and b/Master/texmf-dist/doc/latex/imakeidx/imakeidx.pdf differ diff --git a/Master/texmf-dist/doc/latex/imakeidx/manifest.tex b/Master/texmf-dist/doc/latex/imakeidx/manifest.tex deleted file mode 100644 index a03f366ac22..00000000000 --- a/Master/texmf-dist/doc/latex/imakeidx/manifest.tex +++ /dev/null @@ -1,16 +0,0 @@ - The imakeidx extension package - version 1.2b of 22 September 2012 - -Copyright 2010-2012 by Claudio Beccari and Enrico Gregorio - -This package is subject to the LaTeX Project Pubblic Lincence, version 1.3c or -any later version. The full test of the license is always present in the CTAN -archives and in any TeX Live, MacTeX, MiKTeX distribution of the TeX system. - -The Work consists of this file manifest.txt, the README file, the documented -imakeidx.dtx file; the derived files are imakeidx.sty and imakeidx.pdf. - -This Work has the status of "author maintained". - -Claudio Beccari claudio dot beccari at gmail.com -Enrico Gregorio enrico dot gregorio at univr.it \ No newline at end of file diff --git a/Master/texmf-dist/source/latex/imakeidx/imakeidx.dtx b/Master/texmf-dist/source/latex/imakeidx/imakeidx.dtx index ce0dee8f868..f75f557dba0 100644 --- a/Master/texmf-dist/source/latex/imakeidx/imakeidx.dtx +++ b/Master/texmf-dist/source/latex/imakeidx/imakeidx.dtx @@ -1,5 +1,4 @@ % \iffalse -% !TEX encoding = UTF-8 Unicode %<*internal> \begingroup \input docstrip.tex @@ -44,7 +43,7 @@ and the derived files imakeidx.sty and imakeidx.pdf. %\NeedsTeXFormat{LaTeX2e}[2005/12/01] %\ProvidesPackage{imakeidx}% %<*package> - [2012/09/22 v1.2b Package for typesetting indices in a synchronous mode] + [2012/10/02 v1.2c Package for typesetting indices in a synchronous mode] % %<*driver> \documentclass{ltxdoc} @@ -78,15 +77,16 @@ and the derived files imakeidx.sty and imakeidx.pdf. \end{document} % % \fi -% \CheckSum{783} +% \CheckSum{782} % % \changes{v1.0}{2010/07/10}{First public version} % \changes{v1.0a}{2010/07/12}{Small bug correction} % \changes{v1.1}{2012/05/09}{Fixed compatibility with \pack{memoir}} % \changes{v1.1}{2012/05/09}{Modified interaction with Lua\TeX} -% \changes{v1.2}{2012/0831}{made package compatible with showidx} -% \changes{v1.2}{2012/0831}{made package compatible with fancyhdr} -% \changes{v1.2}{2012/0831}{added index processing engine option truexindy} +% \changes{v1.1a}{2012/09/07}{Fixed bug with possibly defined \cs{directlua}} +% \changes{v1.2}{2012/08/31}{made package compatible with showidx} +% \changes{v1.2}{2012/08/31}{made package compatible with fancyhdr} +% \changes{v1.2}{2012/08/31}{added index processing engine option truexindy} % % \begin{abstract} % This package exploits the |\write18| facility of modern \TeX\ system @@ -225,7 +225,6 @@ and the derived files imakeidx.sty and imakeidx.pdf. % during the \LaTeX{} run with or without the option. % % \section{Specific package commands} -% \addtocontents{toc}{\protect\columnbreak\protect\vspace*{.4ex}} % As it is customary when just one index is produced, the standard % \LaTeX\ facilities, i.e.\ the commands \cs{makeindex}, \cs{index}, % and \cs{printindex} must be used. This package redefines them so as @@ -808,6 +807,9 @@ and the derived files imakeidx.sty and imakeidx.pdf. % facilities are used here; while future extensions will benefit from % the extended patched commands, that strongly enrich the performances % of the main package \pack{etoolbox}. +% \changes{v1.1a}{2012/09/07}{Fixed bug with possibly defined +% \cs{directlua}; now we leave the check to \pack{ifluatex}; using +% also \pack{ifxetex} for symmetry.} % \begin{macrocode} \DeclareOption{xindy}{\def\imki@progdefault{texindy}} \DeclareOption{texindy}{\def\imki@progdefault{texindy}} @@ -832,8 +834,9 @@ and the derived files imakeidx.sty and imakeidx.pdf. \if@twocolumn\imki@originaltrue\fi \def\imki@exec{\immediate\write18} \def\imki@engine{(pdf)latex} -\ifdefined\XeTeXversion\def\imki@engine{xelatex}\fi -\ifdefined\directlua % luatex doesn't have \(pdf)shellescape +\RequirePackage{ifxetex,ifluatex} +\ifxetex\def\imki@engine{xelatex}\fi +\ifluatex % luatex doesn't have \(pdf)shellescape \def\imki@engine{lualatex} \ifnum\luatexversion<68 \chardef\imki@shellescape\@ne % no way to know the value @@ -1124,10 +1127,13 @@ and the derived files imakeidx.sty and imakeidx.pdf. % easier to understand it's operation. % \begin{macrocode} \newif\ifimki@fancyhdr -\AtBeginDocument{\@ifpackageloaded{fancyhdr}{\imki@fancyhdrtrue}{\imki@fancyhdrfalse}% -\ifimki@fancyhdr - \patchcmd{\theindex}{\imki@indexheaders}{\relax}{}{}% - \patchcmd{\theindex}{\thispagestyle}{\@gobble}{}{}\fi} +\AtBeginDocument{% + \@ifpackageloaded{fancyhdr}{\imki@fancyhdrtrue}{\imki@fancyhdrfalse}% + \ifimki@fancyhdr + \patchcmd{\theindex}{\imki@indexheaders}{\relax}{}{}% + \patchcmd{\theindex}{\thispagestyle}{\@gobble}{}{}% + \fi +} % \ifimki@original \expandafter\def\expandafter\theindex\expandafter{\expandafter diff --git a/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty b/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty index 285c4e390f2..5ea32e6666f 100644 --- a/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty +++ b/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{imakeidx}% - [2012/09/22 v1.2b Package for typesetting indices in a synchronous mode] + [2012/10/02 v1.2c Package for typesetting indices in a synchronous mode] @@ -42,8 +42,9 @@ \if@twocolumn\imki@originaltrue\fi \def\imki@exec{\immediate\write18} \def\imki@engine{(pdf)latex} -\ifdefined\XeTeXversion\def\imki@engine{xelatex}\fi -\ifdefined\directlua % luatex doesn't have \(pdf)shellescape +\RequirePackage{ifxetex,ifluatex} +\ifxetex\def\imki@engine{xelatex}\fi +\ifluatex % luatex doesn't have \(pdf)shellescape \def\imki@engine{lualatex} \ifnum\luatexversion<68 \chardef\imki@shellescape\@ne % no way to know the value @@ -200,10 +201,13 @@ \KV@imki@noautomatictrue \fi \newif\ifimki@fancyhdr -\AtBeginDocument{\@ifpackageloaded{fancyhdr}{\imki@fancyhdrtrue}{\imki@fancyhdrfalse}% -\ifimki@fancyhdr - \patchcmd{\theindex}{\imki@indexheaders}{\relax}{}{}% - \patchcmd{\theindex}{\thispagestyle}{\@gobble}{}{}\fi} +\AtBeginDocument{% + \@ifpackageloaded{fancyhdr}{\imki@fancyhdrtrue}{\imki@fancyhdrfalse}% + \ifimki@fancyhdr + \patchcmd{\theindex}{\imki@indexheaders}{\relax}{}{}% + \patchcmd{\theindex}{\thispagestyle}{\@gobble}{}{}% + \fi +} \ifimki@original \expandafter\def\expandafter\theindex\expandafter{\expandafter \imki@maybeaddtotoc\theindex} -- cgit v1.2.3