[tex-hyphen] Hyphenation patterns for Belarusian
maksim.salau at gmail.com
Sat Sep 3 02:33:55 CEST 2016
> > Is there any simple way to feed a bunch of words to *TeX and get hyphenated words back?
> The easy part is to use the testhyphens.sty small package, that is
> included in any TeX system full installation.
Do you know a way that doesn't involve system-wide installation of patterns and generation of a full-blown *TeX document?
I had in mind something like this:
% -- BEGIN --
% Some TeX magic
% Some more TeX magic
% -- END --
And result printed to standard output.
I got such work-flow with https://github.com/hunspell/hyphen
But I'm not sure if this library produces the same output as *TeX does.
And here is my first result that works not as expected:
left hyphen min = right hyphen min = 2
а б а б ' ю
So I expect to get аба=б'ю, but the library says there are no valid hyphenation points in the word.
Adding rule .аба3б doesn't help. The only explanation I can imagine is that the library doesn't treat quote as part of the alphabet and hyphenates the word as two separate words. The word абаб'юц=ца proves that theory.
Does anyone have any experience with the library?
More information about the tex-hyphen