#!/usr/bin/env ruby # this file auto-generates loaders for hyphenation patterns - to be improved load 'languages.rb' $package_name="hyph-utf8" # TODO - make this a bit less hard-coded $path_tex_generic=File.expand_path("../../../tex/generic") $path_loadhyph="#{$path_tex_generic}/#{$package_name}/loadhyph" # TODO: should be singleton languages = Languages.new.list #text_if_native_utf = "\input pattern-loader.tex\n\\ifNativeUtfEightPatterns" text_if_native_utf = <