diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-17 23:33:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-17 23:33:59 +0000 |
commit | 8da7e5d94f9d209251bb11ac5aab3bd6255d545a (patch) | |
tree | 8ca58eacfa2bf5c7444f30654cad49efa1c38343 /Master/texmf-dist/tex/xelatex | |
parent | 40190d1a805efa22d48e4e5c85f4a3d3a1a5f983 (diff) |
xeindex update (17jan10)
git-svn-id: svn://tug.org/texlive/trunk@16760 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xeindex/xeindex.sty | 19 |
1 files changed, 9 insertions, 10 deletions
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 |