diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-07 18:23:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-07 18:23:21 +0000 |
commit | fb0bf13304a356f197bfc1add17f98c07e96f17b (patch) | |
tree | c6d2367f3652378da3aeb1ca88ff8e2687ddea42 /Master/texmf-dist/xindy/modules/lang/portuguese | |
parent | 752012c605d34cd943795527a9738475a6958fcc (diff) |
texmf -> texmf-dist: xindy
git-svn-id: svn://tug.org/texlive/trunk@29713 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/xindy/modules/lang/portuguese')
6 files changed, 1036 insertions, 0 deletions
diff --git a/Master/texmf-dist/xindy/modules/lang/portuguese/latin1-lang.xdy b/Master/texmf-dist/xindy/modules/lang/portuguese/latin1-lang.xdy new file mode 100644 index 00000000000..77b84b09a82 --- /dev/null +++ b/Master/texmf-dist/xindy/modules/lang/portuguese/latin1-lang.xdy @@ -0,0 +1,10 @@ +(require "lang/portuguese/latin1.xdy") +(define-sort-rule-orientations (forward backward forward forward)) +(use-rule-set :run 0 + :rule-set ("pt-alphabetize" "pt-ignore-special")) +(use-rule-set :run 1 + :rule-set ("pt-resolve-diacritics" "pt-ignore-special")) +(use-rule-set :run 2 + :rule-set ("pt-resolve-case" "pt-ignore-special")) +(use-rule-set :run 3 + :rule-set ("pt-resolve-special")) diff --git a/Master/texmf-dist/xindy/modules/lang/portuguese/latin1-test.xdy b/Master/texmf-dist/xindy/modules/lang/portuguese/latin1-test.xdy new file mode 100644 index 00000000000..0fac48b7bcb --- /dev/null +++ b/Master/texmf-dist/xindy/modules/lang/portuguese/latin1-test.xdy @@ -0,0 +1,92 @@ +(require "lang/portuguese/latin1.xdy") +(define-sort-rule-orientations (forward backward forward forward)) +(use-rule-set :run 0 + :rule-set ("pt-alphabetize" "pt-ignore-special")) +(use-rule-set :run 1 + :rule-set ("pt-resolve-diacritics" "pt-ignore-special")) +(use-rule-set :run 2 + :rule-set ("pt-resolve-case" "pt-ignore-special")) +(use-rule-set :run 3 + :rule-set ("pt-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-dist/xindy/modules/lang/portuguese/latin1.xdy b/Master/texmf-dist/xindy/modules/lang/portuguese/latin1.xdy new file mode 100644 index 00000000000..1a6bfdf2650 --- /dev/null +++ b/Master/texmf-dist/xindy/modules/lang/portuguese/latin1.xdy @@ -0,0 +1,416 @@ +;; Rules for xindy; generated by make-rules.pl +;; language: Portuguese + +(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 "pt-alphabetize" + + :rules (("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("a" "" :string) + ("A" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("b" "" :string) + ("B" "" :string) + ("" "" :string) + ("C" "" :string) + ("" "" :string) + ("c" "" :string) + ("d" "" :string) + ("D" "" :string) + ("E" "" :string) + ("" "" :string) + ("e" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("F" "" :string) + ("f" "" :string) + ("g" "" :string) + ("G" "" :string) + ("H" "" :string) + ("h" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :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) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("O" "" :string) + ("" "" :string) + ("" "" :string) + ("o" "" :string) + ("P" "" :string) + ("p" "" :string) + ("q" "" :string) + ("Q" "" :string) + ("r" "" :string) + ("R" "" :string) + ("S" "" :string) + ("s" "" :string) + ("" "" :string) + ("T" "" :string) + ("t" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("u" "" :string) + ("" "" :string) + ("" "" :string) + ("U" "" :string) + ("" "" :string) + ("v" "" :string) + ("V" "" :string) + ("w" "" :string) + ("W" "" :string) + ("X" "" :string) + ("x" "" :string) + ("Y" "" :string) + ("y" "" :string) + ("z" "" :string) + ("Z" "" :string) + )) + +(define-rule-set "pt-resolve-diacritics" + + :rules (("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) + ("" "" :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) + )) + +(define-rule-set "pt-resolve-case" + + :rules (("S" "8" :string) + ("K" "8" :string) + ("Y" "8" :string) + ("" "8" :string) + ("E" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("J" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("D" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("Q" "8" :string) + ("M" "8" :string) + ("C" "8" :string) + ("L" "8" :string) + ("" "8" :string) + ("X" "8" :string) + ("P" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("T" "8" :string) + ("N" "8" :string) + ("Z" "8" :string) + ("" "8" :string) + ("" "8" :string) + ("W" "8" :string) + ("B" "8" :string) + ("" "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) + ("" "8" :string) + ("" "8" :string) + ("R" "8" :string) + ("" "89" :string) + ("" "9" :string) + ("d" "9" :string) + ("y" "9" :string) + ("" "9" :string) + ("g" "9" :string) + ("e" "9" :string) + ("" "9" :string) + ("" "9" :string) + ("q" "9" :string) + ("b" "9" :string) + ("z" "9" :string) + ("" "9" :string) + ("w" "9" :string) + ("" "9" :string) + ("" "9" :string) + ("" "9" :string) + ("" "9" :string) + ("a" "9" :string) + ("" "9" :string) + ("j" "9" :string) + ("" "9" :string) + ("u" "9" :string) + ("k" "9" :string) + ("t" "9" :string) + ("" "9" :string) + ("v" "9" :string) + ("" "9" :string) + ("s" "9" :string) + ("c" "9" :string) + ("r" "9" :string) + ("x" "9" :string) + ("" "9" :string) + ("h" "9" :string) + ("f" "9" :string) + ("i" "9" :string) + ("n" "9" :string) + ("m" "9" :string) + ("l" "9" :string) + ("p" "9" :string) + ("" "9" :string) + ("" "9" :string) + ("" "9" :string) + ("o" "9" :string) + ("" "99" :string) + ("" "99" :string) + )) + +(define-rule-set "pt-ignore-special" + + :rules (("-" "" :string) + ("!" "" :string) + ("'" "" :string) + ("?" "" :string) + ("." "" :string) + )) + +(define-rule-set "pt-resolve-special" + + :rules (("?" "" :string) + ("!" "" :string) + ("." "" :string) + ("S" "" :string) + ("" "" :string) + ("K" "" :string) + ("d" "" :string) + ("Y" "" :string) + ("" "" :string) + ("E" "" :string) + ("y" "" :string) + ("" "" :string) + ("g" "" :string) + ("" "" :string) + ("" "" :string) + ("e" "" :string) + ("J" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("q" "" :string) + ("D" "" :string) + ("b" "" :string) + ("z" "" :string) + ("" "" :string) + ("w" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("Q" "" :string) + ("M" "" :string) + ("C" "" :string) + ("L" "" :string) + ("" "" :string) + ("" "" :string) + ("X" "" :string) + ("P" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("T" "" :string) + ("a" "" :string) + ("N" "" :string) + ("" "" :string) + ("j" "" :string) + ("Z" "" :string) + ("" "" :string) + ("u" "" :string) + ("" "" :string) + ("k" "" :string) + ("" "" :string) + ("t" "" :string) + ("W" "" :string) + ("" "" :string) + ("v" "" :string) + ("" "" :string) + ("s" "" :string) + ("B" "" :string) + ("" "" :string) + ("H" "" :string) + ("c" "" :string) + ("I" "" :string) + ("G" "" :string) + ("U" "" :string) + ("F" "" :string) + ("r" "" :string) + ("x" "" :string) + ("V" "" :string) + ("" "" :string) + ("h" "" :string) + ("f" "" :string) + ("i" "" :string) + ("A" "" :string) + ("O" "" :string) + ("n" "" :string) + ("" "" :string) + ("m" "" :string) + ("l" "" :string) + ("p" "" :string) + ("" "" :string) + ("" "" :string) + ("R" "" :string) + ("" "" :string) + ("" "" :string) + ("o" "" :string) + ("" "" :string) + ("" "" :string) + ("" "" :string) + ("-" "" :string) + ("'" "" :string) + )) + diff --git a/Master/texmf-dist/xindy/modules/lang/portuguese/utf8-lang.xdy b/Master/texmf-dist/xindy/modules/lang/portuguese/utf8-lang.xdy new file mode 100644 index 00000000000..42787a21bb1 --- /dev/null +++ b/Master/texmf-dist/xindy/modules/lang/portuguese/utf8-lang.xdy @@ -0,0 +1,10 @@ +(require "lang/portuguese/utf8.xdy") +(define-sort-rule-orientations (forward backward forward forward)) +(use-rule-set :run 0 + :rule-set ("pt-alphabetize" "pt-ignore-special")) +(use-rule-set :run 1 + :rule-set ("pt-resolve-diacritics" "pt-ignore-special")) +(use-rule-set :run 2 + :rule-set ("pt-resolve-case" "pt-ignore-special")) +(use-rule-set :run 3 + :rule-set ("pt-resolve-special")) diff --git a/Master/texmf-dist/xindy/modules/lang/portuguese/utf8-test.xdy b/Master/texmf-dist/xindy/modules/lang/portuguese/utf8-test.xdy new file mode 100644 index 00000000000..d39bf06184f --- /dev/null +++ b/Master/texmf-dist/xindy/modules/lang/portuguese/utf8-test.xdy @@ -0,0 +1,92 @@ +(require "lang/portuguese/utf8.xdy") +(define-sort-rule-orientations (forward backward forward forward)) +(use-rule-set :run 0 + :rule-set ("pt-alphabetize" "pt-ignore-special")) +(use-rule-set :run 1 + :rule-set ("pt-resolve-diacritics" "pt-ignore-special")) +(use-rule-set :run 2 + :rule-set ("pt-resolve-case" "pt-ignore-special")) +(use-rule-set :run 3 + :rule-set ("pt-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-dist/xindy/modules/lang/portuguese/utf8.xdy b/Master/texmf-dist/xindy/modules/lang/portuguese/utf8.xdy new file mode 100644 index 00000000000..a263b0e5d4f --- /dev/null +++ b/Master/texmf-dist/xindy/modules/lang/portuguese/utf8.xdy @@ -0,0 +1,416 @@ +;; Rules for xindy; generated by make-rules.pl +;; language: Portuguese + +(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 "pt-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) + ("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 "pt-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) + ("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 "pt-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) + ("Æ" "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) + ("æ" "99" :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 "pt-ignore-special" + + :rules (("-" "" :string) + ("!" "" :string) + ("'" "" :string) + ("?" "" :string) + ("." "" :string) + )) + +(define-rule-set "pt-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) + ("í" "" :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) + )) + |