From 5eb4f4738d8f87b2486d3a93ff07a6744f16a5df Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 8 Sep 2012 23:11:36 +0000 Subject: imakeidx (8sep12) git-svn-id: svn://tug.org/texlive/trunk@27617 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/imakeidx') diff --git a/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty b/Master/texmf-dist/tex/latex/imakeidx/imakeidx.sty index 686d541318f..380450ed537 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/05/09 v1.1 Package for typesetting indices in a synchronous mode] + [2012/09/07 v1.1a Package for typesetting indices in a synchronous mode] \RequirePackage{xkeyval} \DeclareOption{xindy}{\def\imki@progdefault{texindy}} \DeclareOption{texindy}{\def\imki@progdefault{texindy}} @@ -38,8 +38,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 -- cgit v1.2.3