hyphenation / tex-hyphen

Hyphenation patterns for TeX
53 stars 20 forks source link

Thai source update #19

Closed thep closed 6 years ago

thep commented 6 years ago

In this pull request, I've prepared Thai hyphenation source updates done over the two years from tlwg/thailatex repository.

Since I'm not sure about further workflow to get the generated patterns updated in the tree, I've omitted that part for now.

AFAIK, updating hyph-th.tex and languages.rb and then running generate-plain-patterns.rb and generate-ptex-patterns.rb get changes in Latin patterns as well. That makes me unsure how it should properly be done.

mojca commented 6 years ago

AFAIK, updating hyph-th.tex and languages.rb and then running generate-plain-patterns.rb and generate-ptex-patterns.rb get changes in Latin patterns as well. That makes me unsure how it should properly be done.

Changes in other patterns are not to be expected and might result from "incomplete changes" in the past. I'll take a look and fix the issues.

These changes look ok (I was away for a while, so I need to catch up with stuff), I'll merge them.

If you prepare just the patterns (hyph-th.tex), I can do the rest anyway. We'll probably move away from the database in ruby to YAML, see the yaml branch in this repository for work-in-progress that will be merged soon (after I complete the review for all languages). It would be nice to get the patterns directly with YAML headers, I can send further instructions or examples.

See for example https://github.com/hyphenation/tex-hyphen/blob/yaml-headers/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-th.tex (there might be further minor changes).

thep commented 6 years ago

OK. hyph-th.tex has been updated, with headers reformatted as YAML.

reutenauer commented 6 years ago

I’m merging the pull request in preparation for the upload to CTAN; thank you very much, Theppitak.