summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/makeglos/makeglos.xdy
blob: a0484e3183e78f698badb5957ef8aba7e88d6097 (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
(define-attributes ("default"))

(define-location-class "arabic-page-numbers" ("arabic-numbers"))
(define-location-class "roman-page-numbers"  ("roman-numbers-lowercase"))
(define-location-class "Roman-page-numbers"  ("roman-numbers-uppercase"))
(define-location-class "alpha-page-numbers"  ("alpha"))
(define-location-class "Alpha-page-numbers"  ("ALPHA"))

(define-crossref-class "see")
(define-crossref-class "seealso")

(markup-crossref-list :open "\gsee{" :sep ", " :close "}{}"
                      :class "see")
(markup-crossref-list :open "\galso{" :sep ", " :close "}{}"
                      :class "seealso")

(define-crossref-class "is" :unverified)
(markup-crossref-list :open "" :sep "; " :close "" :class "is")

(define-location-class-order ("is"
			      "see"
			      "seealso"
			      "roman-page-numbers"
			      "arabic-page-numbers"
			      "alpha-page-numbers"
			      "Roman-page-numbers"
			      "Alpha-page-numbers"))

(markup-index :open  "\begin{theglossary}"
              :close "~n\end{theglossary}~n"
              :flat)

(markup-indexentry :open "~n  \item "           :depth 0)
(markup-keyword-list :open "[" :sep ", " :close "]")

(markup-locclass-list :open " " :sep "; ")

(markup-locref-list   :sep ", ")

(markup-range :sep "--")

(define-letter-groups
    ("a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m"
     "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z"))

(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")

;; End

;; Local Variables:
;; mode: lisp
;; End: