|
From: | Knut Petersen |
Subject: | Re: Word hyphenation in LilyPond version 2.18.2. |
Date: | Fri, 23 Dec 2016 08:35:49 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Hi Simon!
It’s a known issue that this is not possible to do in LilyPond, which is why (almost?) everybody to typeset such large projects with LilyPond has used LilyPond only for the music itself and embedded the output in *TeX or other word-processing/publishing software.
Well, hyphenation is not the only reason not to try to typeset large portions of text with lilypond ;-) What we need is automatic hyphenation for lyrics ... but the standard algorithm (read the thesis ofFranklin Mark Liang) is not optimal because it is not designed to find _all_ possible hyphenations and because hyphenation for lyrics might differ from the standard: German rules do not allow e.g. to hyphenate a word like "über" in normal texts, but we would need "ü-ber" for lyrics. Of course it is possible to define a scheme function that passes its arguments to an external stand-alone hyphenator (yet to be written?) and read back the results ... cu, Knut
[Prev in Thread] | Current Thread | [Next in Thread] |