diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-04-12 00:10:55 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-04-12 00:10:55 +0000 |
commit | 28c62a515c3c21a1f882511e40f50dd3a19aeb1b (patch) | |
tree | 307da2ea05a933c94be1768a40bdbc51967a17d1 /Master/texmf-dist/source/generic | |
parent | d18b6c4ffeb555ef87243f22f527c0a6426be4e5 (diff) |
hyph-utf8 (10apr12)
- added romansh and friulan patterns
git-svn-id: svn://tug.org/texlive/trunk@25925 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
4 files changed, 83 insertions, 32 deletions
diff --git a/Master/texmf-dist/source/generic/hyph-utf8/generate-pattern-loaders.rb b/Master/texmf-dist/source/generic/hyph-utf8/generate-pattern-loaders.rb index 590a989cf43..89950eff64f 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/generate-pattern-loaders.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/generate-pattern-loaders.rb @@ -82,7 +82,7 @@ text_patterns_quote = " \\input hyph-quote-#{language.code}.tex" ########### lccodes_common = [] -if language.code == 'af' or language.code == 'it' or language.code == 'fr' or language.code == 'uk' or language.code == 'zh-latn-pinyin' then +if language.code == 'af' or language.code == 'it' or language.code == 'rm' or language.code == 'fur' or language.code == 'fr' or language.code == 'uk' or language.code == 'zh-latn-pinyin' then lccodes_common.push("\\lccode`\\'=`\\'") end if language.code == 'af' or language.code == 'pt' or language.code == 'tk' or language.code == 'ru' or language.code == 'uk' then @@ -150,7 +150,7 @@ end ####################### # GROUP nr. 2 - ASCII # ####################### - elsif language.code == "it" then + elsif language.code == 'it' or language.code == 'rm' then file.puts(text_if_native_utf) file.puts(text_engine_utf8) file.puts(text_patterns) @@ -163,7 +163,7 @@ end file.puts(text_patterns) file.puts('\fi') # for ASCII encoding, we don't load any special support files, but simply load everything - elsif language.encoding == "ascii" then + elsif language.encoding == 'ascii' then file.puts(text_engine_ascii) #################################### # GROUP nr. 3 - different patterns # @@ -206,7 +206,7 @@ end file.puts(text_if_native_utf) file.puts(text_engine_utf8) file.puts(text_patterns_utf8) - if language.code == 'af' or language.code == 'it' or language.code == 'fr' or language.code == 'uk' or language.code == 'zh-latn-pinyin' then + if language.code == 'af' or language.code == 'fr' or language.code == 'fur' or language.code == 'uk' or language.code == 'zh-latn-pinyin' then file.puts(text_patterns_quote) end file.puts('\else') diff --git a/Master/texmf-dist/source/generic/hyph-utf8/generate-tl-files.rb b/Master/texmf-dist/source/generic/hyph-utf8/generate-tl-files.rb index a6096297022..632678a4dc2 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/generate-tl-files.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/generate-tl-files.rb @@ -97,9 +97,9 @@ language_groups.sort.each do |language_name,language_list| if language.description_s != nil then $file_tlpsrc.puts "shortdesc #{language.description_s}." $file_tlpsrc.puts "longdesc #{language.description_l.join("\nlongdesc ")}" - if language.version != nil then - $file_tlpsrc.puts "catalogue-version #{language.version}" - end + # if language.version != nil then + # $file_tlpsrc.puts "catalogue-version #{language.version}" + # end end name = "name=#{language.name}" diff --git a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb index 417eda6aba4..0af61dc733e 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb @@ -1080,6 +1080,57 @@ class Languages < Hash # "(Ente Nazionale di Unificazione UNI).", ], }, +# romansh +{ + "code" => "rm", + "name" => "romansh", + "use_new_loader" => true, + "use_old_patterns" => false, + "filename_old_patterns" => nil, + "hyphenmin" => [2,2], # todo + "encoding" => "ascii", + "exceptions" => false, + "message" => "Romansh hyphenation patterns", + + "version" => "1.1", + "last_modified" => "2012-04-10", + "type" => "rules", + "authors" => ["claudio_beccari"], + "licence" => "LPPL", # Status: maintained! + "description_s" => "Romansh hyphenation patterns", + "description_l" => [ + #......................................................................# + "Hyphenation patterns for Romansh in ASCII encoding.", + "They are supposed to comply with the rules indicated by the Lia", + "Rumantscha (Romansh language society).", + ], +}, +# friulan +{ + "code" => "fur", + "name" => "friulan", "synonyms" => ["furlan"], + "use_new_loader" => true, + "use_old_patterns" => false, + "filename_old_patterns" => nil, + "hyphenmin" => [2,2], + "encoding" => "ec", + "exceptions" => false, + "message" => "Friulan hyphenation patterns", + + "version" => "1.1", + "last_modified" => "2012-04-10", + "type" => "rules", + "authors" => ["claudio_beccari"], + "licence" => "LPPL", # Status: maintained! + "description_s" => "Friulan hyphenation patterns", + "description_l" => [ + #......................................................................# + "Hyphenation patterns for Friulan in ASCII encoding.", + "They are supposed to comply with the common spelling of the", + "Friulan (Furlan) language as fixed by the Regional Law N.15/96", + "dated November 6, 1996 and its following amendments.", + ], +}, # kurmanji { "code" => "kmr", diff --git a/Master/texmf-dist/source/generic/hyph-utf8/languages/gl/README b/Master/texmf-dist/source/generic/hyph-utf8/languages/gl/README index 6154587b019..95e00612c7b 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/languages/gl/README +++ b/Master/texmf-dist/source/generic/hyph-utf8/languages/gl/README @@ -1,25 +1,25 @@ -This directory contains seven files + README, licensed all but one under lppl 1.3: - -glpatter-utf8.tex: - The source file, version 2.4. When processed under the program - mkpatter ---by typing 'tex -ini -8bit glpatter-utf8.tex' (without the quotes) - at the command line, provided you have the utility - mkpattern installed--- it generates the file hyph-utf8-gl.tex. - -(hyph-gl.tex): - The generated file containing the patterns in UTF-8 (belongs to TEXMF/tex). - - -glhyextr.tex: ##This file is in the public domain## - A configuration file, to include additional patterns other - than the ones in glpatter-utf8.tex. It is not \input by glpatter-utf8.tex - (iin contrast with the single-byte encoded version glpatter.tex) - as modern tools allow the addition of patterns at run time. - -glhybiox.tex, glhymed.tex, glhyquim.tex, glhytec.tex & glhyxeog.tex: - Files with aditional patterns drawn from serveral fields of - the language, so that you may input them from glhyextr.tex. - -The files for specific patterns are very incomplete and feedback is welcome. - ---Javier A. Múgica +This directory contains seven files + README, licensed all but one under lppl 1.3:
+
+glpatter-utf8.tex:
+ The source file, version 2.4. When processed under the program
+ mkpatter ---by typing 'tex -ini -8bit glpatter-utf8.tex' (without the quotes)
+ at the command line, provided you have the utility
+ mkpattern installed--- it generates the file hyph-utf8-gl.tex.
+
+(hyph-gl.tex):
+ The generated file containing the patterns in UTF-8 (belongs to TEXMF/tex).
+
+
+glhyextr.tex: ##This file is in the public domain##
+ A configuration file, to include additional patterns other
+ than the ones in glpatter-utf8.tex. It is not \input by glpatter-utf8.tex
+ (iin contrast with the single-byte encoded version glpatter.tex)
+ as modern tools allow the addition of patterns at run time.
+
+glhybiox.tex, glhymed.tex, glhyquim.tex, glhytec.tex & glhyxeog.tex:
+ Files with aditional patterns drawn from serveral fields of
+ the language, so that you may input them from glhyextr.tex.
+
+The files for specific patterns are very incomplete and feedback is welcome.
+
+--Javier A. Múgica
|