Hello again,

so you would have to check (pseudo-scheme):
...
(if (and (string? x)(string=? x 
"<someIndicatorStringNooneWouldEverUseInARealLyric>"))
        (<introduceNewLine> ...))
...

and this would probably be done in the (reduce-hyphens text)-method/function.

If this works one could define a variable with the lyrics including the 
newlines. Then use it filtered with \lyricsto and markedup with \verse.

Best regards,
Jan-Peter.


Am 20.01.2011 um 16:35 schrieb jakob lund:

> 2011/1/20 Jan-Peter Voigt <jp.vo...@gmx.de>:
>>> What do you think of allowing to define a additional "line break character",
>>> for example ¶, which could be filtered out within \lyricsmode, and used as a
>>> newline in the \verse?
>> Thats a good idea!
>>> So your input will look like
>>> \override Lyrics #'ignore-chars= #'(¶) % this is pseudo code!
> 
> I guess this would mean that the Lyrics context would have to filter
> out the ¶ as it goes. A simpler version of the same idea could be
> 
>  nl = \lyricmode { <someIndicatorStringNooneWouldEverUseInARealLyric> }
> 
> and then use
> 
>  words = \lyricmode { Toch -- ter \nl Zi -- on }
> 
> then add a filter (a music function that calls music-filter) to use
> with addlyrics, like this
> 
>  \addlyrics \removeLineBreakIndicators \words
> 
> and then update the \verse macro to produce a new line for every
> occurence of the indicator.
> that should be doable...
> 
> Jakob.



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to