diff options
author | Karl Berry <karl@freefriends.org> | 2018-12-03 22:49:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-12-03 22:49:28 +0000 |
commit | 510cc1b8395f714ec6c1b7299cf73371563b1a16 (patch) | |
tree | ef1d3f055e87db8e906501a88ca550b861ac22e2 /Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-7.tex | |
parent | f855360800d3dd036378f102ca41cf5fa3e87db1 (diff) |
xindex (2dec18)
git-svn-id: svn://tug.org/texlive/trunk@49312 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-7.tex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-7.tex | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-7.tex b/Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-7.tex new file mode 100644 index 00000000000..c6f8e09f708 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-7.tex @@ -0,0 +1,23 @@ +\documentclass{scrartcl} +\makeatletter +\def\theindex{% only for demonstration + \section*{\indexname} + \parskip\z@ \@plus .3\p@\relax \parindent\z@ + \let\item\@idxitem} +\makeatother +%StartVisiblePreamble +\usepackage{makeidx}\makeindex +%StopVisiblePreamble +\pagestyle{empty} +\begin{document} +Sorted with \verb|-l fr| + +foobar\index{foobar|(} +foo\index{foo}\index{bar}\index{baz}\newpage +foo\index{foo}\index{bar}\index{baz}\newpage +foo\index{bar}\index{baz}\newpage +foo\index{baz}\newpage +foo\index{foo}foobar\index{foobar|)} +\newpage +\printindex +\end{document} |