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/doc/xelatex/xeindex | |
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/doc/xelatex/xeindex')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xeindex/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xeindex/xeindex.pdf | bin | 78300 -> 78575 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xeindex/xeindex.tex | 28 |
3 files changed, 20 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xeindex/README b/Master/texmf-dist/doc/xelatex/xeindex/README index fd11de2f3d0..3a77ed39eb4 100644 --- a/Master/texmf-dist/doc/xelatex/xeindex/README +++ b/Master/texmf-dist/doc/xelatex/xeindex/README @@ -1,4 +1,4 @@ -This is the README file for xeindex.sty v.0.1. +This is the README file for xeindex.sty v.0.2. Read xeindex.pdf for the documentation. XeIndex, based on XeSearch, automatically diff --git a/Master/texmf-dist/doc/xelatex/xeindex/xeindex.pdf b/Master/texmf-dist/doc/xelatex/xeindex/xeindex.pdf Binary files differindex ac077efc140..8f9b2b5a22c 100644 --- a/Master/texmf-dist/doc/xelatex/xeindex/xeindex.pdf +++ b/Master/texmf-dist/doc/xelatex/xeindex/xeindex.pdf diff --git a/Master/texmf-dist/doc/xelatex/xeindex/xeindex.tex b/Master/texmf-dist/doc/xelatex/xeindex/xeindex.tex index 13d4b4b4d05..6fb65423530 100644 --- a/Master/texmf-dist/doc/xelatex/xeindex/xeindex.tex +++ b/Master/texmf-dist/doc/xelatex/xeindex/xeindex.tex @@ -13,7 +13,7 @@ \setsansfont[Mapping=tex-text]{Arial} \usepackage[paperwidth=23cm,paperheight=17.5cm,top=1.5cm,bottom=1.5cm,textwidth=14.5cm,right=1.5cm]{geometry} -\ProduceFile{xeindex.sty}[xeindex][v.0.1][\the\year/\month/\day] +\ProduceFile{xeindex.sty}[xeindex][v.0.2][\the\year/\month/\day] \let\printmacro\PrintMacro \newskip\macroskip \def\PrintMacro#1{% @@ -262,6 +262,17 @@ hand, MakeIndex automatically creates page ranges as soon as an entry is found on at least three successive pages, unless you run it with the "-r" option. +If you want a comma in the right part of the entry, enclose +the entire entry, minus the MakeIndex operator if any, between braces, e.g.: + +\begin{example} +\IndexList{writers}{Kafka={Kafka, Franz}} +\end{example} + +\noindent +(This did not work in version 0.1, and now it's corrected +thanks to Simon Spiegel who indicated it to me.) + \DescribeMacro{\StopIndexList\marg{lists}}\macroskip\baselineskip \DescribeMacro{\StopIndex}\macroskip2\baselineskip \DescribeMacro{\NoIndex\marg{text}} @@ -479,15 +490,16 @@ associated macro is created. \DefineMacro\xi@MakeEntry This determines whether the entry starts with one -of the MakeIndex operators. +of the MakeIndex operators. / \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 @@ -561,10 +573,8 @@ These are straightforward. Finally, we patch "\printindex" so it won't be searched, and sets xesearch's parameters. / -\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 / \end{document} |