On 11/14/10 10:50 AM, "Phil Holmes" <m...@philholmes.net> wrote:

> ----- Original Message -----
> From: "Carl Sorensen" <c_soren...@byu.edu>
> To: "Xavier Scheuer" <x.sche...@gmail.com>
> Cc: "lilypond-user" <lilypond-user@gnu.org>
> Sent: Saturday, November 13, 2010 1:59 PM
> Subject: Re: Setting beaming rules back to default
> 
> 
> 
> 
> 
> On 11/13/10 5:01 AM, "Xavier Scheuer" <x.sche...@gmail.com> wrote:
> 
>> On 13 November 2010 10:56, Carl Sorensen <c_soren...@byu.edu> wrote:
>>> 
>>>> \unset beamExceptions  works well.
>>> 
>>> Thanks for this idea.  I had never tried this.  I'll add it to the
>>> documentation.
>> 
>> Good, thanks.
>> 
>> That being said, I do not understand either why the code given by Nick
>> does not work in the same way...
>> Thoughts?
> 
> Because the default setting for beamExceptions is not '().
> 
> As shown in ly/engraver-init.ly, it's
> 
> beamExceptions = #'((end . (((1 . 8) . (4 4))
> 
> Apparently we don't need to do that, because if beamExceptions is undefined,
> it will go to timeSignatureSettings and get the beamExceptions value for the
> current time signature, which is why \unset beamExceptions works.
> 
> 
> Thanks,
> 
> Carl
> 
> 
> I think that \revertTimeSignatureSettings #'Score #'(4 . 4) should also
> work?  See
> 
>  http://code.google.com/p/lilypond/issues/detail?id=1284
> 

This is a different problem.  \revertTimeSignatureSettings is only necessary
to restore default behavior if the behavior has been changed with
\overrideTimeSignatureSettings.

\revertTimeSignatureSettings will have no effect on the output, unless a
\time command is given.  And in this case, the \time command would have the
same effect.

As is currently documented in the Notation Reference, if the beam settings
have been changed with \set beamExceptions, it can be restored to the
previous behavior by issuing a \time command, but the \time command creates
a time signature as well.

\unset beamExceptions is a much better way to handle it.

Thanks,

Carl


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

Reply via email to