On Sep 30, 2017, at 11:52 PM, David Kastrup <d...@gnu.org> wrote: > "David F." <dav...@gmx.us> writes: > >> Let’s say I have a score: >> >> myScore = \score { … } >> >> After my score is built, I’d like to keep/remove tagged sections from the >> music inside my score. >> >> How might I accomplish that? >> >> I’ve already tried to decompose/recompose the score, like so: >> >> \score { >> \keepWithTag #’myTag >> #(ly:score-music #{ myScore #}) >> } >> >> But I’ve gotten some weird results (like the last system being ragged) and I >> don’t really want to throw away the original score because it has stuff like >> headers in it. >> >> Any ideas would be greatly appreciated. > > <http://lilypond.org/tiny-examples.html> > > If you want people to help, forcing them to create complete examples of > their own for demonstration/experimentation is going to make them less > likely to do so. > > At any rate, you might want to experiment with ly:score-header and > ly:score-output-defs. Could be that with newer versions of LilyPond > $(ly:score-header ...) and $@(ly:score-output-defs ...) work in a score > definition or can be made to do so. > > -- > David Kastrup
My apologies. David _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user