% This file is public domain.
%
% This example document demonstrates the testidx package
% with makeindex. You can build this document using:
%
% pdflatex sample-idx
% makeindex sample-idx.idx
% pdflatex sample-idx
%
% If you are using arara, the directives are:
%
% arara: pdflatex
% arara: makeindex
% arara: pdflatex
\documentclass{article}

\usepackage{makeidx}
\usepackage
 [% options:
   stripaccents,% strip accents from sort key (default)
   %nostripaccents,% don't strip accents from sort key
   %verbose,% show \index commands in the text
   noverbose,% don't show \index commands in the text (default)
   showmarks,% highlight where \index has been used (default)
   %hidemarks,% don't highlight where \index has been used
   %notestencaps,% don't test the encaps
 ]{testidx}

\makeindex

\begin{document}
\testidx

\printindex
\end{document}

