;; style file for xindy
;; filename: LatinRules.xdy
;;
;; It is based upon xindy's files lang/general/utf8.xdy and
;; lang/general/utf8-lang.xdy which implement
;; "a general sorting order for Western European languages"
;;
;; The aim for Sphinx is to be able to index in a Cyrillic document
;; also terms using the Latin alphabets, inclusive of letters
;; with diacritics. To this effect the xindy rules from lang/general
;; got manually re-coded to avoid collisions with the encoding
;; done by xindy for sorting words in Cyrillic languages, which was
;; observed not to use bytes with octal encoding 0o266 or higher.
;;
;; So here we use only 0o266 or higher bytes.
;; (Å, Å, IJ, and ij are absent from
;; lang/general/utf8.xdy and not included here)
;; Contributed by the Sphinx team, 2018.
(define-letter-group "A" :prefixes ("¶"))
(define-letter-group "B" :after "A" :prefixes ("·"))
(define-letter-group "C" :after "B" :prefixes ("¸"))
(define-letter-group "D" :after "C" :prefixes ("¹"))
(define-letter-group "E" :after "D" :prefixes ("º"))
(define-letter-group "F" :after "E" :prefixes ("»"))
(define-letter-group "G" :after "F" :prefixes ("¼"))
(define-letter-group "H" :after "G" :prefixes ("½"))
(define-letter-group "I" :after "H" :prefixes ("¾"))
(define-letter-group "J" :after "I" :prefixes ("¿"))
(define-letter-group "K" :after "J" :prefixes ("À"))
(define-letter-group "L" :after "K" :prefixes ("Á"))
(define-letter-group "M" :after "L" :prefixes ("Â"))
(define-letter-group "N" :after "M" :prefixes ("Ã"))
(define-letter-group "O" :after "N" :prefixes ("Ä"))
(define-letter-group "P" :after "O" :prefixes ("È"))
(define-letter-group "Q" :after "P" :prefixes ("Ê"))
(define-letter-group "R" :after "Q" :prefixes ("Ë"))
(define-letter-group "S" :after "R" :prefixes ("Ð"))
(define-letter-group "T" :after "S" :prefixes ("Ú"))
(define-letter-group "U" :after "T" :prefixes ("à"))
(define-letter-group "V" :after "U" :prefixes ("å"))
(define-letter-group "W" :after "V" :prefixes ("æ"))
(define-letter-group "X" :after "W" :prefixes ("ë"))
(define-letter-group "Y" :after "X" :prefixes ("í"))
(define-letter-group "Z" :after "Y" :prefixes ("ð"))
(define-rule-set "sphinx-xy-alphabetize"
:rules (("Ã" "¶" :string)
("Ä" "¶" :string)
("â" "¶" :string)
("Ã" "¶" :string)
("Ã " "¶" :string)
("Ã
" "¶" :string)
("Ã" "¶" :string)
("Ã" "¶" :string)
("á" "¶" :string)
("ã" "¶" :string)
("Ã" "¶" :string)
("Ä" "¶" :string)
("Ã¥" "¶" :string)
("Ä
" "¶" :string)
("ä" "¶" :string)
("Ä" "¶" :string)
("æ" "¶º" :string)
("Ã" "¶º" :string)
("Ä" "¸" :string)
("Ä" "¸" :string)
("ç" "¸" :string)
("Ä" "¸" :string)
("Ä" "¸" :string)
("Ä" "¸" :string)
("Ã" "¸" :string)
("Ä" "¸" :string)
("Ä" "¹" :string)
("Ä" "¹" :string)
("Ä" "¹" :string)
("Ä" "¹" :string)
("ê" "º" :string)
("Ä" "º" :string)
("Ä" "º" :string)
("ë" "º" :string)
("Ä" "º" :string)
("é" "º" :string)
("Ã" "º" :string)
("Ã" "º" :string)
("Ã" "º" :string)
("è" "º" :string)
("Ã" "º" :string)
("Ä" "º" :string)
("Ä" "¼" :string)
("Ä" "¼" :string)
("Ä" "¼" :string)
("Ä" "¼" :string)
("Ä¥" "½" :string)
("Ĥ" "½" :string)
("Ã" "¾" :string)
("Ã" "¾" :string)
("ï" "¾" :string)
("Ã" "¾" :string)
("î" "¾" :string)
("ı" "¾" :string)
("Ä°" "¾" :string)
("Ã" "¾" :string)
("Ã" "¾" :string)
("ì" "¾" :string)
("Ä´" "¿" :string)
("ĵ" "¿" :string)
("Å" "Á" :string)
("Å" "Á" :string)
("ľ" "Á" :string)
("Ľ" "Á" :string)
("Å" "Ã" :string)
("Å" "Ã" :string)
("ñ" "Ã" :string)
("Å" "Ã" :string)
("Ã" "Ã" :string)
("Å" "Ã" :string)
("Ã" "Ä" :string)
("Å" "Ä" :string)
("ó" "Ä" :string)
("ö" "Ä" :string)
("ô" "Ä" :string)
("Å" "Ä" :string)
("Ã" "Ä" :string)
("Ã" "Ä" :string)
("õ" "Ä" :string)
("Ã" "Ä" :string)
("ø" "Ä" :string)
("Ã" "Ä" :string)
("Ã" "Ä" :string)
("ò" "Ä" :string)
("Å" "ĺ" :string)
("Å" "ĺ" :string)
("Å" "Ë" :string)
("Å" "Ë" :string)
("Å" "Ë" :string)
("Å" "Ë" :string)
("Å" "Ð" :string)
("Å" "Ð" :string)
("È" "Ð" :string)
("Å" "Ð" :string)
("Å" "Ð" :string)
("Å" "Ð" :string)
("È" "Ð" :string)
("Å¡" "Ð" :string)
("Å" "Ð" :string)
("Å " "Ð" :string)
("Ã" "ÐÐ" :string)
("È" "Ú" :string)
("Ť" "Ú" :string)
("È" "Ú" :string)
("Å¥" "Ú" :string)
("û" "à" :string)
("Å" "à" :string)
("ů" "à" :string)
("ű" "à" :string)
("ù" "à" :string)
("Ŭ" "à" :string)
("Ã" "à" :string)
("Å°" "à" :string)
("Ã" "à" :string)
("Å®" "à" :string)
("ú" "à" :string)
("Ã" "à" :string)
("Ã" "à" :string)
("ü" "à" :string)
("ÿ" "í" :string)
("Ã" "í" :string)
("Ÿ" "í" :string)
("ý" "í" :string)
("Å»" "ð" :string)
("Ž" "ð" :string)
("Ź" "ð" :string)
("ž" "ð" :string)
("ż" "ð" :string)
("ź" "ð" :string)
("a" "¶" :string)
("A" "¶" :string)
("b" "·" :string)
("B" "·" :string)
("c" "¸" :string)
("C" "¸" :string)
("d" "¹" :string)
("D" "¹" :string)
("e" "º" :string)
("E" "º" :string)
("F" "»" :string)
("f" "»" :string)
("G" "¼" :string)
("g" "¼" :string)
("H" "½" :string)
("h" "½" :string)
("i" "¾" :string)
("I" "¾" :string)
("J" "¿" :string)
("j" "¿" :string)
("K" "À" :string)
("k" "À" :string)
("L" "Á" :string)
("l" "Á" :string)
("M" "Â" :string)
("m" "Â" :string)
("n" "Ã" :string)
("N" "Ã" :string)
("O" "Ä" :string)
("o" "Ä" :string)
("p" "È" :string)
("P" "È" :string)
("Q" "Ê" :string)
("q" "Ê" :string)
("r" "Ë" :string)
("R" "Ë" :string)
("S" "Ð" :string)
("s" "Ð" :string)
("t" "Ú" :string)
("T" "Ú" :string)
("u" "à" :string)
("U" "à" :string)
("v" "å" :string)
("V" "å" :string)
("W" "æ" :string)
("w" "æ" :string)
("x" "ë" :string)
("X" "ë" :string)
("Y" "í" :string)
("y" "í" :string)
("z" "ð" :string)
("Z" "ð" :string)
))
(define-rule-set "sphinx-xy-resolve-diacritics"
:rules (("Ĥ" "£" :string)
("ó" "£" :string)
("ľ" "£" :string)
("Å" "£" :string)
("Ä" "£" :string)
("Ä" "£" :string)
("Ä" "£" :string)
("Ä¥" "£" :string)
("Ä" "£" :string)
("Ä´" "£" :string)
("Ä" "£" :string)
("ž" "£" :string)
("Ä" "£" :string)
("Å" "£" :string)
("Ž" "£" :string)
("ı" "£" :string)
("Ť" "£" :string)
("á" "£" :string)
("Ä" "£" :string)
("Ã" "£" :string)
("Å" "£" :string)
("Å " "£" :string)
("Å" "£" :string)
("ĵ" "£" :string)
("Å¥" "£" :string)
("Ã" "£" :string)
("ý" "£" :string)
("Ä" "£" :string)
("Ã" "£" :string)
("Ľ" "£" :string)
("Å¡" "£" :string)
("Ã" "£" :string)
("ú" "£" :string)
("Å" "¤" :string)
("Ä" "¤" :string)
("Å" "¤" :string)
("Å" "¤" :string)
("Å" "¤" :string)
("Ã" "¤" :string)
("Ź" "¤" :string)
("Ã " "¤" :string)
("Å" "¤" :string)
("Ä" "¤" :string)
("ÿ" "¤" :string)
("Å" "¤" :string)
("Ä" "¤" :string)
("Ä" "¤" :string)
("Ã" "¤" :string)
("Ä°" "¤" :string)
("Ä" "¤" :string)
("ù" "¤" :string)
("È" "¤" :string)
("é" "¤" :string)
("Å" "¤" :string)
("Ä" "¤" :string)
("È" "¤" :string)
("ò" "¤" :string)
("ź" "¤" :string)
("Ã" "¤" :string)
("Ÿ" "¤" :string)
("Å" "¤" :string)
("Ã" "¤" :string)
("Ä" "¥" :string)
("ô" "¥" :string)
("Ã" "¥" :string)
("Å" "¥" :string)
("Å»" "¥" :string)
("Ä" "¥" :string)
("Å" "¥" :string)
("ñ" "¥" :string)
("Å" "¥" :string)
("Ã" "¥" :string)
("Ã" "¥" :string)
("Ã" "¥" :string)
("Ŭ" "¥" :string)
("ż" "¥" :string)
("Ã" "¥" :string)
("è" "¥" :string)
("Ä" "¥" :string)
("Ä" "¥" :string)
("â" "¦" :string)
("û" "¦" :string)
("ê" "¦" :string)
("Ã" "¦" :string)
("õ" "¦" :string)
("È" "¦" :string)
("ç" "¦" :string)
("Ã" "¦" :string)
("Ã" "¦" :string)
("Ã" "¦" :string)
("Ã" "¦" :string)
("ì" "¦" :string)
("Ã" "¦" :string)
("È" "¦" :string)
("ö" "§" :string)
("Ã" "§" :string)
("Å" "§" :string)
("ů" "§" :string)
("ë" "§" :string)
("ã" "§" :string)
("î" "§" :string)
("Ã" "§" :string)
("Ã" "§" :string)
("Å" "§" :string)
("Å®" "§" :string)
("Ã" "§" :string)
("ï" "¨" :string)
("Å" "¨" :string)
("Ã" "¨" :string)
("Ä" "¨" :string)
("Å" "¨" :string)
("Ã" "¨" :string)
("Ã
" "¨" :string)
("ü" "¨" :string)
("Ä" "¨" :string)
("Ã¥" "¨" :string)
("Ã" "©" :string)
("ű" "©" :string)
("Ã" "©" :string)
("ø" "©" :string)
("Å°" "©" :string)
("ä" "©" :string)
("Ä" "ª" :string)
("Ä
" "ª" :string)
("Å" "ÿ" :string)
("Ã" "ÿ" :string)
("Ã" "ÿ" :string)
("Å" "ÿ" :string)
("æ" "ÿ" :string)
("e" "¢" :string)
("t" "¢" :string)
("L" "¢" :string)
("Y" "¢" :string)
("J" "¢" :string)
("a" "¢" :string)
("p" "¢" :string)
("u" "¢" :string)
("j" "¢" :string)
("b" "¢" :string)
("G" "¢" :string)
("U" "¢" :string)
("F" "¢" :string)
("H" "¢" :string)
("i" "¢" :string)
("z" "¢" :string)
("c" "¢" :string)
("l" "¢" :string)
("A" "¢" :string)
("Q" "¢" :string)
("w" "¢" :string)
("D" "¢" :string)
("R" "¢" :string)
("d" "¢" :string)
("s" "¢" :string)
("r" "¢" :string)
("k" "¢" :string)
("v" "¢" :string)
("m" "¢" :string)
("P" "¢" :string)
("y" "¢" :string)
("K" "¢" :string)
("q" "¢" :string)
("S" "¢" :string)
("I" "¢" :string)
("C" "¢" :string)
("M" "¢" :string)
("Z" "¢" :string)
("T" "¢" :string)
("W" "¢" :string)
("B" "¢" :string)
("h" "¢" :string)
("x" "¢" :string)
("X" "¢" :string)
("f" "¢" :string)
("E" "¢" :string)
("V" "¢" :string)
("N" "¢" :string)
("O" "¢" :string)
("o" "¢" :string)
("g" "¢" :string)
("n" "¢" :string)
))
(define-rule-set "sphinx-xy-resolve-case"
:rules (("Ã" "8" :string)
("Ÿ" "8" :string)
("Ã" "8" :string)
("Ä" "8" :string)
("Å" "8" :string)
("Ľ" "8" :string)
("Å®" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("È" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Å" "8" :string)
("Ä" "8" :string)
("Å " "8" :string)
("Ã" "8" :string)
("Å" "8" :string)
("Ä" "8" :string)
("Ã" "8" :string)
("Ä" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("È" "8" :string)
("Ã
" "8" :string)
("Ä" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ä°" "8" :string)
("Å°" "8" :string)
("Ã" "8" :string)
("Ŭ" "8" :string)
("Ã" "8" :string)
("Ť" "8" :string)
("Å" "8" :string)
("Ä" "8" :string)
("Ź" "8" :string)
("Ž" "8" :string)
("Ä" "8" :string)
("Å" "8" :string)
("Ä" "8" :string)
("Ä´" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Å»" "8" :string)
("Å" "8" :string)
("Ä" "8" :string)
("Ä" "8" :string)
("Å" "8" :string)
("Ã" "8" :string)
("Ä" "8" :string)
("Ã" "8" :string)
("Ã" "8" :string)
("Ĥ" "8" :string)
("Ã" "8" :string)
("Å" "8" :string)
("Å" "8" :string)
("Ã" "8" :string)
("Å" "89" :string)
("Ã" "89" :string)
("ì" "9" :string)
("è" "9" :string)
("Ä
" "9" :string)
("Å¡" "9" :string)
("ú" "9" :string)
("Ã¥" "9" :string)
("Ä" "9" :string)
("Ä" "9" :string)
("ü" "9" :string)
("ź" "9" :string)
("ò" "9" :string)
("Å¥" "9" :string)
("È" "9" :string)
("ĵ" "9" :string)
("Å" "9" :string)
("ż" "9" :string)
("ä" "9" :string)
("ý" "9" :string)
("ù" "9" :string)
("á" "9" :string)
("é" "9" :string)
("Ä" "9" :string)
("Å" "9" :string)
("Å" "9" :string)
("ø" "9" :string)
("Ã" "9" :string)
("Ä" "9" :string)
("ı" "9" :string)
("Ä" "9" :string)
("î" "9" :string)
("ã" "9" :string)
("Ã " "9" :string)
("Å" "9" :string)
("Å" "9" :string)
("ů" "9" :string)
("È" "9" :string)
("ÿ" "9" :string)
("ë" "9" :string)
("Å" "9" :string)
("ç" "9" :string)
("ű" "9" :string)
("ñ" "9" :string)
("õ" "9" :string)
("Ä" "9" :string)
("Å" "9" :string)
("ž" "9" :string)
("Ä" "9" :string)
("Å" "9" :string)
("Å" "9" :string)
("û" "9" :string)
("Å" "9" :string)
("Ä" "9" :string)
("Ä¥" "9" :string)
("ê" "9" :string)
("ô" "9" :string)
("Ä" "9" :string)
("â" "9" :string)
("Ä" "9" :string)
("ï" "9" :string)
("ö" "9" :string)
("ľ" "9" :string)
("ó" "9" :string)
("æ" "99" :string)
("Ã" "99" :string)
("Å" "99" :string)
("N" "8" :string)
("V" "8" :string)
("O" "8" :string)
("X" "8" :string)
("E" "8" :string)
("P" "8" :string)
("K" "8" :string)
("T" "8" :string)
("Z" "8" :string)
("M" "8" :string)
("C" "8" :string)
("I" "8" :string)
("S" "8" :string)
("B" "8" :string)
("W" "8" :string)
("D" "8" :string)
("R" "8" :string)
("H" "8" :string)
("F" "8" :string)
("Q" "8" :string)
("A" "8" :string)
("G" "8" :string)
("U" "8" :string)
("J" "8" :string)
("Y" "8" :string)
("L" "8" :string)
("o" "9" :string)
("n" "9" :string)
("g" "9" :string)
("x" "9" :string)
("f" "9" :string)
("y" "9" :string)
("q" "9" :string)
("h" "9" :string)
("w" "9" :string)
("s" "9" :string)
("d" "9" :string)
("v" "9" :string)
("k" "9" :string)
("r" "9" :string)
("m" "9" :string)
("z" "9" :string)
("c" "9" :string)
("i" "9" :string)
("l" "9" :string)
("b" "9" :string)
("j" "9" :string)
("a" "9" :string)
("p" "9" :string)
("u" "9" :string)
("t" "9" :string)
("e" "9" :string)
))
(use-rule-set :run 0
:rule-set ("sphinx-xy-alphabetize"))
(use-rule-set :run 1
:rule-set ("sphinx-xy-resolve-diacritics"))
(use-rule-set :run 2
:rule-set ("sphinx-xy-resolve-case"))