;; ==============================
;; thesis.xdy : xindy style file for RBM's MA Thesis
;; ==============================
;; processing commands
;; ==============================
(define-attributes ("default"
		    "definition"
		    "usage")
                    )
;; ==============================
(define-crossref-class "see"
		       )		       
(define-crossref-class "see also"
		       )
;; ==============================
(define-location-class "appendices" ("ALPHA")
                                     )
(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-location-class-order ("roman-page-numbers"
			      "arabic-page-numbers"
			      "alpha-page-numbers"
			      "Roman-page-numbers"
			      "Alpha-page-numbers"
			      "see"
			      "see also"
			      "appendices")
                              )
;; ==============================
;; markup commands
;; ==============================
(markup-crossref-list :class "see"
		      :open "v. "
		      :sep "; "
		      )
(markup-crossref-layer-list :class "see"
			    :sep ","
			    )
(markup-crossref-layer :class "see"
		       :open "\textsl{"
		       :close "}"
		       )
(markup-crossref-list :class "see also"
		      :open "v. also "
		      :sep "; "
		      )
(markup-crossref-layer-list :class "see also"
			    :sep ","
			    )
(markup-crossref-layer :class "see also"
		       :open "\textsl{"
		       :close "}"
		       )
;; ==============================
(markup-index :open  "~n\begin{theindex}~n"
	      :close "~n\end{theindex}~n"
	      :tree
	      )
;; ==============================
(markup-indexentry-list :sep "~n"
)
;; ==============================
(markup-indexentry :open "~n \item "
		   :depth 0
		   )
(markup-indexentry :open "~n  \subitem "
		   :depth 1
		   )
(markup-indexentry :open "~n   \subsubitem "
		   :depth 2
		   )
;; ==============================
(markup-locref :class "arabic-page-numbers"
	       :attr "definition"
	       :open  "{\bf "
	       :close "}"
	       )
(markup-locref :class "arabic-page-numbers"
	       :attr "default"
	       :open  "{"
	       :close "}"
	       )
(markup-locref :class "alpha-page-numbers"
	       :attr "definition"
	       :open  "{\bf "
	       :close "}"
	       )
(markup-locref :class "alpha-page-numbers"
	       :attr "default"
	       :open  "{"
	       :close "}"
	       )
(markup-locref :class "Alpha-page-numbers"
	       :attr "definition"
	       :open  "{\bf "
	       :close "}"
	       )
(markup-locref :class "Alpha-page-numbers"
	       :attr "default"
	       :open  "{"
	       :close "}"
	       )
(markup-locref :class "roman-page-numbers"
	       :attr "definition"
	       :open  "{\bf "
	       :close "}"
	       )
(markup-locref :class "roman-page-numbers"
	       :attr "default"
	       :open  "{"
	       :close "}"
	       )
(markup-locref :class "Roman-page-numbers"
	       :attr "definition"
	       :open  "{\bf "
	       :close "}"
	       )
(markup-locref :class "Roman-page-numbers"
	       :attr "default"
	       :open  "{"
	       :close "}"
	       )
;; ==============================
(markup-locref-list :close ". "
		    :sep ", "
		    :depth 0
		    )
(markup-locref-list :close ". "
		    :sep ", "
		    :open " "
		    :depth 1
		    )
(markup-locref-list :close ". "
		    :sep ", "
		    :open " "
		    :depth 2
		    )
(markup-locref-list :close ". "
		    :class "appendices"
		    :depth 0
		    :sep "; "
		    )
(markup-locref-list :close ". "
		    :class "appendices"
		    :depth 1
		    :open " "
		    :sep ", "
		    )
(markup-locref-list :close ". "
		    :class "appendices"
		    :depth 2
		    :open " "
		    :sep ", "
		    )
(markup-locref-list :close ". "
		    :sep ", "
		    :class "roman-page-numbers"
		    :depth 0
)
(markup-locref-list :close ". "
		    :sep ", "
		    :open " "
		    :class "roman-page-numbers"
		    :depth 1
)
(markup-locref-list :close ". "
		    :sep ", "
		    :open " "
		    :class "roman-page-numbers"
		    :depth 2
)
;; ==============================
(markup-locclass-list :open "\quad{}"
		      )
;; ==============================
(markup-letter-group-list :sep "~n~n  \indexspace~n"
                          )
(markup-letter-group :open-head "~n {\bf "
		     :close-head "}"
		     :capitalize
		     )
;; ==============================
(markup-range :class "arabic-page-numbers"
	      :sep "--"
              )
(markup-range :class "arabic-page-numbers"
	      :close "f."
	      :length 1
	      :ignore-end
	      )
(markup-range :class "arabic-page-numbers"
	      :close "ff."
	      :length 2
	      :ignore-end
	      )
(markup-range :class "alpha-page-numbers"
	      :sep "--"
              )
(markup-range :class "alpha-page-numbers"
	      :close "f."
	      :length 1
	      :ignore-end
	      )
(markup-range :class "alpha-page-numbers"
	      :close "ff."
	      :length 2
	      :ignore-end
	      )
(markup-range :class "Alpha-page-numbers"
	      :sep "--"
              )
(markup-range :class "Alpha-page-numbers"
	      :close "f."
	      :length 1
	      :ignore-end
	      )
(markup-range :class "Alpha-page-numbers"
	      :close "ff."
	      :length 2
	      :ignore-end
	      )
(markup-range :class "roman-page-numbers"
	      :sep "--"
              )
(markup-range :class "roman-page-numbers"
	      :close "f."
	      :length 1
	      :ignore-end
	      )
(markup-range :class "roman-page-numbers"
	      :close "ff."
	      :length 2
	      :ignore-end
	      )
(markup-range :class "Roman-page-numbers"
	      :sep "--"
              )
(markup-range :class "Roman-page-numbers"
	      :close "f."
	      :length 1
	      :ignore-end
	      )
(markup-range :class "Roman-page-numbers"
	      :close "~~ff."
	      :length 2
	      :ignore-end
	      )
;; ==============================
(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 "\'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")
;; csx+ character-set  
(sort-rule "�" "ae")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "ae")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "a")
(sort-rule "�" "d")
(sort-rule "�" "d")
(sort-rule "�" "e")
(sort-rule "�" "e")
(sort-rule "�" "e")
(sort-rule "�" "e")
(sort-rule "�" "e")
(sort-rule "�" "e")
(sort-rule "�" "e")
(sort-rule "�" "h")
(sort-rule "�" "h")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "i")
(sort-rule "�" "l")
(sort-rule "�" "l")
(sort-rule "�" "l")
(sort-rule "�" "l")
(sort-rule "�" "l")
(sort-rule "�" "l")
(sort-rule "�" "m")
(sort-rule "�" "m")
(sort-rule "�" "m")
(sort-rule "�" "n")
(sort-rule "�" "n")
(sort-rule "�" "n")
(sort-rule "�" "n")
(sort-rule "�" "n")
(sort-rule "�" "n")
(sort-rule "�" "n")
(sort-rule "�" "o")
(sort-rule "�" "o")
(sort-rule "�" "o")
(sort-rule "�" "o")
(sort-rule "�" "o")
(sort-rule "�" "o")
(sort-rule "�" "o")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "r")
(sort-rule "�" "s")
(sort-rule "�" "s")
(sort-rule "�" "s")
(sort-rule "�" "s")
(sort-rule "�" "s")
(sort-rule "�" "t")
(sort-rule "�" "t")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "u")
(sort-rule "�" "y")
;; ==============================
;; the end
;; ==============================
