From: Keith OHara Date: Sun, 21 Jun 2015 17:31:21 +0000 (-0700) Subject: NullVoice: not accepted directly by Score; issue 4302 X-Git-Tag: release/2.19.22-1~7 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f860822135d603052df95fc535516a8b57699102;p=lilypond.git NullVoice: not accepted directly by Score; issue 4302 It gets an implicit enclosing Staff when nexted in staff-grouping contexts, so create an implicit Staff around NullVoice at Score level --- diff --git a/Documentation/notation/vocal.itely b/Documentation/notation/vocal.itely index 54c7c88477..4f77e7a969 100644 --- a/Documentation/notation/vocal.itely +++ b/Documentation/notation/vocal.itely @@ -1729,7 +1729,7 @@ altoTwo = \relative { d'2 g4( fis8 g) } aligner = \relative { b'8( c d c) d( d d d) } words = \lyricmode { la __ la __ } -\new ChoirStaff << +\new ChoirStaff \with {\accepts NullVoice } << \new Staff \soprano \new NullVoice = "aligner" \aligner \new Lyrics \lyricsto "aligner" \words diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index c6b8bfcd27..4d979cea24 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -578,7 +578,6 @@ automatically when an output definition (a @code{\\score} or \accepts "Lyrics" \accepts "MensuralStaff" \accepts "NoteNames" - \accepts "NullVoice" \accepts "PetrucciStaff" \accepts "PianoStaff" \accepts "RhythmicStaff"