From c5f6a6bfb60c86449df07a7984c1813129e0673f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 13 Nov 2012 00:19:06 +0000 Subject: imakeidx (11nov12) git-svn-id: svn://tug.org/texlive/trunk@28240 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty') diff --git a/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty b/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty index 7eba70c2b07..bda1c3a7c47 100644 --- a/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty +++ b/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty @@ -14,7 +14,8 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{imakeidx}% - [2012/10/05 v1.2d Package for typesetting indices in a synchronous mode] + [2012/10/22 v1.2e Package for typesetting indices in a synchronous mode] + @@ -168,10 +169,10 @@ \@sanitize \@wrindex\@idxfile}} \def\imki@nowrindex#1{\endgroup\@esphack} -\newif\ifimki@showidx -\@ifpackageloaded{showidx}{\imki@showidxtrue}{\imki@showidxfalse} +\@ifundefined{showindexmarks}{\newif\ifshowindexmark}{} +\@ifpackageloaded{showidx}{\showindexmarktrue}{\showindexmarkfalse} \newcommand\imki@showidxentry[2]{% - \ifimki@showidx + \ifshowindexmark \@showidx{\ifdefequal{\imki@jobname}{#1}{}{[#1]\space}#2}% \fi} \def\imki@wrindexsplit#1#2{% @@ -384,7 +385,8 @@ \let\imki@wrindexunique\@undefined \let\imki@putindexunique\@undefined \fi -\@ifclassloaded{memoir}{\let\@wrindexm@m\@wrindex}{} +\@ifclassloaded{memoir}{\let\@wrindexm@m\@wrindex + \AtBeginDocument{\hideindexmarks}}{} %% %% Copyright 2010--2012 Claudio Beccari %% Copyright 2010--2012 Enrico Gregorio -- cgit v1.2.3