diff options
author | Norbert Preining <norbert@preining.info> | 2025-01-22 03:03:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2025-01-22 03:03:55 +0000 |
commit | 94d19969801efa621def0fe60fb895d797f0f0f5 (patch) | |
tree | 11d418fe39ffb48b9b943e87ca203a32907d79b0 /language/hyph-utf8/source | |
parent | 30e3dd14d93087ee75baaebc56f1c362ecc95967 (diff) |
CTAN sync 202501220303
Diffstat (limited to 'language/hyph-utf8/source')
-rw-r--r-- | language/hyph-utf8/source/lib/tex/hyphen/texlive/source.rb | 3 | ||||
-rw-r--r-- | language/hyph-utf8/source/spec/tex/hyphen/language_spec.rb | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/language/hyph-utf8/source/lib/tex/hyphen/texlive/source.rb b/language/hyph-utf8/source/lib/tex/hyphen/texlive/source.rb index 172b9b0a60..d3f4ebbe33 100644 --- a/language/hyph-utf8/source/lib/tex/hyphen/texlive/source.rb +++ b/language/hyph-utf8/source/lib/tex/hyphen/texlive/source.rb @@ -93,7 +93,8 @@ module TeX return files if bcp47 == "mn-cyrl-x-lmc" ['pat', 'hyp'].each do |t| - files << File.join(PATH::HYPHU8, 'patterns', 'txt', sprintf('hyph-%s.%s.txt', bcp47, t)) + file = File.join(PATH::HYPHU8, 'patterns', 'txt', sprintf('hyph-%s.%s.txt', bcp47, t)) + files << file if File.exist? File.join('hyph-utf8', file) end if bcp47 =~ /^sh-/ diff --git a/language/hyph-utf8/source/spec/tex/hyphen/language_spec.rb b/language/hyph-utf8/source/spec/tex/hyphen/language_spec.rb index f93f18c340..a5e3b5ed4f 100644 --- a/language/hyph-utf8/source/spec/tex/hyphen/language_spec.rb +++ b/language/hyph-utf8/source/spec/tex/hyphen/language_spec.rb @@ -739,8 +739,7 @@ describe Language do expect(Language.new('ka').list_run_files).to eq ['tex/generic/hyph-utf8/loadhyph/loadhyph-ka.tex', 'tex/generic/hyph-utf8/patterns/tex/hyph-ka.tex', 'tex/generic/hyph-utf8/patterns/ptex/hyph-ka.t8m.tex', - 'tex/generic/hyph-utf8/patterns/txt/hyph-ka.pat.txt', - 'tex/generic/hyph-utf8/patterns/txt/hyph-ka.hyp.txt'] + 'tex/generic/hyph-utf8/patterns/txt/hyph-ka.pat.txt'] end end |