summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/hyph-utf8/languages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/hyph-utf8/languages.rb')
-rw-r--r--Master/texmf-dist/source/generic/hyph-utf8/languages.rb579
1 files changed, 436 insertions, 143 deletions
diff --git a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb
index 5287e25f4ed..4064edb2618 100644
--- a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb
+++ b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb
@@ -1,4 +1,19 @@
+class Author
+ def intialize(name,surname,email,contacted1,contacted2)
+ @name = name
+ @surname = surname
+ @email = email
+ # this mostly means if email has been recently checked
+ @contacted1 = contacted1
+ # this means if we made more cooperation with author,
+ # exchanging patches etc.
+ @contacted2 = contacted2
+ end
+
+ attr_reader :name, :surname, :email
+end
+
class Language
def initialize(language_hash)
@use_new_loader = language_hash["use_new_loader"]
@@ -13,6 +28,9 @@ class Language
@encoding = language_hash["encoding"]
@exceptions = language_hash["exceptions"]
@message = language_hash["message"]
+
+ @description_s = language_hash["description_s"]
+ @description_l = language_hash["description_l"]
if @synonyms==nil then @synonyms = [] end
end
@@ -47,21 +65,7 @@ class Language
gsub(/\s+/m,"\n").
gsub(/^\s*/m,'').
gsub(/\s*$/m,'').
- gsub(/'/,"’").
split("\n")
- # Russian and Ukrainian have some extra patterns with dashes
- # we may combine these patterns with the main file anyway
- if @code == 'ru' or @code == 'uk' then
- filename = "../../../tex/generic/hyph-utf8/patterns/tex-special/exhyph-#{@code}.tex"
- lines = IO.readlines(filename, '.').join("")
- @patterns.concat(lines.gsub(/%.*/,'').
- gsub(/.*\\patterns\s*\{(.*?)\}.*/m,'\1').
- gsub(/\s+/m,"\n").
- gsub(/^\s*/m,'').
- gsub(/\s*$/m,'').
- gsub(/'/,"’").
- split("\n"))
- end
if @code == 'eo' then
@patterns = lines.gsub(/%.*/,'').
@@ -100,32 +104,44 @@ class Language
# return @lc_characters
# end
- attr_reader :use_new_loader, :use_old_patterns, :use_old_patterns_comment, :filename_old_patterns, :code, :name, :synonyms, :hyphenmin, :encoding, :exceptions, :message
+ attr_reader :use_new_loader, :use_old_patterns, :use_old_patterns_comment, :filename_old_patterns
+ attr_reader :code, :name, :synonyms, :hyphenmin, :encoding, :exceptions, :message
+ attr_reader :description_s, :description_l
# this hack is needed for Serbian
attr_writer :code
end
authors = {
- "peter_heslin" => {
- "name" => "Peter",
- "surname" => "Heslin",
- "tried_to_contact" => false,
- },
- "dimitrios_filippou" => {
- "name" => "Dimitrios",
- "surname" => "Filippou",
- "email" => "dfilipp{at}hotmail{dot}com",
- "contact" => true,
- "cooperate" => true,
- },
- "claudio_beccari" => {
- "name" => "Claudio",
- "email" => "claudio{dot}beccari{at}polito{dot}it",
- }
-
+ "peter_heslin" => ["Peter", "Heslin", "", false, false],
+ "dimitrios_filippou" => ["Dimitrios", "Filippou", "dfilipp{at}hotmail{dot}com", true, true],
+ "claudio_beccari" => ["Claudio", "Beccari","claudio{dot}beccari{at}polito{dot}it", true, true],
+ "juan_aguirregabiria" => ["Juan M.", "Aguirregabiria", "juanmari{dot}aguirregabiria{at}ehu.es", true, true],
+ "igor_marinovic" => ["Igor", "Marinović", "marinowski{at}gmail.com", true, true],
+ "tilla_fick" => ["Tilla", "Fick", "fick{dot}tilla{at}gmail{dot}com", true, true],
+ "chris_swanepoel" => ["Chris", "Swanepoel", "cj{at}swanepoel{dot}net", true, true],
+ "matjaz_vrecko" => ["Matjaž", "Vrečko", "matjaz{at}mg-soft{dot}si", true, true],
+ "goncal_badenes" => ["Gonçal", "Badenes", "g{dot}badenes{at}ieee.org", false, false],
+ "pavel_sevecek" => ["Pavel", "Ševeček", "pavel{at}lingea{dot}cz", false, false],
+ "jana_chlebikova" => ["Jana", "Chlebíková", "chlebikj{at}dcs{dot}fmph{dot}uniba{dot}sk", false, false],
+ "yannis_haralambous" => ["Yannis", "Haralambous", "yannis{dot}haralambous{at}telecom-bretagne{dot}eu", true, false],
+ "frank_jensen" => ["Frank", "Jensen", "frank{dot}jensen{at}hugin{dot}com", true, true],
+ "sergei_pokrovsky" => ["Sergei B.", "Pokrovsky", "pok{at}iis{dot}nsk{dot}su", false, false], # not sure where B. belongs
+ "javier_bezos" => ["Javier", "Bezos", "jbezos{at}tex-tipografia{dot}com", true, true],
+ "een_saar" => ["Enn", "Saar", "saar{at}aai{dot}ee", false, false],
+ "dejan_muhamedagic" => ["Dejan", "Muhamedagić", "dejan{at}hello-penguin{dot}com", true, true],
+ "brian_wilson" => ["Brian", "Wilson", "bountonw{at}gmail{dot}com", true, true],
+ "arthur_reutenauer" => ["Arthur", "Reutenauer", "arthur{dot}reutenauer{at}normalesup{dot}org", true, true],
+ "mojca_miklavec" => ["Mojca", "Miklavec", "mojca{dot}miklavec{dot}lists{at}gmail{dot}com", true, true],
+ "santhosh_thottingal" => ["Santhosh", "Thottingal", "santhosh{dot}thottingal{at}gmail{dot}com>", true, true],
+ "yves_codet" => ["Yves", "Codet", "ycodet{at}club-internet{dot}fr", true, true],
+ "rune_kleveland" => ["Rune", "Kleveland", nil, false, false],
+ "ole_michael_selberg" => ["Ole Michael", "Selberg", nil, false, false],
+ "dorjgotov_batmunkh" => ["Dorjgotov", "Batmunkh", "bataak{at}gmail{dot}com", true, true],
+ "nazar_annagurban" => ["Nazar", "Annagurban", "nazartm{at}gmail{dot}com", false, false],
}
+
# "use_new_loader"
# => true - create a new file and use that one
# => false - use "filename_old_patterns" in language.dat
@@ -151,7 +167,7 @@ class Languages < Hash
# --------------------------------------
# languages with no hyphenation patterns
# --------------------------------------
-# arabic zerohyph.tex
+# arabic
{
"code" => "ar",
"name" => "arabic",
@@ -162,8 +178,14 @@ class Languages < Hash
"encoding" => nil,
"exceptions" => false,
"message" => nil,
+
+ # TODO
+ "description_s" => "(No) Arabic hyphenation patterns",
+ "description_l" => [
+ "Prevent hyphenation in Arabic.",
+ ],
},
-# farsi zerohyph.tex
+# farsi
# =persian
{
"code" => "fa",
@@ -175,6 +197,12 @@ class Languages < Hash
"encoding" => nil,
"exceptions" => false,
"message" => nil,
+
+ # TODO
+ "description_s" => "(No) Persian hyphenation patterns",
+ "description_l" => [
+ "Prevent hyphenation in Persian.",
+ ],
},
# -------------------------------
# special patterns, not converted
@@ -189,9 +217,9 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => nil,
"exceptions" => false,
- "message" => "Ancient Greek Hyphenation Patterns for Ibycus encoding (v3.0)",
+ "message" => "Ancient Greek hyphenation patterns for Ibycus encoding (v3.0)",
- "authors" => ["peter_heslin"],
+ # "authors" => ["peter_heslin"],
},
# ----------------------------
# languages using old patterns
@@ -211,10 +239,10 @@ class Languages < Hash
"hyphenmin" => [1,1], # polyglosia
"encoding" => nil,
"exceptions" => true,
-# "message" => "Polytonic Greek Hyphenation Patterns",
+# "message" => "Polytonic Greek hyphenation patterns",
"message" => "Hyphenation patterns for multi-accent (polytonic) Modern Greek",
- "authors" => ["dimitrios_filippou"],
+ # "authors" => ["dimitrios_filippou"],
},
# monogreek xu-grmhyph4.tex
{
@@ -227,12 +255,12 @@ class Languages < Hash
"hyphenmin" => [1,1], # polyglosia
"encoding" => nil,
"exceptions" => true,
-# "message" => "Monotonic Greek Hyphenation Patterns",
+# "message" => "Monotonic Greek hyphenation patterns",
"message" => "Hyphenation patterns for uni-accent (monotonic) Modern Greek",
- "authors" => ["dimitrios_filippou"],
+ # "authors" => ["dimitrios_filippou"],
},
-# ancientgreek xu-grahyph4.tex
+# ancientgreek
{
"code" => "grc",
"name" => "ancientgreek",
@@ -244,10 +272,20 @@ class Languages < Hash
"encoding" => nil,
"exceptions" => false,
"message" => "Hyphenation patterns for Ancient Greek",
-
- "authors" => ["dimitrios_filippou"],
-},
-# coptic xu-copthyph.tex
+
+ "version" => "5.0",
+ "last_modified" => "2008-05-27",
+ "type" => "rules",
+ "authors" => ["dimitrios_filippou"],
+ "licence" => "LPPL",
+ "description_s" => "Ancient Greek hyphenation patterns",
+ # TODO: please help me rewrite this
+ "description_l" => [
+ "Hyphenation patterns for Ancient Greek language in UTF-8 encoding",
+ "as well as in ASCII-based LGR encoding of babel for 8-bit engines.",
+ ],
+},
+# coptic
{
"code" => "cop",
"name" => "coptic",
@@ -258,9 +296,20 @@ class Languages < Hash
"hyphenmin" => [1,1], # polyglosia TODO: no documentation found
"encoding" => nil,
"exceptions" => false,
- "message" => "Coptic Hyphenation Patterns",
-
- "authors" => ["claudio_beccari"],
+ "message" => "Coptic hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "2004-10-03",
+ "type" => "rules",
+ "authors" => [ "claudio_beccari" ],
+ "licence" => "LPPL", # TODO: check; catalogue says so
+ "description_s" => "Coptic hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Coptic language in UTF-8 encoding",
+ "as well as in ASCII-based encoding for 8-bit engines.",
+ "The latter can only be used with special Coptic fonts (like CBcoptic).",
+ "The patterns are considered experimental.",
+ ],
},
# german xu-dehypht.tex
{
@@ -273,7 +322,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "German Hyphenation Patterns (Traditional Orthography)",
+ "message" => "German hyphenation patterns (traditional orthography)",
},
# ngerman xu-dehyphn.tex
{
@@ -286,7 +335,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "German Hyphenation Patterns (Reformed Orthography)",
+ "message" => "German hyphenation patterns (reformed orthography)",
},
# swissgerman
{
@@ -297,7 +346,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Swiss-German Hyphenation Patterns (Traditional Orthography)",
+ "message" => "Swiss-German hyphenation patterns (traditional orthography)",
},
# russian xu-ruhyphen.tex
{
@@ -310,7 +359,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "t2a",
"exceptions" => false,
- "message" => "Russian Hyphenation Patterns",
+ "message" => "Russian hyphenation patterns",
},
# ukrainian xu-ukrhyph.tex
{
@@ -323,7 +372,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "t2a",
"exceptions" => false,
- "message" => "Ukrainian Hyphenation Patterns",
+ "message" => "Ukrainian hyphenation patterns",
},
# ----------------------------
# languages using new patterns
@@ -338,9 +387,23 @@ class Languages < Hash
"hyphenmin" => [1,2], # in babel: 2,2
"encoding" => "ec",
"exceptions" => true,
- "message" => "Afrikaans Hyphenation Patterns",
-},
-# catalan cahyph.tex
+ "message" => "Afrikaans hyphenation patterns",
+
+ "version" => "0.9",
+ "last_modified" => "2010-10-18",
+ "type" => "dictionary",
+ "authors" => [ "tilla_fick", "chris_swanepoel" ],
+ "email" => [ "hyphen{at}rekenaar{dot}net" ],
+ "licence" => "LPPL",
+ "description_s" => "Afrikaans hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Afrikaans language in T1/EC and UTF-8 encoding.",
+ "(OpenOffice includes older patterns created by a different author,",
+ "but the patterns packaged with TeX are considered superior in quality.)",
+ "Word list used to generate patterns with opatgen might be released in future.",
+ ],
+},
+# catalan
{
"code" => "ca",
"name" => "catalan",
@@ -350,9 +413,19 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => true,
- "message" => "Catalan Hyphenation Patterns",
-},
-# czech xu-czhyph.tex
+ "message" => "Catalan hyphenation patterns",
+
+ "version" => "1.11",
+ "last_modified" => "2003-07-15",
+ "type" => "rules", # not only rules, also patgen, but it is a good approximation
+ "authors" => [ "goncal_badenes" ],
+ "licence" => "LPPL",
+ "description_s" => "Catalan hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Catalan language in T1/EC and UTF-8 encoding.",
+ ],
+},
+# czech
{
"code" => "cs",
"name" => "czech",
@@ -367,9 +440,26 @@ class Languages < Hash
"hyphenmin" => [2,3],
"encoding" => "ec",
"exceptions" => true,
- "message" => "Czech Hyphenation Patterns (Pavel Sevecek, v3, 1995)",
-},
-# slovak xu-skhyph.tex
+ "message" => "Czech hyphenation patterns (Pavel Sevecek, v3, 1995)",
+
+ "version" => "3",
+ # guessing based on CTAN/macros/cstex/base/csplain.tar.gz:
+ # 1998-12-17 (patterns)
+ # 1995-08-23 (exceptions)
+ # but patterns claim 1995
+ "last_modified" => "1995", # todo: no date
+ "type" => "dictionary",
+ "authors" => [ "pavel_sevecek" ],
+ "licence" => "GPL",
+ "description_s" => "Czech hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Czech language in T1/EC and UTF-8 encoding.",
+ "Original patterns 'czhyphen' are still distributed in 'csplain' package",
+ "and loaded with ISO Latin 2 encoding (IL2).",
+ # however hyph-utf8 could also be used for that
+ ],
+},
+# slovak
{
"code" => "sk",
"name" => "slovak",
@@ -381,9 +471,22 @@ class Languages < Hash
"hyphenmin" => [2,3],
"encoding" => "ec",
"exceptions" => true,
- "message" => "Slovak Hyphenation Patterns (Jana Chlebikova, 1992)",
-},
-# welsh cyhyph.tex
+ "message" => "Slovak hyphenation patterns (Jana Chlebikova, 1992)",
+
+ "version" => "2",
+ "last_modified" => "1992-04-24",
+ "type" => "dictionary",
+ "authors" => [ "jana_chlebikova" ],
+ "licence" => "GPL",
+ "description_s" => "Slovak hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Slovak language in T1/EC and UTF-8 encoding.",
+ "Original patterns 'skhyphen' are still distributed in 'csplain' package",
+ "and loaded with ISO Latin 2 encoding (IL2).",
+ # however hyph-utf8 could also be used for that
+ ],
+},
+# welsh
{
"code" => "cy",
"name" => "welsh",
@@ -393,9 +496,19 @@ class Languages < Hash
"hyphenmin" => [2,3],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Welsh Hyphenation Patterns",
-},
-# danish dkhyph.tex
+ "message" => "Welsh hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "1996",
+ "type" => "dictionary",
+ "authors" => [ "yannis_haralambous" ],
+ "licence" => "LPPL",
+ "description_s" => "Welsh hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Welsh language in T1/EC and UTF-8 encoding.",
+ ],
+},
+# danish
{
"code" => "da",
"name" => "danish",
@@ -406,10 +519,19 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Danish Hyphenation Patterns",
-},
-# esperanto xu-eohyph.tex
-# TODO
+ "message" => "Danish hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "2011-01-11",
+ "type" => "dictionary",
+ "authors" => [ "frank_jensen" ],
+ "licence" => "LPPL",
+ "description_s" => "Danish hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Danish language in T1/EC and UTF-8 encoding.",
+ ],
+},
+# esperanto
{
"code" => "eo",
"name" => "esperanto",
@@ -419,9 +541,22 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "il3", # TODO
"exceptions" => false,
- "message" => "Esperanto Hyphenation Patterns",
-},
-# spanish xu-eshyph.tex
+ "message" => "Esperanto hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "1999-08-10",
+ "type" => "rules",
+ "authors" => [ "sergei_pokrovsky" ],
+ "licence" => "LPPL",
+ "description_s" => "Esperanto hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Esperanto language in UTF-8 and ISO Latin 3 (IL3) encoding.",
+ "Note that TeX distributions usually don't ship any suitable fonts in that encoding,",
+ "so unless you create your own font support or want to use MlTeX,",
+ "using native UTF-8 engines is highly recommended.",
+ ],
+},
+# spanish
# =espanol
{
"code" => "es",
@@ -432,9 +567,19 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Spanish Hyphenation Patterns",
-},
-# basque xu-bahyph.tex
+ "message" => "Spanish hyphenation patterns",
+
+ "version" => "4.6",
+ "last_modified" => "2010-05-18",
+ "type" => "dictionary",
+ "authors" => [ "javier_bezos" ],
+ "licence" => "LPPL",
+ "description_s" => "Spanish hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Spanish language in T1/EC and UTF-8 encoding.",
+ ],
+},
+# basque
{
"code" => "eu",
"name" => "basque",
@@ -444,7 +589,18 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Basque Hyphenation Patterns",
+ "message" => "Basque hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "2008-06-26",
+ "type" => "rules",
+ "authors" => [ "juan_aguirregabiria" ],
+ "licence" => "other-free", # "public-check",
+ "description_s" => "Basque hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Basque language in T1/EC and UTF-8 encoding.",
+ "Generating scripts for these rule-based patterns is included in hyph-utf8."
+ ],
},
# french xu-frhyph.tex
# =patois
@@ -470,9 +626,9 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Galician Hyphenation Patterns",
+ "message" => "Galician hyphenation patterns",
},
-# estonian xu-ethyph.tex
+# estonian
{
"code" => "et",
"name" => "estonian",
@@ -482,7 +638,17 @@ class Languages < Hash
"hyphenmin" => [2,3], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Estonian Hyphenation Patterns",
+ "message" => "Estonian hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "2004-04-13",
+ "type" => "dictionary",
+ "authors" => [ "een_saar" ],
+ "licence" => "LPPL",
+ "description_s" => "Estonian hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Estonian language in T1/EC and UTF-8 encoding.",
+ ],
},
# finnish fihyph.tex
{
@@ -494,9 +660,9 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Finnish Hyphenation Patterns",
+ "message" => "Finnish hyphenation patterns",
},
-# croatian xu-hrhyph.tex
+# croatian
{
"code" => "hr",
"name" => "croatian",
@@ -506,7 +672,17 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Croatian Hyphenation Patterns",
+ "message" => "Croatian hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "1996-03-19",
+ "type" => "dictionary",
+ "authors" => [ "igor_marinovic" ],
+ "licence" => "LPPL",
+ "description_s" => "Croatian hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Croatian language in T1/EC and UTF-8 encoding.",
+ ],
},
# hungarian xu-huhyphn.tex
{
@@ -518,7 +694,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # polyglosia
"encoding" => "ec",
"exceptions" => false,
- "message" => "Hungarian Hyphenation Patterns (v20031107)",
+ "message" => "Hungarian hyphenation patterns (v20031107)",
},
# armenian
# Sahak Petrosyan <sahak at mit dot edu>
@@ -531,7 +707,7 @@ class Languages < Hash
"hyphenmin" => [1,2], # taken from Hyphenator.js; check the value
"encoding" => nil,
"exceptions" => false,
- "message" => "Armenian Hyphenation Patterns",
+ "message" => "Armenian hyphenation patterns",
},
# interlingua iahyphen.tex
{
@@ -543,7 +719,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ascii",
"exceptions" => true,
- "message" => "Hyphenation Patterns for Interlingua",
+ "message" => "Hyphenation patterns for Interlingua",
},
# indonesian inhyph.tex
{
@@ -555,7 +731,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ascii",
"exceptions" => true,
- "message" => "Indonesian Hyphenation Patterns",
+ "message" => "Indonesian hyphenation patterns",
},
# icelandic icehyph.tex
{
@@ -567,7 +743,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Icelandic Hyphenation Patterns",
+ "message" => "Icelandic hyphenation patterns",
},
# irish gahyph.tex
{
@@ -579,7 +755,7 @@ class Languages < Hash
"hyphenmin" => [2,3], # babel
"encoding" => "ec",
"exceptions" => true,
- "message" => "Irish Hyphenation Patterns",
+ "message" => "Irish hyphenation patterns",
},
# italian ithyph.tex
{
@@ -591,7 +767,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ascii",
"exceptions" => false,
- "message" => "Italian Hyphenation Patterns",
+ "message" => "Italian hyphenation patterns",
},
# kurmanji
{
@@ -603,9 +779,9 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Kurmanji Hyphenation Patterns (v. 1.0 2009/06/29 JKn and MSh)",
+ "message" => "Kurmanji hyphenation patterns (v. 1.0 2009/06/29 JKn and MSh)",
},
-# latin xu-lahyph.tex
+# latin
{
"code" => "la",
"name" => "latin",
@@ -616,7 +792,22 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Latin Hyphenation Patterns",
+ "message" => "Latin hyphenation patterns",
+
+ "version" => "3.2",
+ "last_modified" => "2010-06-01",
+ "type" => "dictionary",
+ "authors" => [ "claudio_beccari" ],
+ "licence" => "LPPL",
+ "description_s" => "Latin hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Latin language in T1/EC and UTF-8 encoding,",
+ "mainly in modern spelling (u when u is needed and v when v is needed),",
+ "medieval spelling with the ligatures \\ae and \\oe and the (uncial)",
+ "lowercase 'v' written as a 'u' is also supported. Apparently",
+ "there is no conflict between the patterns of modern Latin and",
+ "those of medieval Latin.",
+ ],
},
# lithuanian
{
@@ -627,7 +818,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "l7x",
"exceptions" => false,
- "message" => "Lithuanian Hyphenation Patterns",
+ "message" => "Lithuanian hyphenation patterns",
},
# latvian
{
@@ -638,7 +829,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "l7x",
"exceptions" => false,
- "message" => "Latvian Hyphenation Patterns",
+ "message" => "Latvian hyphenation patterns",
},
# dutch nehyph96.tex
{
@@ -652,12 +843,8 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => true,
- "message" => "Dutch Hyphenation Patterns",
+ "message" => "Dutch hyphenation patterns",
},
-# norsk xu-nohyphbx.tex
-# =norwegian
-# nynorsk nnhyph.tex
-# bokmal nbhyph.tex
# polish xu-plhyph.tex
{
"code" => "pl",
@@ -669,7 +856,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "qx",
"exceptions" => true,
- "message" => "Polish Hyphenation Patterns",
+ "message" => "Polish hyphenation patterns",
},
# portuguese pthyph.tex
# =portuges
@@ -682,7 +869,7 @@ class Languages < Hash
"hyphenmin" => [2,3], # babel
"encoding" => "ec",
"exceptions" => true,
- "message" => "Portuguese Hyphenation Patterns",
+ "message" => "Portuguese hyphenation patterns",
},
# pinyin xu-pyhyph.tex
{
@@ -706,9 +893,9 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Romanian Hyphenation Patterns", # : `rohyphen' 1.1 <29.10.1996>
+ "message" => "Romanian hyphenation patterns", # : `rohyphen' 1.1 <29.10.1996>
},
-# slovenian xu-sihyph.tex
+# slovenian
# =slovene
{
"code" => "sl",
@@ -719,7 +906,17 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Slovenian Hyphenation Patterns",
+ "message" => "Slovenian hyphenation patterns",
+
+ "version" => "2.3",
+ "last_modified" => "1997-15-04",
+ "type" => "dictionary",
+ "authors" => [ "matjaz_vrecko" ],
+ "licence" => "LPPL",
+ "description_s" => "Slovenian hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Slovenian language in T1/EC and UTF-8 encoding.",
+ ],
},
# uppersorbian xu-sorhyph.tex
{
@@ -731,7 +928,7 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => true,
- "message" => "Upper Sorbian Hyphenation Patterns (E. Werner)",
+ "message" => "Upper Sorbian hyphenation patterns (E. Werner)",
# \message{Hyphenation patterns for Upper Sorbian, E. Werner}
# \message{Completely new revision 1997, March 22}
},
@@ -757,9 +954,19 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "ec",
"exceptions" => false,
- "message" => "Turkmen Hyphenation Patterns",
-},
-# turkish xu-tkhyph.tex
+ "message" => "Turkmen hyphenation patterns",
+
+ "version" => "0.1",
+ "last_modified" => "2010-03-16",
+ "type" => "rules",
+ "authors" => [ "nazar_annagurban" ],
+ "licence" => "public",
+ "description_s" => "Turkmen hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Turkmen language in T1/EC and UTF-8 encoding.",
+ ],
+},
+# turkish
{
"code" => "tr",
"name" => "turkish",
@@ -769,10 +976,9 @@ class Languages < Hash
"hyphenmin" => [2,2], # polyglosia
"encoding" => "ec",
"exceptions" => false,
- "message" => "Turkish Hyphenation Patterns",
+ "message" => "Turkish hyphenation patterns",
},
# ukenglish ukhyphen.tex
-# TODO - should we rename it or not?
{
"code" => "en-gb",
"name" => "ukenglish", "synonyms" => ["british", "UKenglish"],
@@ -782,7 +988,7 @@ class Languages < Hash
"hyphenmin" => [2,3], # confirmed, same as what Knuth says
"encoding" => "ascii",
"exceptions" => true,
- "message" => "Hyphenation Patterns for British English",
+ "message" => "Hyphenation patterns for British English",
},
# US english
{
@@ -794,7 +1000,7 @@ class Languages < Hash
"hyphenmin" => [2,3], # confirmed, same as what Knuth says
"encoding" => "ascii",
"exceptions" => true,
- "message" => "Hyphenation Patterns for American English",
+ "message" => "Hyphenation patterns for American English",
},
# US english
# {
@@ -806,10 +1012,10 @@ class Languages < Hash
# "hyphenmin" => [2,3], # confirmed, same as what Knuth says
# "encoding" => "ascii",
# "exceptions" => true,
-# "message" => "Hyphenation Patterns for American English",
+# "message" => "Hyphenation patterns for American English",
# },
# TODO: FIXME!!!
-# serbian xu-srhyphc.tex
+# serbian
{
"code" => "sh-latn",
"name" => "serbian",
@@ -824,14 +1030,30 @@ class Languages < Hash
"encoding" => "ec",
"exceptions" => true,
"message" => "Serbian hyphenation patterns in Latin script",
+
+ # only for serbian
+ "version" => "2.02",
+ "last_modified" => "2008-06-22",
+ "type" => "dictionary",
+ "authors" => [ "dejan_muhamedagic" ],
+ "licence" => "LPPL",
+ # for both scripts
+ "description_s" => "Serbian hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Serbian language in UTF-8 and 8-bit variant.",
+ "For 8-bit TeX the patterns are available separately as 'serbian' in",
+ "T1/EC encoding for Latin script and 'serbianc' in T2A encoding for",
+ "Cyrillic script. UTF-8 engines should only use 'serbian'",
+ "which has patterns in both scripts combined.",
+ ],
},
# serbianc
{
- "code" => "sr-cyrl",
+ "code" => "sh-cyrl",
"name" => "serbianc",
"use_new_loader" => true,
"use_old_patterns" => false,
- "filename_old_patterns" => "srhyphc.tex",
+ # "filename_old_patterns" => "srhyphc.tex",
"hyphenmin" => [2,2],
"encoding" => "t2a",
"exceptions" => true,
@@ -847,7 +1069,21 @@ class Languages < Hash
"hyphenmin" => [2,2],
"encoding" => "t2a",
"exceptions" => false,
- "message" => "(New) Mongolian Hyphenation Patterns",
+ "message" => "(New) Mongolian hyphenation patterns",
+
+ # only for this one
+ "version" => "1.2",
+ "last_modified" => "2010-04-03",
+ "type" => "dictionary",
+ "authors" => [ "dorjgotov_batmunkh" ],
+ "licence" => "LPPL",
+ # for both
+ "description_s" => "Mongolian hyphenation patterns in Cyrillic script",
+ "description_l" => [
+ "Hyphenation patterns for Mongolian language in T2A, LMC and UTF-8 encoding.",
+ "LMC encoding is used in MonTeX. The package includes two sets of patterns",
+ "that will hopefully be merged in future.",
+ ],
},
# mongolianlmc xu-mnhyph.tex (used to be mongolian)
{
@@ -871,7 +1107,17 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "t2a",
"exceptions" => false,
- "message" => "Bulgarian Hyphenation Patterns",
+ "message" => "Bulgarian hyphenation patterns",
+
+ "version" => "1.7",
+ "last_modified" => "2008-06",
+ "type" => "pattern",
+ "authors" => [ "" ],
+ "licence" => "LPPL",
+ "description_s" => "Bulgarian hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Bulgarian language in T2A and UTF-8 encoding.",
+ ],
},
# sanskrit
{
@@ -882,9 +1128,21 @@ class Languages < Hash
"hyphenmin" => [1,5], # polyglosia
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Sanskrit Hyphenation Patterns (v0.2, 2008/1/3)",
-},
-# norwegian nohyph.tex
+ "message" => "Sanskrit hyphenation patterns (v0.4, 2010/02/26)",
+
+ "version" => "0.4",
+ "last_modified" => "2010-02-26",
+ "type" => "rules",
+ "authors" => ["yves_codet"],
+ "licence" => nil,
+ "description_s" => "Sanskrit hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Sanskrit and Prakrit in transliteration,",
+ "and in Devanagari, Bengali, Kannada, Malayalam and Telugu scripts",
+ "for Unicode engines.",
+ ],
+},
+# norwegian
{
"code" => "no",
"name" => "norwegian", # TODO: fixme
@@ -893,9 +1151,9 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => false,
- "message" => "Norwegian Hyphenation Patterns",
+ "message" => "Norwegian hyphenation patterns",
},
-# norsk xu-nohyphbx.tex
+# norsk
{
"code" => "nb",
"name" => "bokmal", "synonyms" => ["norwegian", "norsk"],
@@ -904,9 +1162,19 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => true,
- "message" => "Norwegian Bokmal Hyphenation Patterns",
-},
-# nynorsk nnhyph.tex
+ "message" => "Norwegian Bokmal hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "2007-02-07",
+ "type" => "dictionary",
+ "authors" => [ "rune_kleveland", "ole_michael_selberg" ],
+ "licence" => "free", # TODO
+ "description_s" => "Norwegian Bokmal and Nynorsk hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Norwegian Bokmal and Nynorsk in T1/EC and UTF-8 encoding.",
+ ],
+},
+# nynorsk
{
"code" => "nn",
"name" => "nynorsk",
@@ -915,7 +1183,7 @@ class Languages < Hash
"hyphenmin" => [2,2], # babel
"encoding" => "ec",
"exceptions" => true,
- "message" => "Norwegian Nynorsk Hyphenation Patterns",
+ "message" => "Norwegian Nynorsk hyphenation patterns",
},
#####
# assamese
@@ -927,7 +1195,20 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Assameze Hyphenation Patterns",
+ "message" => "Assameze hyphenation patterns",
+
+ # this is true for all Indic patterns
+ "version" => "0.5.3",
+ "last_modified" => "2010-05-01",
+ "type" => "rules",
+ "authors" => ["santhosh_thottingal"],
+ "licence" => "LGPL",
+ "description_s" => "Indic hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Assameze, Bengali, Gujarati, Hindi,",
+ "Kannada, Malayalam, Marathi, Oriya, Panjabi, Tamil and Telugu",
+ "for Unicode engines.",
+ ],
},
# bengali
{
@@ -938,7 +1219,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Bengali Hyphenation Patterns",
+ "message" => "Bengali hyphenation patterns",
},
# gujarati
{
@@ -949,7 +1230,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Gujarati Hyphenation Patterns",
+ "message" => "Gujarati hyphenation patterns",
},
# hindi
{
@@ -960,7 +1241,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Hindi Hyphenation Patterns",
+ "message" => "Hindi hyphenation patterns",
},
# kannada
{
@@ -971,7 +1252,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Kannada Hyphenation Patterns",
+ "message" => "Kannada hyphenation patterns",
},
# malayalam
{
@@ -982,7 +1263,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Malayalam Hyphenation Patterns",
+ "message" => "Malayalam hyphenation patterns",
},
# marathi
{
@@ -993,7 +1274,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Marathi Hyphenation Patterns",
+ "message" => "Marathi hyphenation patterns",
},
# oriya
{
@@ -1004,7 +1285,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Oriya Hyphenation Patterns",
+ "message" => "Oriya hyphenation patterns",
},
# panjabi
{
@@ -1015,7 +1296,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Panjabi Hyphenation Patterns",
+ "message" => "Panjabi hyphenation patterns",
},
# tamil
{
@@ -1026,7 +1307,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Tamil Hyphenation Patterns",
+ "message" => "Tamil hyphenation patterns",
},
# telugu
{
@@ -1037,7 +1318,7 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Telugu Hyphenation Patterns",
+ "message" => "Telugu hyphenation patterns",
},
# lao
{
@@ -1048,7 +1329,19 @@ class Languages < Hash
"hyphenmin" => [1,1], # TODO
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Lao Hyphenation Patterns",
+ "message" => "Lao hyphenation patterns",
+
+ "version" => nil,
+ "last_modified" => "2010-05-19",
+ "type" => "rules",
+ "authors" => [ "brian_wilson", "arthur_reutenauer", "mojca_miklavec" ],
+ "licence" => nil, # TODO
+ "description_s" => "Lao hyphenation patterns",
+ "description_l" => [
+ "Hyphenation patterns for Lao language for Unicode engines.",
+ "Current version is experimental and gives bad results.",
+ "Please wait for a new version.",
+ ],
},
# pan-Ethiopic
{
@@ -1059,7 +1352,7 @@ class Languages < Hash
"hyphenmin" => [1,1],
"encoding" => nil, # no patterns for 8-bit TeX
"exceptions" => false,
- "message" => "Pan-Ethiopic Hyphenation Patterns",
+ "message" => "Pan-Ethiopic hyphenation patterns",
},
# dumylang -> dumyhyph.tex
# nohyphenation -> zerohyph.tex