summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb6
-rw-r--r--Master/texmf-dist/source/generic/hyph-utf8/generate-pattern-loaders.rb2
-rw-r--r--Master/texmf-dist/source/generic/hyph-utf8/languages.rb22
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