From 8da7e5d94f9d209251bb11ac5aab3bd6255d545a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 17 Jan 2010 23:33:59 +0000 Subject: xeindex update (17jan10) git-svn-id: svn://tug.org/texlive/trunk@16760 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/xelatex/xeindex/xeindex.sty | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/xelatex/xeindex/xeindex.sty b/Master/texmf-dist/tex/xelatex/xeindex/xeindex.sty index 098e44a34ac..89ed574b7dc 100644 --- a/Master/texmf-dist/tex/xelatex/xeindex/xeindex.sty +++ b/Master/texmf-dist/tex/xelatex/xeindex/xeindex.sty @@ -5,9 +5,9 @@ % without the `produce' option. % % SOURCE: xeindex.tex -% DATE: 2009/10/24 -% VERSION: v.0.1 -\ProvidesPackage{xeindex}[2009/10/24 v.0.1 Automatic index for XeLaTeX.] +% DATE: 2010/01/17 +% VERSION: v.0.2 +\ProvidesPackage{xeindex}[2010/01/17 v.0.2 Automatic index for XeLaTeX.] \RequirePackage{makeidx,xesearch} \makeatletter \newif\ifxi@mark @@ -104,12 +104,13 @@ \fi } \newif\ifxi@NoWord +\def\xi@exclam{!} \def\xi@at{@} \def\xi@bar{|} \def\xi@MakeEntry#1#2={% \def\xi@temp{#1#2}% \xi@NoWordtrue - \expandafter\unless\expandafter\if\noexpand#1!% - \expandafter\unless\expandafter\if\noexpand#1@% - \expandafter\unless\expandafter\if\noexpand#1|% + \unless\ifx\xi@temp\xi@exclam + \unless\ifx\xi@temp\xi@at + \unless\ifx\xi@temp\xi@bar \xi@NoWordfalse \fi \fi @@ -159,8 +160,6 @@ #1% \egroup } -\let\xi@PrintIndex\printindex -\def\printindex{\StopIndex\xi@PrintIndex} -\SortByLength{pPsS} -\SearchOnlyOne{pPsS} +\let\xi@PrintIndex\printindex \def\printindex{\StopIndex\xi@PrintIndex} +\SortByLength{pPsS} \SearchOnlyOne{pPsS} \makeatother -- cgit v1.2.3