summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/imakeidx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/imakeidx')
-rw-r--r--Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty12
1 files changed, 7 insertions, 5 deletions
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 <claudio dot beccari at gmail dot it>
%% Copyright 2010--2012 Enrico Gregorio <Enrico dot Gregorio at univr dot it>