diff options
Diffstat (limited to 'Master/texmf/xindy/lang/gypsy')
3 files changed, 526 insertions, 0 deletions
diff --git a/Master/texmf/xindy/lang/gypsy/northrussian-utf8-lang.xdy b/Master/texmf/xindy/lang/gypsy/northrussian-utf8-lang.xdy new file mode 100644 index 00000000000..3554b284d16 --- /dev/null +++ b/Master/texmf/xindy/lang/gypsy/northrussian-utf8-lang.xdy @@ -0,0 +1,10 @@ +(require "lang/gypsy/northrussian-utf8.xdy") +(define-sort-rule-orientations (forward backward forward forward)) +(use-rule-set :run 0 + :rule-set ("g1-alphabetize" "g1-ignore-special")) +(use-rule-set :run 1 + :rule-set ("g1-resolve-diacritics" "g1-ignore-special")) +(use-rule-set :run 2 + :rule-set ("g1-resolve-case" "g1-ignore-special")) +(use-rule-set :run 3 + :rule-set ("g1-resolve-special")) diff --git a/Master/texmf/xindy/lang/gypsy/northrussian-utf8-test.xdy b/Master/texmf/xindy/lang/gypsy/northrussian-utf8-test.xdy new file mode 100644 index 00000000000..edf6d3f0a7f --- /dev/null +++ b/Master/texmf/xindy/lang/gypsy/northrussian-utf8-test.xdy @@ -0,0 +1,92 @@ +(require "lang/gypsy/northrussian-utf8.xdy") +(define-sort-rule-orientations (forward backward forward forward)) +(use-rule-set :run 0 + :rule-set ("g1-alphabetize" "g1-ignore-special")) +(use-rule-set :run 1 + :rule-set ("g1-resolve-diacritics" "g1-ignore-special")) +(use-rule-set :run 2 + :rule-set ("g1-resolve-case" "g1-ignore-special")) +(use-rule-set :run 3 + :rule-set ("g1-resolve-special")) + +;; define other stuff +(define-attributes ("default")) + +;; The description of the location-classes. +;; Add more location classes as needed. + +(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")) + +;; The most frequently used cross reference class "see". Add more, if +;; necessary. + +(define-crossref-class "see") +(markup-crossref-list :open "\see{" :close "}{}" :class "see") + +;; In makeindex: page_precedence <string> "rnaRA" +;; List all location classes appearing in your document. + +(define-location-class-order ("roman-page-numbers" + "arabic-page-numbers" + "alpha-page-numbers" + "Roman-page-numbers" + "Alpha-page-numbers" + "see")) + + +;; preamble <string> "\\begin{theindex}\n" +;; postamble <string> "\n\n\\end{theindex}\n" + +(markup-index :open "\begin{theindex}~n" + :close "~n~n\end{theindex}~n" + :tree) + +;; These specifiers are not directly supported via a command-line +;; switch as in makeindex. Add the appropriate markup-commands into +;; the preamble. + +;; setpage_prefix <string> "~n \setcounter{page}{" +;; setpage_suffix <string> "}~n" + +;; group_skip <string> "~n~n \indexspace~n" + +(markup-letter-group-list :sep "~n~n \indexspace~n") + +;; even though we comment out (%) the letter-group heading, +;; the following is useful if you want to check the .ind-file +(markup-letter-group :open-head "~n % ") + +;; The indexentries (item_<..> specifiers) + +(markup-indexentry :open "~n \item " :depth 0) +(markup-indexentry :open "~n \subitem " :depth 1) +(markup-indexentry :open "~n \subsubitem " :depth 2) + +;; Location-references + +;; delim_0 <string> ", " +;; delim_1 <string> ", " +;; delim_2 <string> ", " + +(markup-locclass-list :open ", " :sep ", ") + +;; delim_n <string> ", " + +(markup-locref-list :sep ", ") + +;; delim_r <string> "--" + +(markup-range :sep "--") + +;; That's all ;-) + + +;; End + +;; Local Variables: +;; mode: lisp +;; End: diff --git a/Master/texmf/xindy/lang/gypsy/northrussian-utf8.xdy b/Master/texmf/xindy/lang/gypsy/northrussian-utf8.xdy new file mode 100644 index 00000000000..82706b3dc45 --- /dev/null +++ b/Master/texmf/xindy/lang/gypsy/northrussian-utf8.xdy @@ -0,0 +1,424 @@ +;; Rules for xindy; generated by make-rules.pl +;; language: Gypsy + +(define-letter-group "A" :prefixes ("")) +(define-letter-group "B" :after "A" :prefixes ("")) +(define-letter-group "C" :after "B" :prefixes ("")) +(define-letter-group "Č" :after "C" :prefixes ("")) +(define-letter-group "D" :after "Č" :prefixes ("")) +(define-letter-group "Dz" :after "D" :prefixes ("")) +(define-letter-group "E" :after "Dz" :prefixes ("")) +(define-letter-group "F" :after "E" :prefixes ("")) +(define-letter-group "G" :after "F" :prefixes ("")) +(define-letter-group "Γ" :after "G" :prefixes ("")) +(define-letter-group "H" :after "Γ" :prefixes ("")) +(define-letter-group "I" :after "H" :prefixes ("")) +(define-letter-group "I̯" :after "I" :prefixes ("")) +(define-letter-group "Ï" :after "I̯" :prefixes ("")) +(define-letter-group "J" :after "Ï" :prefixes ("")) +(define-letter-group "K" :after "J" :prefixes ("")) +(define-letter-group "Kh" :after "K" :prefixes ("")) +(define-letter-group "X" :after "Kh" :prefixes ("")) +(define-letter-group "L" :after "X" :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 "Ph" :after "P" :prefixes ("")) +(define-letter-group "Q" :after "Ph" :prefixes ("")) +(define-letter-group "R" :after "Q" :prefixes ("")) +(define-letter-group "S" :after "R" :prefixes ("")) +(define-letter-group "Š" :after "S" :prefixes ("")) +(define-letter-group "T" :after "Š" :prefixes ("")) +(define-letter-group "Th" :after "T" :prefixes ("")) +(define-letter-group "U" :after "Th" :prefixes ("")) +(define-letter-group "V" :after "U" :prefixes ("")) +(define-letter-group "W" :after "V" :prefixes ("")) +(define-letter-group "Y" :after "W" :prefixes ("")) +(define-letter-group "Z" :after "Y" :prefixes ("")) +(define-letter-group "Ž" :after "Z" :prefixes ("")) + +(define-rule-set "g1-alphabetize" + + :rules (("i̯" "" :string) + ("I̯" "" :string) + ("Ḯ" "" :string) + ("ḯ" "" :string) + ("Á" "" :string) + ("á" "" :string) + ("č" "" :string) + ("Č" "" :string) + ("Dz" "" :string) + ("DZ" "" :string) + ("dz" "" :string) + ("É" "" :string) + ("é" "" :string) + ("Γ" "" :string) + ("γ" "" :string) + ("Í" "" :string) + ("í" "" :string) + ("Ï" "" :string) + ("ï" "" :string) + ("KH" "" :string) + ("kh" "" :string) + ("Kh" "" :string) + ("Ó" "" :string) + ("ó" "" :string) + ("PH" "" :string) + ("ph" "" :string) + ("Ph" "" :string) + ("Š" "" :string) + ("š" "" :string) + ("TH" "" :string) + ("Th" "" :string) + ("th" "" :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) + ("X" "" :string) + ("x" "" :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) + ("Y" "" :string) + ("y" "" :string) + ("z" "" :string) + ("Z" "" :string) + )) + +(define-rule-set "g1-resolve-diacritics" + + :rules (("i̯" "" :string) + ("I̯" "" :string) + ("Ḯ" "" :string) + ("ḯ" "" :string) + ("KH" "" :string) + ("Dz" "" :string) + ("Ž" "" :string) + ("kh" "" :string) + ("Ï" "" :string) + ("č" "" :string) + ("ï" "" :string) + ("Γ" "" :string) + ("TH" "" :string) + ("Š" "" :string) + ("PH" "" :string) + ("š" "" :string) + ("ph" "" :string) + ("Ph" "" :string) + ("Th" "" :string) + ("th" "" :string) + ("DZ" "" :string) + ("γ" "" :string) + ("Č" "" :string) + ("Kh" "" :string) + ("dz" "" :string) + ("ž" "" :string) + ("Á" "" :string) + ("Ó" "" :string) + ("É" "" :string) + ("Í" "" :string) + ("Ú" "" :string) + ("ú" "" :string) + ("á" "" :string) + ("í" "" :string) + ("ó" "" :string) + ("é" "" :string) + ("S" "" :string) + ("K" "" :string) + ("d" "" :string) + ("Y" "" :string) + ("E" "" :string) + ("y" "" :string) + ("g" "" :string) + ("e" "" :string) + ("J" "" :string) + ("q" "" :string) + ("D" "" :string) + ("b" "" :string) + ("z" "" :string) + ("w" "" :string) + ("Q" "" :string) + ("M" "" :string) + ("C" "" :string) + ("L" "" :string) + ("X" "" :string) + ("P" "" :string) + ("T" "" :string) + ("a" "" :string) + ("N" "" :string) + ("j" "" :string) + ("Z" "" :string) + ("u" "" :string) + ("k" "" :string) + ("t" "" :string) + ("W" "" :string) + ("v" "" :string) + ("s" "" :string) + ("B" "" :string) + ("H" "" :string) + ("c" "" :string) + ("I" "" :string) + ("G" "" :string) + ("U" "" :string) + ("F" "" :string) + ("r" "" :string) + ("x" "" :string) + ("V" "" :string) + ("h" "" :string) + ("f" "" :string) + ("i" "" :string) + ("A" "" :string) + ("O" "" :string) + ("n" "" :string) + ("m" "" :string) + ("l" "" :string) + ("p" "" :string) + ("R" "" :string) + ("o" "" :string) + )) + +(define-rule-set "g1-resolve-case" + + :rules (("Ḯ" "8" :string) + ("I̯" "8" :string) + ("i̯" "9" :string) + ("ḯ" "9" :string) + ("KH" "7" :string) + ("TH" "7" :string) + ("PH" "7" :string) + ("DZ" "7" :string) + ("Á" "8" :string) + ("Dz" "8" :string) + ("Ž" "8" :string) + ("Ó" "8" :string) + ("É" "8" :string) + ("Í" "8" :string) + ("Ï" "8" :string) + ("Ú" "8" :string) + ("Γ" "8" :string) + ("Š" "8" :string) + ("Ph" "8" :string) + ("Th" "8" :string) + ("Č" "8" :string) + ("Kh" "8" :string) + ("kh" "9" :string) + ("č" "9" :string) + ("ú" "9" :string) + ("ï" "9" :string) + ("á" "9" :string) + ("š" "9" :string) + ("ph" "9" :string) + ("th" "9" :string) + ("í" "9" :string) + ("ó" "9" :string) + ("γ" "9" :string) + ("é" "9" :string) + ("dz" "9" :string) + ("ž" "9" :string) + ("S" "8" :string) + ("K" "8" :string) + ("Y" "8" :string) + ("E" "8" :string) + ("J" "8" :string) + ("D" "8" :string) + ("Q" "8" :string) + ("M" "8" :string) + ("C" "8" :string) + ("L" "8" :string) + ("X" "8" :string) + ("P" "8" :string) + ("T" "8" :string) + ("N" "8" :string) + ("Z" "8" :string) + ("W" "8" :string) + ("B" "8" :string) + ("H" "8" :string) + ("I" "8" :string) + ("G" "8" :string) + ("U" "8" :string) + ("F" "8" :string) + ("V" "8" :string) + ("A" "8" :string) + ("O" "8" :string) + ("R" "8" :string) + ("d" "9" :string) + ("y" "9" :string) + ("g" "9" :string) + ("e" "9" :string) + ("q" "9" :string) + ("b" "9" :string) + ("z" "9" :string) + ("w" "9" :string) + ("a" "9" :string) + ("j" "9" :string) + ("u" "9" :string) + ("k" "9" :string) + ("t" "9" :string) + ("v" "9" :string) + ("s" "9" :string) + ("c" "9" :string) + ("r" "9" :string) + ("x" "9" :string) + ("h" "9" :string) + ("f" "9" :string) + ("i" "9" :string) + ("n" "9" :string) + ("m" "9" :string) + ("l" "9" :string) + ("p" "9" :string) + ("o" "9" :string) + )) + +(define-rule-set "g1-ignore-special" + + :rules (("ˈ" "" :string) + ("-" "" :string) + ("!" "" :string) + ("'" "" :string) + ("?" "" :string) + ("." "" :string) + )) + +(define-rule-set "g1-resolve-special" + + :rules (("i̯" "" :string) + ("Ḯ" "" :string) + ("I̯" "" :string) + ("ḯ" "" :string) + ("KH" "" :string) + ("Á" "" :string) + ("Dz" "" :string) + ("Ž" "" :string) + ("kh" "" :string) + ("Ó" "" :string) + ("É" "" :string) + ("Í" "" :string) + ("Ï" "" :string) + ("Ú" "" :string) + ("č" "" :string) + ("ú" "" :string) + ("ï" "" :string) + ("Γ" "" :string) + ("á" "" :string) + ("TH" "" :string) + ("Š" "" :string) + ("PH" "" :string) + ("š" "" :string) + ("ph" "" :string) + ("Ph" "" :string) + ("Th" "" :string) + ("th" "" :string) + ("í" "" :string) + ("DZ" "" :string) + ("ó" "" :string) + ("γ" "" :string) + ("Č" "" :string) + ("Kh" "" :string) + ("é" "" :string) + ("dz" "" :string) + ("ž" "" :string) + ("ˈ" "" :string) + ("?" "" :string) + ("!" "" :string) + ("." "" :string) + ("S" "" :string) + ("K" "" :string) + ("d" "" :string) + ("Y" "" :string) + ("E" "" :string) + ("y" "" :string) + ("g" "" :string) + ("e" "" :string) + ("J" "" :string) + ("q" "" :string) + ("D" "" :string) + ("b" "" :string) + ("z" "" :string) + ("w" "" :string) + ("Q" "" :string) + ("M" "" :string) + ("C" "" :string) + ("L" "" :string) + ("X" "" :string) + ("P" "" :string) + ("T" "" :string) + ("a" "" :string) + ("N" "" :string) + ("j" "" :string) + ("Z" "" :string) + ("u" "" :string) + ("k" "" :string) + ("t" "" :string) + ("W" "" :string) + ("v" "" :string) + ("s" "" :string) + ("B" "" :string) + ("H" "" :string) + ("c" "" :string) + ("I" "" :string) + ("G" "" :string) + ("U" "" :string) + ("F" "" :string) + ("r" "" :string) + ("x" "" :string) + ("V" "" :string) + ("h" "" :string) + ("f" "" :string) + ("i" "" :string) + ("A" "" :string) + ("O" "" :string) + ("n" "" :string) + ("m" "" :string) + ("l" "" :string) + ("p" "" :string) + ("R" "" :string) + ("o" "" :string) + ("-" "" :string) + ("'" "" :string) + )) + |