3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-13 05:16:28 +00:00
coope/docs/_build/latex/LatinRules.xdy

608 lines
18 KiB
Text
Raw Normal View History

2019-02-28 12:18:41 +00:00
;; 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 ("<22>"))
(define-letter-group "B" :after "A" :prefixes ("<22>"))
(define-letter-group "C" :after "B" :prefixes ("<22>"))
(define-letter-group "D" :after "C" :prefixes ("<22>"))
(define-letter-group "E" :after "D" :prefixes ("<22>"))
(define-letter-group "F" :after "E" :prefixes ("<22>"))
(define-letter-group "G" :after "F" :prefixes ("<22>"))
(define-letter-group "H" :after "G" :prefixes ("<22>"))
(define-letter-group "I" :after "H" :prefixes ("<22>"))
(define-letter-group "J" :after "I" :prefixes ("<22>"))
(define-letter-group "K" :after "J" :prefixes ("<22>"))
(define-letter-group "L" :after "K" :prefixes ("<22>"))
(define-letter-group "M" :after "L" :prefixes ("<22>"))
(define-letter-group "N" :after "M" :prefixes ("<22>"))
(define-letter-group "O" :after "N" :prefixes ("<22>"))
(define-letter-group "P" :after "O" :prefixes ("<22>"))
(define-letter-group "Q" :after "P" :prefixes ("<22>"))
(define-letter-group "R" :after "Q" :prefixes ("<22>"))
(define-letter-group "S" :after "R" :prefixes ("<22>"))
(define-letter-group "T" :after "S" :prefixes ("<22>"))
(define-letter-group "U" :after "T" :prefixes ("<22>"))
(define-letter-group "V" :after "U" :prefixes ("<22>"))
(define-letter-group "W" :after "V" :prefixes ("<22>"))
(define-letter-group "X" :after "W" :prefixes ("<22>"))
(define-letter-group "Y" :after "X" :prefixes ("<22>"))
(define-letter-group "Z" :after "Y" :prefixes ("<22>"))
(define-rule-set "sphinx-xy-alphabetize"
:rules (("À" "<22>" :string)
("Ă" "<22>" :string)
("â" "<22>" :string)
("Ä" "<22>" :string)
("à" "<22>" :string)
("Å" "<22>" :string)
("Ã" "<22>" :string)
("Á" "<22>" :string)
("á" "<22>" :string)
("ã" "<22>" :string)
("Â" "<22>" :string)
("ă" "<22>" :string)
("å" "<22>" :string)
("ą" "<22>" :string)
("ä" "<22>" :string)
("Ą" "<22>" :string)
("æ" "<22><>" :string)
("Æ" "<22><>" :string)
("ć" "<22>" :string)
("ĉ" "<22>" :string)
("ç" "<22>" :string)
("Č" "<22>" :string)
("č" "<22>" :string)
("Ĉ" "<22>" :string)
("Ç" "<22>" :string)
("Ć" "<22>" :string)
("ď" "<22>" :string)
("Đ" "<22>" :string)
("Ď" "<22>" :string)
("đ" "<22>" :string)
("ê" "<22>" :string)
("Ę" "<22>" :string)
("Ě" "<22>" :string)
("ë" "<22>" :string)
("ě" "<22>" :string)
("é" "<22>" :string)
("È" "<22>" :string)
("Ë" "<22>" :string)
("É" "<22>" :string)
("è" "<22>" :string)
("Ê" "<22>" :string)
("ę" "<22>" :string)
("ĝ" "<22>" :string)
("ğ" "<22>" :string)
("Ğ" "<22>" :string)
("Ĝ" "<22>" :string)
("ĥ" "<22>" :string)
("Ĥ" "<22>" :string)
("Ï" "<22>" :string)
("Í" "<22>" :string)
("ï" "<22>" :string)
("Î" "<22>" :string)
("î" "<22>" :string)
("ı" "<22>" :string)
("İ" "<22>" :string)
("í" "<22>" :string)
("Ì" "<22>" :string)
("ì" "<22>" :string)
("Ĵ" "<22>" :string)
("ĵ" "<22>" :string)
("ł" "<22>" :string)
("Ł" "<22>" :string)
("ľ" "<22>" :string)
("Ľ" "<22>" :string)
("ń" "<22>" :string)
("Ń" "<22>" :string)
("ñ" "<22>" :string)
("ň" "<22>" :string)
("Ñ" "<22>" :string)
("Ň" "<22>" :string)
("Õ" "<22>" :string)
("Ő" "<22>" :string)
("ó" "<22>" :string)
("ö" "<22>" :string)
("ô" "<22>" :string)
("ő" "<22>" :string)
("Ø" "<22>" :string)
("Ö" "<22>" :string)
("õ" "<22>" :string)
("Ô" "<22>" :string)
("ø" "<22>" :string)
("Ó" "<22>" :string)
("Ò" "<22>" :string)
("ò" "<22>" :string)
("œ" "ĺ" :string)
("Œ" "ĺ" :string)
("Ř" "<22>" :string)
("ř" "<22>" :string)
("Ŕ" "<22>" :string)
("ŕ" "<22>" :string)
("ŝ" "<22>" :string)
("Ś" "<22>" :string)
("ș" "<22>" :string)
("ş" "<22>" :string)
("Ŝ" "<22>" :string)
("ś" "<22>" :string)
("Ș" "<22>" :string)
("š" "<22>" :string)
("Ş" "<22>" :string)
("Š" "<22>" :string)
("ß" "<22><>" :string)
("Ț" "<22>" :string)
("Ť" "<22>" :string)
("ț" "<22>" :string)
("ť" "<22>" :string)
("û" "<22>" :string)
("ŭ" "<22>" :string)
("ů" "<22>" :string)
("ű" "<22>" :string)
("ù" "<22>" :string)
("Ŭ" "<22>" :string)
("Ù" "<22>" :string)
("Ű" "<22>" :string)
("Ü" "<22>" :string)
("Ů" "<22>" :string)
("ú" "<22>" :string)
("Ú" "<22>" :string)
("Û" "<22>" :string)
("ü" "<22>" :string)
("ÿ" "<22>" :string)
("Ý" "<22>" :string)
("Ÿ" "<22>" :string)
("ý" "<22>" :string)
("Ż" "<22>" :string)
("Ž" "<22>" :string)
("Ź" "<22>" :string)
("ž" "<22>" :string)
("ż" "<22>" :string)
("ź" "<22>" :string)
("a" "<22>" :string)
("A" "<22>" :string)
("b" "<22>" :string)
("B" "<22>" :string)
("c" "<22>" :string)
("C" "<22>" :string)
("d" "<22>" :string)
("D" "<22>" :string)
("e" "<22>" :string)
("E" "<22>" :string)
("F" "<22>" :string)
("f" "<22>" :string)
("G" "<22>" :string)
("g" "<22>" :string)
("H" "<22>" :string)
("h" "<22>" :string)
("i" "<22>" :string)
("I" "<22>" :string)
("J" "<22>" :string)
("j" "<22>" :string)
("K" "<22>" :string)
("k" "<22>" :string)
("L" "<22>" :string)
("l" "<22>" :string)
("M" "<22>" :string)
("m" "<22>" :string)
("n" "<22>" :string)
("N" "<22>" :string)
("O" "<22>" :string)
("o" "<22>" :string)
("p" "<22>" :string)
("P" "<22>" :string)
("Q" "<22>" :string)
("q" "<22>" :string)
("r" "<22>" :string)
("R" "<22>" :string)
("S" "<22>" :string)
("s" "<22>" :string)
("t" "<22>" :string)
("T" "<22>" :string)
("u" "<22>" :string)
("U" "<22>" :string)
("v" "<22>" :string)
("V" "<22>" :string)
("W" "<22>" :string)
("w" "<22>" :string)
("x" "<22>" :string)
("X" "<22>" :string)
("Y" "<22>" :string)
("y" "<22>" :string)
("z" "<22>" :string)
("Z" "<22>" :string)
))
(define-rule-set "sphinx-xy-resolve-diacritics"
:rules (("Ĥ" "<22>" :string)
("ó" "<22>" :string)
("ľ" "<22>" :string)
("Ř" "<22>" :string)
("ĝ" "<22>" :string)
("ď" "<22>" :string)
("Ě" "<22>" :string)
("ĥ" "<22>" :string)
("Č" "<22>" :string)
("Ĵ" "<22>" :string)
("ě" "<22>" :string)
("ž" "<22>" :string)
("Ď" "<22>" :string)
("ř" "<22>" :string)
("Ž" "<22>" :string)
("ı" "<22>" :string)
("Ť" "<22>" :string)
("á" "<22>" :string)
("č" "<22>" :string)
("Á" "<22>" :string)
("ň" "<22>" :string)
("Š" "<22>" :string)
("Ň" "<22>" :string)
("ĵ" "<22>" :string)
("ť" "<22>" :string)
("Ó" "<22>" :string)
("ý" "<22>" :string)
("Ĝ" "<22>" :string)
("Ú" "<22>" :string)
("Ľ" "<22>" :string)
("š" "<22>" :string)
("Ý" "<22>" :string)
("ú" "<22>" :string)
("Ś" "<22>" :string)
("ć" "<22>" :string)
("Ł" "<22>" :string)
("ł" "<22>" :string)
("ń" "<22>" :string)
("À" "<22>" :string)
("Ź" "<22>" :string)
("à" "<22>" :string)
("Ń" "<22>" :string)
("Đ" "<22>" :string)
("ÿ" "<22>" :string)
("ś" "<22>" :string)
("Ğ" "<22>" :string)
("ğ" "<22>" :string)
("Ù" "<22>" :string)
("İ" "<22>" :string)
("đ" "<22>" :string)
("ù" "<22>" :string)
("Ț" "<22>" :string)
("é" "<22>" :string)
("ŕ" "<22>" :string)
("Ć" "<22>" :string)
("ț" "<22>" :string)
("ò" "<22>" :string)
("ź" "<22>" :string)
("Ò" "<22>" :string)
("Ÿ" "<22>" :string)
("Ŕ" "<22>" :string)
("É" "<22>" :string)
("ĉ" "<22>" :string)
("ô" "<22>" :string)
("Í" "<22>" :string)
("ŝ" "<22>" :string)
("Ż" "<22>" :string)
("Ă" "<22>" :string)
("Ŝ" "<22>" :string)
("ñ" "<22>" :string)
("ŭ" "<22>" :string)
("í" "<22>" :string)
("È" "<22>" :string)
("Ô" "<22>" :string)
("Ŭ" "<22>" :string)
("ż" "<22>" :string)
("Ñ" "<22>" :string)
("è" "<22>" :string)
("Ĉ" "<22>" :string)
("ă" "<22>" :string)
("â" "<22>" :string)
("û" "<22>" :string)
("ê" "<22>" :string)
("Õ" "<22>" :string)
("õ" "<22>" :string)
("ș" "<22>" :string)
("ç" "<22>" :string)
("Â" "<22>" :string)
("Ê" "<22>" :string)
("Û" "<22>" :string)
("Ç" "<22>" :string)
("ì" "<22>" :string)
("Ì" "<22>" :string)
("Ș" "<22>" :string)
("ö" "<22>" :string)
("Ö" "<22>" :string)
("ş" "<22>" :string)
("ů" "<22>" :string)
("ë" "<22>" :string)
("ã" "<22>" :string)
("î" "<22>" :string)
("Î" "<22>" :string)
("Ã" "<22>" :string)
("Ş" "<22>" :string)
("Ů" "<22>" :string)
("Ë" "<22>" :string)
("ï" "<22>" :string)
("Ő" "<22>" :string)
("Ï" "<22>" :string)
("Ę" "<22>" :string)
("ő" "<22>" :string)
("Ü" "<22>" :string)
("Å" "<22>" :string)
("ü" "<22>" :string)
("ę" "<22>" :string)
("å" "<22>" :string)
("Ä" "<22>" :string)
("ű" "<22>" :string)
("Ø" "<22>" :string)
("ø" "<22>" :string)
("Ű" "<22>" :string)
("ä" "<22>" :string)
("Ą" "<22>" :string)
("ą" "<22>" :string)
("œ" "<22>" :string)
("ß" "<22>" :string)
("Æ" "<22>" :string)
("Œ" "<22>" :string)
("æ" "<22>" :string)
("e" "<22>" :string)
("t" "<22>" :string)
("L" "<22>" :string)
("Y" "<22>" :string)
("J" "<22>" :string)
("a" "<22>" :string)
("p" "<22>" :string)
("u" "<22>" :string)
("j" "<22>" :string)
("b" "<22>" :string)
("G" "<22>" :string)
("U" "<22>" :string)
("F" "<22>" :string)
("H" "<22>" :string)
("i" "<22>" :string)
("z" "<22>" :string)
("c" "<22>" :string)
("l" "<22>" :string)
("A" "<22>" :string)
("Q" "<22>" :string)
("w" "<22>" :string)
("D" "<22>" :string)
("R" "<22>" :string)
("d" "<22>" :string)
("s" "<22>" :string)
("r" "<22>" :string)
("k" "<22>" :string)
("v" "<22>" :string)
("m" "<22>" :string)
("P" "<22>" :string)
("y" "<22>" :string)
("K" "<22>" :string)
("q" "<22>" :string)
("S" "<22>" :string)
("I" "<22>" :string)
("C" "<22>" :string)
("M" "<22>" :string)
("Z" "<22>" :string)
("T" "<22>" :string)
("W" "<22>" :string)
("B" "<22>" :string)
("h" "<22>" :string)
("x" "<22>" :string)
("X" "<22>" :string)
("f" "<22>" :string)
("E" "<22>" :string)
("V" "<22>" :string)
("N" "<22>" :string)
("O" "<22>" :string)
("o" "<22>" :string)
("g" "<22>" :string)
("n" "<22>" :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"))