Elõzõ oldal: Magyarítás
Egy szinttel feljebb: Tartalom
Következõ oldal: Tárgymutató

Magyar Xindy stílusfájl


(define-location-class "page-numbers" ("arabic-numbers"))
(define-attributes (("default")("usage")))

(markup-locref :open "\textbf{" :close "}" :attr "usage")

(define-crossref-class "see")
(markup-crossref-list :open "\see{" :close "}{}" :class "see")

(define-location-class-order("page-numbers" "see"))

(markup-index :open  "~n\begin{theindex}~n\raggedright~n"
              :close "~n\end{theindex}~n"
              :tree)

(markup-letter-group-list :sep "~n~n\indexspace~n")

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

(markup-indexentry :open "~n  \item "             :depth 0)
(markup-indexentry :open "~n     \subitem "       :depth 1)
(markup-indexentry :open "~n        \subsubitem " :depth 2)

(markup-letter-group :open-head "~n\pagebreak[1]\textbf{" 
       :close-head "}\nopagebreak" :capitalize)
(markup-letter-group :open-head "~n%" :close-head "" :group "default")

(require "tex/isolatin2m-tex.xdy")
(require "tex/isolatinm.xdy")
(require "rules/latin-tolower.xdy")

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

(sort-rule "\" "")

(merge-rule "\\texttt *{(.*)}" "\1" :eregexp :again)
(merge-rule "\\textsc *{(.*)}" "\1" :eregexp :again)
(merge-rule "\\verb+[(^+)]*+" "\1" :eregexp :again)

(merge-rule "Á" "á")
(merge-rule "É" "é")
(merge-rule "Í" "í")
(merge-rule "Ó" "ó")
(merge-rule "Ö" "ö")
(merge-rule "Õ" "õ")
(merge-rule "Ú" "ú")
(merge-rule "Ü" "ü")
(merge-rule "Û" "û")

(define-letter-groups
  ("b" "c" "cs" "d" "dz" "dzs" "f" "g" "gy" "h" "j" "k"
   "ly" "m" "n" "ny" "p" "q" "r" "s" "sz" "t" "ty" "v" "w"
   "x" "y" "z" "zs"))

(define-letter-group "a, á" :prefixes ("a" "á") :before "b")
(define-letter-group "e, é" :prefixes ("e" "é") :before "f" :after "d")
(define-letter-group "i, í" :prefixes ("i" "í") :before "j" :after "h")
(define-letter-group "l"    :prefixes ("l")     :before "ly" :after "k")
(define-letter-group "o, ó" :prefixes ("o" "ó") :before "p" :after "ny")
(define-letter-group "ö, õ" :prefixes ("o~e")   :before "p" :after "o, ó")
(define-letter-group "u, ú" :prefixes ("u" "ú") :before "v" :after "ty")
(define-letter-group "ü, û" :prefixes ("u~e")   :before "v" :after "u, ú")

(sort-rule "\" "")
(sort-rule "-" "")
(sort-rule " " "")

(sort-rule "gypsy" "gypsy")

(sort-rule "á" "a")
(sort-rule "é" "e")
(sort-rule "í" "i")
(sort-rule "ó" "o")
(sort-rule "ö" "o~e")
(sort-rule "õ" "o~e")
(sort-rule "ú" "u")
(sort-rule "ü" "u~e")
(sort-rule "û" "u~e")

(sort-rule "ccs" "cscs")
(sort-rule "ggy" "gygy")
(sort-rule "lly" "lyly")
(sort-rule "nny" "nyny")
(sort-rule "ssz" "szsz")
(sort-rule "tty" "tyty")
(sort-rule "zzs" "zszs")

flu@ludens.elte.hu