Provides parsing routine for Czech patterns
require 'tex/hyphen' hyp = TeX::Hyphen.new # Default hyphenation style is 'czech'
This pattern processing happens to be the default. If you need to write you own style of parsing the pattern file, you might want to start with this file and hack it to suit your needs. There is nothing for end users here -- just specify the style parameter in call to new TeX::Hyphen.
The language style specific modules have to define the following functions:
Check the 'tex/hyphen/czech.rb' source to see the exact form of the values inserted into these has structures.
Each style module should also define DEFAULT_STYLE_MIN_LEFT and DEFAULT_STYLE_MIN_RIGHT global variables, if they have different values than the default 2. The values should match the paratemers used to generate the patterns. Since various pattern files could be generated with different values set, this is just a default that can be changed with parameters to the TeX::Hyphen constructor.