Babel: How to select alternative Finnish hyphenation (hyph-fi-x-school)

Teemu Likonen tlikonen at iki.fi
Fri Dec 29 10:14:23 CET 2023


For the Finnish language there are two hyphenation variants available:
the default, which is chosen automatically with the language, and newer
alternative which is defined in the following files (Texlive):

/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-fi-x-school.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/ptex/hyph-fi-x-school.ec.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-fi-x-school.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/txt/hyph-fi-x-school.pat.txt

In Polyglossia the alternative hyphenation is activated with
"schoolhyphens" option:

    \usepackage{polyglossia}
    \setdefaultlanguage[schoolhyphens]{finnish}

Does Babel have option to active the alternative Finnish hyphenation? It
seems so because in the file "hyph-fi-x-school.tex" (see above) there is
comment section that mentions "babelname".

    % texlive:
    %     encoding: ec
    %     message: Finnish hyphenation patterns for school
    %     package: finnish
    %     babelname: schoolfinnish

How can this be activated in Babel? If you want to try this but don't
understand Finnish I attach a simple document with information about the
expected hyphenation result.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: finnish-schoolfinnish.tex
Type: text/x-tex
Size: 298 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20231229/2527a5ba/attachment.bin>
-------------- next part --------------

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20231229/2527a5ba/attachment.sig>


More information about the texhax mailing list.