[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using lyrics in a markup
From: |
Jan-Peter Voigt |
Subject: |
Re: Using lyrics in a markup |
Date: |
Fri, 21 Jan 2011 16:02:01 +0100 |
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 <address@hidden>:
>>> 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.
- Re: Using lyrics in a markup, (continued)
- Re: Using lyrics in a markup, jakob lund, 2011/01/18
- Re: Using lyrics in a markup, Marc Hohl, 2011/01/18
- Re: Using lyrics in a markup, Graham Percival, 2011/01/18
- Re: Using lyrics in a markup, Marc Hohl, 2011/01/18
- Re: Using lyrics in a markup, Jean-Charles Malahieude, 2011/01/18
- Re: Using lyrics in a markup, jakob lund, 2011/01/19
- Re: Using lyrics in a markup, Jan-Peter Voigt, 2011/01/19
- Re: Using lyrics in a markup, jakob lund, 2011/01/20
- Re: Using lyrics in a markup, Marc Hohl, 2011/01/20
- Re: Using lyrics in a markup, Jan-Peter Voigt, 2011/01/20
- Message not available
- Re: Using lyrics in a markup,
Jan-Peter Voigt <=
- Message not available
- Re: Using lyrics in a markup, jakob lund, 2011/01/23
- Re: Using lyrics in a markup, Jan-Peter Voigt, 2011/01/23
- Re: Using lyrics in a markup, jakob lund, 2011/01/23
- Re: Using lyrics in a markup, jakob lund, 2011/01/24
- Re: Using lyrics in a markup, Jan-Peter Voigt, 2011/01/24
- Re: Using lyrics in a markup, jakob lund, 2011/01/24
- Re: Using lyrics in a markup, jakob lund, 2011/01/24
- Re: Using lyrics in a markup, Jan-Peter Voigt, 2011/01/24
- Re: Using lyrics in a markup, Phil Holmes, 2011/01/24
- Re: Using lyrics in a markup, Jan-Peter Voigt, 2011/01/24