[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: programming error: when \break used before \grace or after \afterGra
From: |
Trevor Bača |
Subject: |
Re: programming error: when \break used before \grace or after \afterGrace in combination with proportional notation |
Date: |
Thu, 20 Nov 2008 21:34:22 -0600 |
2008/11/20 V!ctor Adán <address@hidden>
> Update,
>
> I'm pretty sure now that the problem is in these two overrides:
> \override SpacingSpanner #'strict-note-spacing = ##t
> \override SpacingSpanner #'strict-grace-spacing = ##t
>
> It turns out that grace notes coinciding with line/page breaks *can*
> compile without errors while setting
> proportionalNotationDuration = #(ly:make-moment )
> as long as the strict-note-spacing and/or strict-grace-spacing are NOT set
> to True.
>
> Setting only
> \override SpacingSpanner #'uniform-stretching = ##t
> gives no errors.
>
> So at this point we have a compromise between being able to have grace (or
> afterGrace) notes on line breaks and having strict-note-spacing in
> proportional notation.
>
> So the following compiles correctly:
>
> %%%%%%%%%% START %%%%%%%%%%%%%%%%
> \version "2.11.64"
> \include "english.ly"
>
> \layout{
> \context{ \Score
> proportionalNotationDuration = #(ly:make-moment 1 32)
> \override SpacingSpanner #'uniform-stretching = ##t
> }
> }
>
> {
> \new Voice{
> \time 1/4
> c'4
> \break
> \afterGrace c'4 {g'64}
> \break
> c'4
> \break
> c'4
> \break
> }
>
> \new Voice{
> \time 1/4
> c'4
> \break
> \grace{ g'64 }
> c'4
> \break
> c'4
> \break
> c'4
> \break
> }
> }
> %%%%%%%%%%%%%%%%%%% END %%%%%%%%%%%%%%%
>
Yes, so this is still a bug: we need to be able to have "break graces"
together with strict note, proportional spacing. (FWIW, strict-note-spacing
is always supposed to accompany proportionalNotation; ie, when we turn on
proportionalNotation, we're always supposed to turn on strict-note-spacing,
too.)
Trevor.
--
Trevor Bača
address@hidden