summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-13 00:19:06 +0000
committerKarl Berry <karl@freefriends.org>2012-11-13 00:19:06 +0000
commitc5f6a6bfb60c86449df07a7984c1813129e0673f (patch)
treeaf336e2e4eea6e1b434481bb7750b1a5e2f9397d /Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty
parent9d0bdc017d2c211e0b87ffad503d0b306c7de7ca (diff)
imakeidx (11nov12)
git-svn-id: svn://tug.org/texlive/trunk@28240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty')
-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>