diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-27 22:09:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-27 22:09:48 +0000 |
commit | 397f2b7f7d916914929780b317f52cab5b538e1a (patch) | |
tree | 72abe73ba6f6d60fd063fbe4c9a1a2827df6b9a3 /Master/texmf-dist/source/generic | |
parent | fb59d1575564d60baaee7805f1bb3232103ac771 (diff) |
hyph-utf8 (26jul18)
git-svn-id: svn://tug.org/texlive/trunk@48290 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
3 files changed, 25 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb b/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb index 008e63e5ad5..f344fe2ff30 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb @@ -25,7 +25,7 @@ $encodings.each do |encoding| file_out.puts "% This file is part of hyph-utf8 package and autogenerated." file_out.puts "% See http://tug.org/tex-hyphen" file_out.puts "%" - file_out.puts "% Copyright 2008-2015 TeX Users Group." + file_out.puts "% Copyright 2008-#{Time.new.year} TeX Users Group." file_out.puts "% You may freely use, modify and/or distribute this file." file_out.puts "% (But consider adapting the scripts if you need modifications.)" file_out.puts @@ -113,7 +113,7 @@ $encodings.each do |encoding| file_out.puts "% This file is part of hyph-utf8 package and autogenerated." file_out.puts "% See http://tug.org/tex-hyphen" file_out.puts "%" - file_out.puts "% Copyright 2008-2015 TeX Users Group." + file_out.puts "% Copyright 2008-#{Time.new.year} TeX Users Group." file_out.puts "% You may freely use, modify and/or distribute this file." file_out.puts "% (But consider adapting the scripts if you need modifications.)" file_out.puts "%" @@ -133,7 +133,7 @@ $encodings.each do |encoding| throw "The encoding #{encoding} uses more than two bytes to encode characters" else - file_out.puts sprintf("\\def^^%02x#1{%", first_byte_code) + file_out.puts sprintf("\\def^^%02x#1{%%", first_byte_code) string_fi = "" for i in 1..(chars.size) uni_character = chars[i-1] 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 111395acd49..385a3e3b2a8 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 @@ -122,7 +122,7 @@ end # # some languages (sanskrit) are useless in 8-bit engines; we only want to load them for UTF engines # TODO - maybe consider doing something similar for ibycus - if ['cu', 'sa','as','bn','gu','hi','hy','kn','lo','mul-ethi','ml','mr','or','pa','ta','te'].include?(language.code) then + if ['cu', 'sa','as','bn','gu','hi','hy','kn','lo','mul-ethi','ml','mr','or','pa','ta','te', 'pi'].include?(language.code) then file.puts(text_if_native_utf) file.puts(text_engine_utf8) # lccodes diff --git a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb index eb3ed6fa299..c5b7b5a41f0 100644 --- a/Master/texmf-dist/source/generic/hyph-utf8/languages.rb +++ b/Master/texmf-dist/source/generic/hyph-utf8/languages.rb @@ -220,6 +220,7 @@ class Authors < Hash "mike_kroutikov" => ["Mike", "Kroutikov", "pgmmpk{at}gmail{dot}com", true, true], "aleksandr_andreev" => ["Aleksandr", "Andreev", "", true, true], "maksim_salau" => ["Maksim", "Salau", "maksim{dot}salau{at}gmail{dot}com", true, false], + "wie_ming_ang" => ["Wie-Ming", "Cittānurakkho Bhikkhu", "wiemingang{at}gmail{dot}com", true, true] } # authors.each do |a| @@ -2148,7 +2149,26 @@ class Languages < Hash "description_l" => [ "Belarusian hyphenation patterns in T2A and UTF-8 encodings" ], -} +}, +# Pali +{ + "code" => "pi", + "name" => "pali", + "use_new_loader" => true, + "use_old_patterns" => false, + "hyphenmin" => [1, 2], + # no encoding + "message" => "Pali hyphenation patterns", + # no version number + "last_modified" => "2018-06-29", + "type" => "rules", + "authors" => ["wie_ming_ang"], + "licence" => "MIT", + "description_s" => "Pali hyphenation patterns", + "description_l" => [ + "Pali hyphenation patterns in UTF-8 encoding", + ], +}, # dumylang -> dumyhyph.tex # nohyphenation -> zerohyph.tex # arabic -> zerohyph.tex |