1TeX::Hyphen::utf8(3)  User Contributed Perl Documentation TeX::Hyphen::utf8(3)
2
3
4

NAME

6       TeX::Hyphen::utf8 -- provides parsing routine for generic utf8 text
7

SYNOPSIS

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

DESCRIPTION

15       This pattern is for utf8 pattern files.
16
17       process_patterns
18           This method gets individual lines of the \patterns content. It
19           should parse these lines, and fill values in $bothhyphen,
20           $beginhyphen, $endhyphen and $hyphen which are being passed to this
21           function as parameters following the line. The function should
22           return 0 if end of the pattern section (macro) was reached, 1 if
23           the parsing should continue.
24
25       process_hyphenation
26           This method gets the lines of the \hyphenation content. It should
27           parse these lines and fill values into $exception which is passed
28           as second parameter upon call. The function should return 0 if end
29           of the exception section (macro) was reached, 1 if the parsing
30           should continue.
31
32       Check the TeX::Hyphen::czech source to see the exact form of the values
33       inserted into these has structures.
34
35       Each style module should also define $LEFTMIN and $RIGHTMIN global
36       variables, if they have different values than the default 2. The values
37       should match the paratemers used to generate the patterns.  Since
38       various pattern files could be generated with different values set,
39       this is just default that can be changed with parameters to the
40       TeX::Hyphen constructor.
41
42
43
44perl v5.32.0                      2020-07-28              TeX::Hyphen::utf8(3)
Impressum