| 1 |
% arara: xelatex |
| 2 |
% arara: makeglossaries if found("aux", "@istfilename") |
| 3 |
% arara: xelatex |
| 4 |
\documentclass{report} |
| 5 |
|
| 6 |
\usepackage{fontspec} |
| 7 |
\setmainfont{Linux Libertine O} |
| 8 |
|
| 9 |
\usepackage[xindy,diglyphs]{testidx-glossaries} |
| 10 |
|
| 11 |
% Try this example out with different xindy language modules: |
| 12 |
%\GlsSetXdyLanguage{dutch} |
| 13 |
%\GlsSetXdyLanguage{icelandic} |
| 14 |
%\GlsSetXdyLanguage{hungarian} |
| 15 |
%\GlsSetXdyLanguage{polish} |
| 16 |
|
| 17 |
\renewcommand*{\glstreenamefmt}[1]{#1} |
| 18 |
|
| 19 |
\GlsAddXdyAttribute{tstidxencapi} |
| 20 |
\GlsAddXdyAttribute{tstidxencapii} |
| 21 |
\GlsAddXdyAttribute{tstidxencapiii} |
| 22 |
|
| 23 |
% define a "Maths" group for keys starting with ">" |
| 24 |
|
| 25 |
\GlsAddLetterGroup{Maths}{:prefixes (">" ) :before "glsnumbers"} |
| 26 |
|
| 27 |
% define a "Markers" group for keys starting with "<" |
| 28 |
|
| 29 |
\GlsAddLetterGroup{Markers}{:prefixes ("<" ) :before "Maths"} |
| 30 |
|
| 31 |
\tstidxmakegloss |
| 32 |
|
| 33 |
\begin{document} |
| 34 |
\testidx |
| 35 |
|
| 36 |
\tstidxprintglossaries |
| 37 |
|
| 38 |
\end{document} |