blob: f087ba5d7a59267189181cced8f78daab7ac1149 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
%%
%% Ein Beispiel der DANTE-Edition
%%
%% 1. Auflage
%%
%% Beispiel 10-07-29 auf Seite 543.
%%
%% Copyright (C) 2012 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ==xindy -C utf8 -I latex -M myModuleH==
% Show page(s) 1,2,3
%%
%%
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{113.60472pt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\setlength\parindent{0pt}
\usepackage[paper=a7,pagesize,DIV15]{typearea}
\usepackage{filecontents,multicol}
\begin{filecontents*}{myModuleH.xdy}
(define-attributes ("default"))
(define-location-class "page-numbers" ("arabic-numbers"))
(markup-index :open "~n\begin{theindex}~n
\providecommand*\lettergroupDefault[1]{\textbf{Symbole}}
\providecommand*\lettergroup[1]{%
\par\textbf{#1}\par
\nopagebreak}"
:close "~n\end{theindex}~n"
:tree)
(markup-letter-group :open-head "~n \lettergroupDefault{" :close-head "}"
:group "default")
(markup-letter-group :open-head "~n~n \textbf{" :close-head "}~n"
:capitalize)
(markup-locclass-list :open "\dotfill{}")
(markup-locref-list :sep ", ")
(markup-range :sep "--")
(markup-indexentry :open "~n \item " :depth 0)
(markup-indexentry :open "~n \subitem " :depth 1)
(define-letter-group "A--D" :prefixes ("A" "B" "C" "D") )
(define-letter-group "E--G" :after "A--D" :prefixes ("E" "F" "G") )
(define-letter-group "H--K" :after "E--G" :prefixes ("H" "I" "J" "K"))
(define-letter-group "L--N" :after "H--K" :prefixes ("L" "M" "N" ))
(define-letter-group "O--R" :after "L--N" :prefixes ("O" "P" "Q" "R"))
(define-letter-group "S--V" :after "O--R" :prefixes ("S" "T" "U" "V"))
(define-letter-group "W--Z" :after "S--V" :prefixes ("W" "X" "Y" "Z"))
(define-letter-group "Zahlen" :before "A--D"
:prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") )
(merge-rule "[0-9][0-9][0-9][0-9][0-9][0-9]" "0&" :eregexp)
(merge-rule "[0-9][0-9][0-9][0-9][0-9]" "00&" :eregexp)
(merge-rule "[0-9][0-9][0-9][0-9]" "000&" :eregexp)
(merge-rule "[0-9][0-9][0-9]" "0000&" :eregexp)
(merge-rule "[0-9][0-9]" "00000&" :eregexp)
(merge-rule "[0-9]" "000000&" :eregexp)
(sort-rule "a" "A")
(sort-rule "b" "B")
(sort-rule "c" "C")
(sort-rule "d" "D")
(sort-rule "e" "E")
(sort-rule "f" "F")
(sort-rule "g" "G")
(sort-rule "h" "H")
(sort-rule "i" "I")
(sort-rule "j" "J")
(sort-rule "k" "K")
(sort-rule "l" "L")
(sort-rule "m" "M")
(sort-rule "n" "N")
(sort-rule "o" "O")
(sort-rule "p" "P")
(sort-rule "q" "Q")
(sort-rule "r" "R")
(sort-rule "s" "S")
(sort-rule "t" "T")
(sort-rule "u" "U")
(sort-rule "v" "V")
(sort-rule "w" "W")
(sort-rule "x" "X")
(sort-rule "y" "Y")
(sort-rule "z" "Z")
(markup-letter-group-list :sep "~n\indexspace")
(sort-rule "Ö" "O")
(sort-rule "ö" "o")
(merge-rule "mit" "Mit")
(merge-rule "\\[a-zA-Z@]+ *" "" :eregexp)
(merge-rule "\\[^a-zA-Z@]" "" :eregexp)
(merge-rule "^[{}$]" "" :eregexp)
\end{filecontents*}
\StartShownPreambleCommands
\usepackage[makeidx]{hvindex}
\newcommand*\lettergroupDefault[1]{\lettergroup{Symbole}}
% xindy -C utf8 -I latex -M myModuleH datei.idx
\StopShownPreambleCommands
\begin{document}
{\footnotesize\printindex} \newpage foo
\index{Aal} \index{Berg}\index{Cäsar} \index{Donau} \index{Emil}\index{Flora}
\index{Garten}\index{Ober}\index{Zucker}\index{Österreich}\index{klein}\index{groß}
\input{data/listen/IndexTextDemo}
\index{"@}\index{.@. (Punkt)}\index{"!}\index{"|}\index{\#}\index{$@\textdollar}
\end{document}
|