summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/testidx/samples/sample-idxgloss-xindy.tex
blob: 882982e44a6f8df7c34cf1b03f65c2c7122e92ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% 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}