----- Original Message -----
> From: "Noeck" <noeck.marb...@gmx.de>
> To: bobr...@centrum.is
> Cc: lilypond-user@gnu.org
> Sent: Saturday, March 28, 2015 7:53:58 PM
> Subject: Re: cadenza_and_accidentals-take2
> 
> Hi David,
> 
> > I recall thinking at some point that perhaps LilyPond would count up the
> > stuff not between \cadenzaOn ... \cadenzaOff and place barlines in the
> > correct place (it doesn't).
> 
> What do you mean here differing from 1) (which is what I also proposed
> in a previous mail)? I don't understand this sentence and I would like to.

Well, actually it works the way I described as long as the measure contains the 
cadenza sandwiched between non-cadenza stuff:

%%%
\version "2.18.2"

\score {
  \relative c' {
    g2
    \cadenzaOn
    e8-[ e e e e e e e e e-]
    \cadenzaOff
    g4 b
%% barline appears here just fine
    c1
    g'2 a4 b
%% barline appears here before I want it, unless next line un-commented
%\bar ""
    \cadenzaOn
    f8-[ f f f f f f f f f-]
%% barline does not appear here, unless next line un-commented
%\bar "|"
    \cadenzaOff
    c1
  }
}
%%%

So it's all less mysterious than I thought.  It rather depends on how the 
measure ends.  If it ends with non-cadenza material barlines will take care of 
themselves.  If it ends with cadenza material then 'manual' barline controls 
must be used.

-David

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

Reply via email to