You can also use \addquote and filter only desired events using
Staff.quotedEventTypes.
(http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Quoting-other-voic
es.html#Quoting-other-voices)
In pseudo code this would look like this:
somevoice = { }
partWithAllMarksAndStuff = {}
\addquote framework \partWithAllMarksAndStuff
\new Staff <<
\set Staff.quotedEventTypes =
#'(mark-event % Add more as needed
)
\context Voice = "somevoice" \somevoice
\context Voice = "somevoice"
\quoteDuring #"framework" { #(ly:export (skip-of-length
partWithAllMarksAndStuff)) }
>>
Markus
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user