Debian Codegraph @

texmf-dist/doc/latex/testidx/samples/sample-idxgloss-bib2gls-xe.tex

raw
1 % arara: xelatex
2 % arara: bib2gls: {group: on}
3 % arara: xelatex
4 % arara: xelatex
5 \documentclass{report}
6
7 \usepackage{fontspec}
8 \setmainfont{DejaVu Serif}
9
10 \usepackage{amssymb}
11 \usepackage[hidelinks]{hyperref}
12 \usepackage[bib2gls,diglyphs]{testidx-glossaries}
13
14 \setglossarystyle{mcolindexspannav}
15
16 \renewcommand*{\glstreenamefmt}[1]{#1}
17 \renewcommand*{\glstreegroupheaderfmt}[1]{\textbf{#1}}
18
19 \tstidxmakegloss[
20 max-loc-diff={2},
21 % Try with different languages
22 % sort={no}% norsk
23 % sort={nn}% nynorsk
24 % sort={nl}% dutch
25 % sort={is}% icelandic
26 % sort={cy}% welsh
27 % sort={ga}% irish
28 % sort={pl}% polish
29 % sort={hu}% hungarian
30 % Or use a custom rule:
31 sort={custom},
32 sort-rule={% custom sort rule (only used with sort=custom)
33 ' '; % space
34 \string\u0300;% combining grave accent
35 \string\u0301;% combining acute accent
36 \string\u0302;% combining circumflex accent
37 \string\u0303;% combining tilde accent
38 \string\u0304;% combining macron accent
39 \string\u0305;% combining overline accent
40 \string\u0306;% combining breve accent
41 \string\u0307;% combining dot above accent
42 \string\u0308;% combining diaeresis accent
43 \string\u0309;% combining hook above accent
44 \string\u030A;% combining ring above accent
45 \string\u030B;% combining double acute accent
46 \string\u030C;% combining caron accent
47 \string\u0327;% combining cedilla accent
48 \string\u0328;% combining ogonek accent
49 \string\u20D7% combining right arrow above accent
50 <'\string_'< ','< ';'< ':'< '!'< '?'< '/'< '.'< '<'<'>'<'('<')'% punctuation
51 < 0 < 1 < 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9
52 < a,A < b,B < c,C < d,D
53 < dd,Dd,DD
54 < dz,\string\u01F3\string&Dz,\string\u01F2\string&DZ,\string\u01F1 < dzs,DZS
55 < \string\u00F0,\string\u00D0 % eth
56 < e,E < f,F < ff,Ff,FF
57 < g,G < h,H < i,I < ij,\string\u0133,IJ,\string\u0132
58 < j,J < k,K < l,L
59 < ll,\string\u1EFB,Ll,LL,\string\u1EFA
60 < m,M < n,N
61 < ng,Ng,NG < o,O < p,P
62 < q,Q < r,R < s,S < t,T < u,U < v,V < w,W < x,X < y,Y < z,Z
63 < \string\u00E6,\string\u00C6 % (ae ligature)
64 < \string\u0153,\string\u0152 % (oe ligature)
65 < \string\u00FE,\string\u00DE % (thorn)
66 < \string\u00F8,\string\u00D8 % (o slash)
67 < \string\u0142,\string\u0141 % (l stroke)
68 }
69 ]
70
71 \begin{document}
72
73 \testidx
74
75 \tstidxprintglossaries
76 \end{document}