summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb')
-rw-r--r--Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb10
1 files changed, 5 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 21968cbd079..0d71f6b410f 100644
--- a/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb
+++ b/Master/texmf-dist/source/generic/hyph-utf8/generate-converters.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-require 'hyph-utf8'
+require File.expand_path(File.join(File.dirname(__FILE__), 'hyph-utf8'))
$encoding_data_dir = "data/encodings"
# $encodings = ["ec", "qx", "t2a", "lmc", "il2", "il3", "l7x", "t8m", "lth"]
@@ -11,7 +11,7 @@ $output_data_dir = "#{$path_root}/tex/generic/hyph-utf8/conversions"
$encodings.each do |encoding|
# load encoding
- e = Encoding.new(encoding)
+ e = HyphEncoding.new(encoding)
# open file
file_out = File.open("#{$output_data_dir}#{File::Separator}conv-utf8-#{encoding}.tex", "w")
@@ -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-2013 TeX Users Group."
+ file_out.puts "% Copyright 2008-2014 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
@@ -99,7 +99,7 @@ $encodings = ["ec", "qx", "t2a", "lmc", "il2", "il3", "l7x"]
$encodings.each do |encoding|
# load encoding
- e = Encoding.new(encoding)
+ e = HyphEncoding.new(encoding)
# open file
file_out = File.open("#{$output_data_dir}#{File::Separator}conv-utf8-#{encoding}.tex", "w")
@@ -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-2013 TeX Users Group."
+ file_out.puts "% Copyright 2008-2014 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 "%"