Simon Albrecht <simon.albre...@mail.de> writes: > \version "2.19.49" > %{ > It would be formidable if in such a case one wouldn’t need > to look up the default stencil procedure, but could use either > \undo or \revert. > Is this a valid/sensible feature request? > %} > \score { > \new PianoStaff \with { > \omit SystemStartBrace > \accepts GrandStaff > } << > \new GrandStaff \with { > % those don’t work > %\undo\omit SystemStartBrace > %\revert SystemStartBrace.stencil > % this does > \override SystemStartBrace.stencil = > #ly:system-start-delimiter::print > } << > \new Staff { 1 } > \new Staff { 1 } > >> > \new Staff { 1 } > >> > }
The context modification for GrandStaff does not have access to the unmodified definition of the enclosing PianoStaff (it doesn't even have access to the unmodified definition of GrandStaff and does not know that it will get applied to a GrandStaff) and even if it did, how should it guess that you want to undo PianoStaff settings rather than Score settings? -- David Kastrup _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond