Re: partially frenched score

2016-06-05 Thread Dominic
I define the following macros, which I adapted from the LSR some time ago:

/showEmptyStaff = {
  \set Staff.keepAliveInterfaces = #'(
  rhythmic-grob-interface
  multi-measure-rest-interface
  lyric-interface
  stanza-number-interface
  percent-repeat-interface) 
}

unShowEmptyStaff = { \unset Staff.keepAliveInterfaces }/

I hide all empty staves as 'normal', but for the occasional instances where
I want to keep a stave alive for a while, I insert /\showEmptyStaff/. Then
/\unShowEmptyStaff/ at the end of the passage in question to revert to
normal behaviour.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partially-frenched-score-tp191384p191399.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: partially frenched score

2016-06-05 Thread David Kastrup
james  writes:

>> On Jun 5, 2016, at 11:35 AM, David Kastrup  wrote:
>> 
>> james  writes:
>> 
>>> Is there an easier way of creating a partially frenched score?
>> 
>> Easier than what?
>> 
>>> I'd like to hide all of the empty staves for a bit, but then show even
>>> the 20 measures of rests later on.
>> 
>> Well, shouldn't adding rest-interface to keepAliveInterfaces do the
>> trick?
>
> Easier than manually making ossia staves. For those, I have to hide
> everything, unlike the RemoveEmptyStaves which does it all for me, I
> just can't turn that off.

I don't understand the answer.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: partially frenched score

2016-06-05 Thread james

> On Jun 5, 2016, at 11:37 AM, james  wrote:
> 
> 
>> On Jun 5, 2016, at 11:35 AM, David Kastrup  wrote:
>> 
>> james  writes:
>> 
>>> Is there an easier way of creating a partially frenched score?
>> 
>> Easier than what?
>> 
>>> I'd like to hide all of the empty staves for a bit, but then show even
>>> the 20 measures of rests later on.
>> 
>> Well, shouldn't adding rest-interface to keepAliveInterfaces do the
>> trick?
>> 
>> -- 
>> David Kastrup
> 
> Easier than manually making ossia staves. For those, I have to hide 
> everything, unlike the RemoveEmptyStaves which does it all for me, I just 
> can't turn that off.

The best workaround I have now is to have two voices, one with the visible 
rests and another with hidden notes. Just looking for alternatives.

James
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: partially frenched score

2016-06-05 Thread james

> On Jun 5, 2016, at 11:35 AM, David Kastrup  wrote:
> 
> james  writes:
> 
>> Is there an easier way of creating a partially frenched score?
> 
> Easier than what?
> 
>> I'd like to hide all of the empty staves for a bit, but then show even
>> the 20 measures of rests later on.
> 
> Well, shouldn't adding rest-interface to keepAliveInterfaces do the
> trick?
> 
> -- 
> David Kastrup

Easier than manually making ossia staves. For those, I have to hide everything, 
unlike the RemoveEmptyStaves which does it all for me, I just can't turn that 
off.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: partially frenched score

2016-06-05 Thread David Kastrup
james  writes:

> Is there an easier way of creating a partially frenched score?

Easier than what?

> I'd like to hide all of the empty staves for a bit, but then show even
> the 20 measures of rests later on.

Well, shouldn't adding rest-interface to keepAliveInterfaces do the
trick?

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


partially frenched score

2016-06-05 Thread james
Is there an easier way of creating a partially frenched score? I'd like to hide 
all of the empty staves for a bit, but then show even the 20 measures of rests 
later on.

Thanks,

james
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user