summaryrefslogtreecommitdiff
path: root/Master/texmf/xindy/modules/lang/latin
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/xindy/modules/lang/latin')
-rw-r--r--Master/texmf/xindy/modules/lang/latin/caseisrt.xdy34
-rw-r--r--Master/texmf/xindy/modules/lang/latin/letgroup.xdy10
-rw-r--r--Master/texmf/xindy/modules/lang/latin/utf8-lang.xdy10
-rw-r--r--Master/texmf/xindy/modules/lang/latin/utf8-test.xdy92
-rw-r--r--Master/texmf/xindy/modules/lang/latin/utf8.xdy352
5 files changed, 498 insertions, 0 deletions
diff --git a/Master/texmf/xindy/modules/lang/latin/caseisrt.xdy b/Master/texmf/xindy/modules/lang/latin/caseisrt.xdy
new file mode 100644
index 00000000000..8b17010338e
--- /dev/null
+++ b/Master/texmf/xindy/modules/lang/latin/caseisrt.xdy
@@ -0,0 +1,34 @@
+;; $Id: caseisrt.xdy,v 1.1 1996/07/03 18:44:47 kehr Exp $
+;;
+;; These are the sort-rules for a latin-based alphabet. Usually in an
+;; index lower- and uppercase letters appear intermixed. Therefore, we
+;; map all uppercase-letters to their lowercase counterpart.
+
+(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 "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")
+
+;; End
diff --git a/Master/texmf/xindy/modules/lang/latin/letgroup.xdy b/Master/texmf/xindy/modules/lang/latin/letgroup.xdy
new file mode 100644
index 00000000000..f02680bd9e3
--- /dev/null
+++ b/Master/texmf/xindy/modules/lang/latin/letgroup.xdy
@@ -0,0 +1,10 @@
+;; $Id: letgroup.xdy,v 1.3 1996/07/18 16:04:18 kehr Exp $
+;;
+;; This file contains the standard letter groups used in latin-based
+;; languages.
+
+(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"))
+
+;; End
diff --git a/Master/texmf/xindy/modules/lang/latin/utf8-lang.xdy b/Master/texmf/xindy/modules/lang/latin/utf8-lang.xdy
new file mode 100644
index 00000000000..f5e47c2cf15
--- /dev/null
+++ b/Master/texmf/xindy/modules/lang/latin/utf8-lang.xdy
@@ -0,0 +1,10 @@
+(require "lang/latin/utf8.xdy")
+(define-sort-rule-orientations (forward backward forward forward))
+(use-rule-set :run 0
+ :rule-set ("la-alphabetize" "la-ignore-special"))
+(use-rule-set :run 1
+ :rule-set ("la-resolve-diacritics" "la-ignore-special"))
+(use-rule-set :run 2
+ :rule-set ("la-resolve-case" "la-ignore-special"))
+(use-rule-set :run 3
+ :rule-set ("la-resolve-special"))
diff --git a/Master/texmf/xindy/modules/lang/latin/utf8-test.xdy b/Master/texmf/xindy/modules/lang/latin/utf8-test.xdy
new file mode 100644
index 00000000000..3191aa8f423
--- /dev/null
+++ b/Master/texmf/xindy/modules/lang/latin/utf8-test.xdy
@@ -0,0 +1,92 @@
+(require "lang/latin/utf8.xdy")
+(define-sort-rule-orientations (forward backward forward forward))
+(use-rule-set :run 0
+ :rule-set ("la-alphabetize" "la-ignore-special"))
+(use-rule-set :run 1
+ :rule-set ("la-resolve-diacritics" "la-ignore-special"))
+(use-rule-set :run 2
+ :rule-set ("la-resolve-case" "la-ignore-special"))
+(use-rule-set :run 3
+ :rule-set ("la-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/modules/lang/latin/utf8.xdy b/Master/texmf/xindy/modules/lang/latin/utf8.xdy
new file mode 100644
index 00000000000..0c240a531d5
--- /dev/null
+++ b/Master/texmf/xindy/modules/lang/latin/utf8.xdy
@@ -0,0 +1,352 @@
+;; Rules for xindy; generated by make-rules.pl
+;; language: Latin
+
+(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 "la-alphabetize"
+
+ :rules (("Ă" "" :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 "la-resolve-diacritics"
+
+ :rules (("ū" "" :string)
+ ("Ē" "" :string)
+ ("Ā" "" :string)
+ ("Ū" "" :string)
+ ("Ō" "" :string)
+ ("ī" "" :string)
+ ("ē" "" :string)
+ ("Ī" "" :string)
+ ("ā" "" :string)
+ ("ō" "" :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 "la-resolve-case"
+
+ :rules (("Ĕ" "8" :string)
+ ("Ă" "8" :string)
+ ("Ē" "8" :string)
+ ("Ĭ" "8" :string)
+ ("Ā" "8" :string)
+ ("Ū" "8" :string)
+ ("Ŭ" "8" :string)
+ ("Ō" "8" :string)
+ ("Ī" "8" :string)
+ ("Ŏ" "8" :string)
+ ("ū" "9" :string)
+ ("ŭ" "9" :string)
+ ("ī" "9" :string)
+ ("ē" "9" :string)
+ ("ā" "9" :string)
+ ("ŏ" "9" :string)
+ ("ă" "9" :string)
+ ("ō" "9" :string)
+ ("ĕ" "9" :string)
+ ("ĭ" "9" :string)
+ ("ß" "99" :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 "la-ignore-special"
+
+ :rules (("-" "" :string)
+ ("!" "" :string)
+ ("'" "" :string)
+ ("?" "" :string)
+ ("." "" :string)
+ ))
+
+(define-rule-set "la-resolve-special"
+
+ :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)
+ ("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)
+ ))
+