diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-19 23:53:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-19 23:53:14 +0000 |
commit | 6ddf7db0391b806be8c424b763c6b6aaec447f28 (patch) | |
tree | 1a1b8bb015ea128c3a4a20e4b8b85652b1fab936 /Master/texmf-dist/source/generic | |
parent | 95eb2594834e771c976f5fb91449b3fb6771d696 (diff) |
hyph-utf8 update (19may09)
git-svn-id: svn://tug.org/texlive/trunk@13270 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
4 files changed, 37 insertions, 46 deletions
diff --git a/Master/texmf-dist/source/generic/hyph-utf8/generate-lua-tables-for-docs.rb b/Master/texmf-dist/source/generic/hyph-utf8/generate-lua-tables-for-docs.rb deleted file mode 100644 index d135392142f..00000000000 --- a/Master/texmf-dist/source/generic/hyph-utf8/generate-lua-tables-for-docs.rb +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env ruby - -# this file auto-generates data for docs for hyphenation patterns - to be improved - -load 'languages.rb' -$package_name="hyph-utf8" - -# TODO - make this a bit less hard-coded -$path_doc="../../../doc/generic/#{$package_name}" - -# TODO: should be singleton -languages = Languages.new.list - -puts "languages = {" -languages.each do |language| - puts "\t{" - puts "\t\t code = '#{language.code}'," - puts "\t\t name = '#{language.name}'," - puts "\t}," -end -puts "}" 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 6ed311e5a10..1025dd1ad12 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 @@ -75,7 +75,8 @@ languages.each do |language| file.puts(' \lccode"200D="200D') file.puts(" \\input hyph-#{language.code}.tex") file.puts('\else') - file.puts(" \\message{No #{language.message}}") + file.puts(" \\message{No #{language.message} - only available with Unicode engines}") + file.puts(' \input zerohyph.tex') file.puts('\fi') # for ASCII encoding, we don't load any special support files, but simply load everything elsif language.encoding == "ascii" then diff --git a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb index 71031e53aa9..50d4974c42d 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb @@ -496,6 +496,17 @@ class Languages < Hash "exceptions" => false, "message" => "Lithuanian Hyphenation Patterns", }, +# latvian +{ + "code" => "lv", + "name" => "latvian", + "use_new_loader" => true, + "use_old_patterns" => false, + "hyphenmin" => [2,2], + "encoding" => "l7x", + "exceptions" => false, + "message" => "Latvian Hyphenation Patterns", +}, # dutch nehyph96.tex { "code" => "nl", 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 9f173c0f05a..74597678ef8 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/languages/gl/README +++ b/Master/texmf-dist/source/generic/hyph-utf8/languages/gl/README @@ -1,24 +1,24 @@ -This directory contains seven files + README, licensed all but one under lppl 1.3: - -glpatter-utf8.tex: - The source file, version 2.3a. When processed under the program - mkpatter ---by typing 'initex glpatter-utf8.tex' (without the quotes) - on the command line, provided you have the utility - mkpattern installed--- it generates the file hyph-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 aditional patterns other - than the ones in glpatter.tex. It is \input by glpatter.tex. - -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 very welcome. - ---Javier A. +This directory contains seven files + README, licensed all but one under lppl 1.3:
+
+glpatter-utf8.tex:
+ The source file, version 2.3a. When processed under the program
+ mkpatter ---by typing 'initex glpatter-utf8.tex' (without the quotes)
+ on the command line, provided you have the utility
+ mkpattern installed--- it generates the file hyph-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 aditional patterns other
+ than the ones in glpatter.tex. It is \input by glpatter.tex.
+
+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 very welcome.
+
+--Javier A.
|