On 19/01/07, Han-Wen Nienhuys wrote:
but I think this is not a good way to use devnull. If the lyrics are aligned
to devnull, it cannot find note heads to center the syllables on.  This will
never work.

However, this exact usage of Devnull is suggested in the manual.
From 7.4.7.5 "Lyrics independent of notes":
[snip]
voice = {
 c''2
 \tag #'music { c''2 }
 \tag #'lyricrhythm { c''4. c''8 }
 d''1
}

lyr = \lyricmode { I like my cat! }

<<
 \new Staff \keepWithTag #'music \voice
 \new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
 \new Lyrics \lyricsto "nowhere" \lyr

[/snip]

In fact, that's how I discovered this bug.

On the other hand: if you explicitly set syllable durations in the lyrics, i.e.
\lyricmode { I2 like4. my8 cat1 }
then the lyrics align to the noteheads just fine, even when they
aren't actually there.

Is there any way you could get the durations from what is fed into
Devnull, pair the list of syllables and the list of durations, and use
whatever routine is used for lyrics with explicit durations?

If that's not possible, then the manual should be updated to recommend
explicit durations instead; if yes, then I guess the manual should
still be temporarily 'updated' until the release fixing this is out. A
small job either way, so I'll pick it up; just let me know.

Regards,

Sietse
Sietse Brouwer


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

Reply via email to