1TeX::Hyphen::czech(3) User Contributed Perl DocumentationTeX::Hyphen::czech(3)
2
3
4

NAME

6       TeX::Hyphen::czech -- provides parsing routine for Czech patterns
7

SYNOPSIS

9               use TeX::Hyphen;
10               my $hyp = new TeX::Hyphen 'hyphen.tex', style => 'czech';
11
12               # and then follow documentation for TeX::Hyphen
13

DESCRIPTION

15       This pattern processing happens to be the default. If you need to write
16       you own style of parsing the pattern file, you might want to start with
17       this file and hack it to suit your needs. There is nothing for end
18       users here -- just specify the style parameter in call to new
19       TeX::Hyphen.
20
21       The language style specific modules have to define the following
22       functions:
23
24       process_patterns
25           This method gets individual lines of the \patterns content. It
26           should parse these lines, and fill values in $bothhyphen,
27           $beginhyphen, $endhyphen and $hyphen which are being passed to this
28           function as parameters following the line. The function should
29           return 0 if end of the pattern section (macro) was reached, 1 if
30           the parsing should continue.
31
32       process_hyphenation
33           This method gets the lines of the \hyphenation content. It should
34           parse these lines and fill values into $exception which is passed
35           as second parameter upon call. The function should return 0 if end
36           of the exception section (macro) was reached, 1 if the parsing
37           should continue.
38
39       Check the TeX::Hyphen::czech source to see the exact form of the values
40       inserted into these has structures.
41
42       Each style module should also define $LEFTMIN and $RIGHTMIN global
43       variables, if they have different values than the default 2. The values
44       should match the paratemers used to generate the patterns.  Since
45       various pattern files could be generated with different values set,
46       this is just default that can be changed with parameters to the
47       TeX::Hyphen constructor.
48
49
50
51perl v5.34.0                      2022-01-21             TeX::Hyphen::czech(3)
Impressum