<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div><br>> Date: Mon, 6 Jul 2015 16:42:11 +1000<br>> From: Owen <rcook@pcug.org.au><br>> To: scribus@lists.scribus.net<br>> Subject: Re: [scribus] Re, Forced hyphenation?<br>> Message-ID: <20150706164211.637c5742@LM-17><br>> Content-Type: text/plain; charset=UTF-8<br>> <br>> On Sat, 4 Jul 2015 13:17:11 +0100 (BST)<br>> "wena-parry@talktalk.net" <wena-parry@talktalk.net> wrote:<br>> <br>> > Forced hyphenation? Are we discussing the EM?s and EN?s the<br>> > long and the short of them? The ? or the ?? .?<br>> > for them I have found a work around.<br>> <br>> Hyphenation is a language thing. Thus there are english hyphen rules<br>> etc.<br>> <br>> Hypen dictionaries can be installed for many languages, see your<br>> package manager.<br>> <br>> Are there Welsh hyphenation rules? I often wonder how you would<br>> hyphenate Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch to<br>> fit into a two inch column<br><br></div><div>TeX has hyphenation patterns for various languages at <a href="http://tug.org/tex-hyphen/#languages" target="_blank" style="font-size: 12pt;">http://tug.org/tex-hyphen/#languages</a></div><div><br></div><div>Some other application like Firefox use hyphenation algorithms based on TeX. <a href="https://github.com/mozilla/gecko-dev/blob/master/intl/hyphenation/README.hyphen" target="_blank" style="font-size: 12pt;">https://github.com/mozilla/gecko-dev/blob/master/intl/hyphenation/README.hyphen</a></div><div><br></div><div>The Scribus 1.5 source has a file scribus/third_party/hyphen/README with the comment below. Scribus might be able to import the Welsh hyphenation rules from TeX.</div><div><br></div><div><div> * Warning! Correct working of Libhnj *needs* prepared hyphenation patterns. *</div><div><br></div><div> For example, generating hyph_en_US.dic from "hyphen.us" TeX patterns: <span style="font-size: 12pt;">perl substrings.pl hyphen.us hyph_en_US.dic ISO8859-1</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Scribus might also be able to use hunspell files at </span><a href="http://troi.org/en/hunspell-cy.html" target="_blank" style="font-size: 12pt;">http://troi.org/en/hunspell-cy.html</a> or <a href="http://www.cm.ph.bham.ac.uk/software/zenwalk/old/cat/main/packages/hunspell-cy_GB.html" target="_blank" style="font-size: 12pt;">http://www.cm.ph.bham.ac.uk/software/zenwalk/old/cat/main/packages/hunspell-cy_GB.html</a></div><div><br></div></div><div>Regards,</div><div>William</div><div><br></div> </div></body>
</html>