Re: \RemoveEmptyStaves don't work as I would to
Hi, > neither \\RemoveAllEmptyStaves .. In 2.19.56, that (with a single \ of course) works as expected for me. Maybe upgrade? Hope this helps, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves don't work as I would to
Son_V writes: > neither \\RemoveAllEmptyStaves .. > > This is my try for a Minimum example, sorry if I failed to make it smaller: > > \version "2.19.26" > \layout { > \context { > \Score > skipBars = ##t > %\RemoveEmptyStaves > } > } \RemoveEmptyStaves and \RemoveAllEmptyStaves apply to the context containing them. Removing the Score context could be ... interesting. You probably want to use this invocation on Staff instead of Score. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves don't work as I would to
Hi Son, about minimal examples, see my comments below. ;) 2017-03-28 21:48 GMT+02:00 Son_V : > neither \\RemoveAllEmptyStaves .. > > This is my try for a Minimum example, sorry if I failed to make it smaller: > > \version "2.19.26" > \layout { > \context { > \Score no need for skipBars > skipBars = ##t > %\RemoveEmptyStaves > } > } > PartPOneVoiceOne = \relative g' { no need for clef "treble" \key c \major \numericTimeSignature\time 4/4 it's mostly the default, or suoerfluous for a minimal Also too many notes/rests. > \clef "treble" \key c \major \numericTimeSignature\time 4/4 g1 | % 2 > g1 \break | % 3 > R1*2 \bar "|." > } > > PartPTwoVoiceOne = \relative b' { same here > \clef "treble" \key c \major \numericTimeSignature\time 4/4 R1*2 > \break | % 3 > b1 | % 4 > b1 \bar "|." > } > > For a minimal no complete score-definition, (unless the problem would be in there) > % The score definition > \score { > << > \new Staff << > \set Staff.instrumentName = "Voce" > \set Staff.shortInstrumentName = "Vo." > \context Staff << > \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne } > >> > >> > \new Staff << > \set Staff.instrumentName = "Soprano" > \set Staff.shortInstrumentName = "S." > \context Staff << > \context Voice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne } > >> > >> > >> > } Remaining minimal with solution, \layout { \context { \Staff \RemoveEmptyStaves } } << \new Staff { g'1 \break R1 } \new Staff { R1 \break b'1 } >> RemoveEmptyStaves needs to be applied in a Staff-context, examples in the NR Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves don't work as I would to
I've installed the latest version, but no changes :-( -- View this message in context: http://lilypond.1069038.n5.nabble.com/RemoveEmptyStaves-don-t-work-as-I-would-to-tp201683p201687.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves don't work as I would to
Thanks for the lesson (maybe I'll be able to understand it), but still it doesn't work... -- View this message in context: http://lilypond.1069038.n5.nabble.com/RemoveEmptyStaves-don-t-work-as-I-would-to-tp201683p201689.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves don't work as I would to
Hi, > Thanks for the lesson (maybe I'll be able to understand it), but still it > doesn't work… Below is your original snippet, with the suggested fix. It doesn’t work for you as you expect? (It certainly does for me.) Kieren. \version "2.19.26" \layout { \context { \Score skipBars = ##t } \context { \Staff \RemoveAllEmptyStaves } } PartPOneVoiceOne = \relative g' { \clef "treble" \key c \major \numericTimeSignature\time 4/4 g1 | % 2 g1 \break | % 3 R1*2 \bar "|." } PartPTwoVoiceOne = \relative b' { \clef "treble" \key c \major \numericTimeSignature\time 4/4 R1*2 \break | % 3 b1 | % 4 b1 \bar "|.” } % The score definition \score { << \new Staff << \set Staff.instrumentName = "Voce" \set Staff.shortInstrumentName = "Vo." \context Staff << \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne } >> >> \new Staff << \set Staff.instrumentName = "Soprano" \set Staff.shortInstrumentName = "S." \context Staff << \context Voice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne } >> >> >> } Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves don't work as I would to
Instead that has worked. Thanks (my fault). -- View this message in context: http://lilypond.1069038.n5.nabble.com/RemoveEmptyStaves-don-t-work-as-I-would-to-tp201683p201691.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user