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

(require
     "rules/latin-tolower.xdy")

(use-rule-set
     :run 0
     :rule-set ("latin-tolower"))

(markup-locref :class "arabic-page-numbers" :open  "\hyperpage{" :close "}")

(markup-locclass-list :open "\quad{}")
(markup-locref-list :sep ", ")

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

(markup-range :sep "--")

(markup-letter-group
     :open-head "~n~n  \textbf {\large "
     :close-head "}~n  \nopagebreak"
     :capitalize)

(markup-index :open
"\begin{theindex}
  \providecommand*\lettergroupDefault[1]{}
  \providecommand*\lettergroup[1]{%
      \par\textbf{#1}\par
      \nopagebreak
  }
\addcontentsline{toc}{section}{\indexname}
{\small
"
              :close 
"}
~n~n\end{theindex}~n"
              :tree)