diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-06-11 14:32:48 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-06-11 14:32:48 +0000 |
commit | e8cab3c0119d0c589d7e222c102256d7c869f552 (patch) | |
tree | dcce4becdc8dcf1c0a1b6b7ab101469c47c1ae6a /Master/texmf-dist/source/generic | |
parent | d3e5e9d190cb03a4d72c91c774ab81b77b1391a3 (diff) |
hyph-utf8 update
git-svn-id: svn://tug.org/texlive/trunk@18895 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
4 files changed, 49 insertions, 49 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 872912f94b3..f140ee1033e 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 @@ -56,7 +56,7 @@ languages.each do |language| # but probably this needs to reside outside of \begingroup/endgroup file.puts('\begingroup') - if language.code == 'it' or language.code == 'fr' or language.code == 'uk' or language.code == 'la' or language.code == 'zh-latn' then + if language.code == 'it' or language.code == 'fr' or language.code == 'uk' or language.code == 'zh-latn' then file.puts("\\lccode`\\'=`\\'") end if language.code == 'pt' or language.code == 'tk' then diff --git a/Master/texmf-dist/source/generic/hyph-utf8/generate-plain-patterns.rb b/Master/texmf-dist/source/generic/hyph-utf8/generate-plain-patterns.rb index 3e01322cfde..8627427ad90 100755 --- a/Master/texmf-dist/source/generic/hyph-utf8/generate-plain-patterns.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/generate-plain-patterns.rb @@ -41,8 +41,8 @@ language_codes['sh-latn'] = 'sr-latn' language_codes['sh-cyrl'] = nil # language_codes['sr-cyrl'] = 'sr-Cyrl' -$file_language_dat_lua = File.open("#{$path_language_dat_lua}/language.dat.lua", "w") -$file_language_dat_lua.puts "return {\n" +# $file_language_dat_lua = File.open("#{$path_language_dat_lua}/language.dat.lua", "w") +# $file_language_dat_lua.puts "return {\n" languages.sort{|x,y| x.code <=> y.code }.each do |language| if language.use_new_loader or language.code == 'en-us' then @@ -100,27 +100,27 @@ languages.sort{|x,y| x.code <=> y.code }.each do |language| $file_let.close $file_inf.close - $file_language_dat_lua.puts "\t[\"#{language.name}\"]={" - $file_language_dat_lua.puts "\t\tloader=\"loadhyph-#{language.code}.tex\"," - $file_language_dat_lua.puts "\t\tcode=\"#{code}\"," - if language.hyphenmin == nil or language.hyphenmin.length == 0 then - lmin = '' - rmin = '' - else - lmin = language.hyphenmin[0] - rmin = language.hyphenmin[1] - end - $file_language_dat_lua.puts "\t\tlefthyphenmin=#{lmin}," - $file_language_dat_lua.puts "\t\trighthyphenmin=#{rmin}," - if language.synonyms.length > 0 - $file_language_dat_lua.puts "\t\tsynonyms={\"#{language.synonyms.join('","')}\"}," - else - $file_language_dat_lua.puts "\t\tsynonyms={}," - end - $file_language_dat_lua.puts "\t},\n" + # $file_language_dat_lua.puts "\t[\"#{language.name}\"]={" + # $file_language_dat_lua.puts "\t\tloader=\"loadhyph-#{language.code}.tex\"," + # $file_language_dat_lua.puts "\t\tcode=\"#{code}\"," + # if language.hyphenmin == nil or language.hyphenmin.length == 0 then + # lmin = '' + # rmin = '' + # else + # lmin = language.hyphenmin[0] + # rmin = language.hyphenmin[1] + # end + # $file_language_dat_lua.puts "\t\tlefthyphenmin=#{lmin}," + # $file_language_dat_lua.puts "\t\trighthyphenmin=#{rmin}," + # if language.synonyms.length > 0 + # $file_language_dat_lua.puts "\t\tsynonyms={\"#{language.synonyms.join('","')}\"}," + # else + # $file_language_dat_lua.puts "\t\tsynonyms={}," + # end + # $file_language_dat_lua.puts "\t},\n" end end -$file_language_dat_lua.puts "}\n" +# $file_language_dat_lua.puts "}\n" -$file_language_dat_lua.close +# $file_language_dat_lua.close diff --git a/Master/texmf-dist/source/generic/hyph-utf8/generate-ptex-patterns.rb b/Master/texmf-dist/source/generic/hyph-utf8/generate-ptex-patterns.rb index 08a77340d8b..53cfb23b08e 100755 --- a/Master/texmf-dist/source/generic/hyph-utf8/generate-ptex-patterns.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/generate-ptex-patterns.rb @@ -30,7 +30,7 @@ language_codes = Hash.new languages.each do |language| language_codes[language.code] = language.code end -language_codes['mn-cyrl-x-lmc'] = nil +# language_codes['mn-cyrl-x-lmc'] = nil # language_codes['sh-latn'] = 'sr-latn' language_codes['sh-cyrl'] = nil 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 95e00612c7b..6154587b019 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 |