% arara: pdflatex
% arara: makeglossaries if found("aux", "@istfilename")
% arara: pdflatex
\documentclass{report}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage[seekey,prefix,verbose,xindy]{testidx-glossaries}

% Try this example out with different xindy language modules:
%\GlsSetXdyLanguage{dutch}
%\GlsSetXdyLanguage{icelandic}
%\GlsSetXdyLanguage{hungarian}
%\GlsSetXdyLanguage{polish}

\renewcommand*{\glstreenamefmt}[1]{#1}

\GlsAddXdyAttribute{tstidxencapi}
\GlsAddXdyAttribute{tstidxencapii}
\GlsAddXdyAttribute{tstidxencapiii}

\GlsAddLetterGroup{Maths}{:prefixes (">") :before "glsnumbers"}
\GlsAddLetterGroup{Markers}{:prefixes ("<") :before "Maths"}

\tstidxmakegloss

\begin{document}
\testidx

\tstidxprintglossaries

\end{document}