bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stem direction overrides broken in 2.7.7


From: Erik Sandberg
Subject: Re: Stem direction overrides broken in 2.7.7
Date: Sun, 28 Aug 2005 18:15:50 +0200
User-agent: KMail/1.8.1

On Sunday 28 August 2005 13.37, Sven Axelsson wrote:
> Lilypond 2.7.7 Windows
>
> If the first note in the music is a grace note, a stem direction override
> will turn the grace note and not affect the normal notes. This is wrong
> since the grace notes should only be affected by using add-grace-property,
> not by normal overrides.
>
> If the override is instead done in a \layout block, it works as expected.

Thanks for the report. The problem is that \grace implicitly overrides and 
reverts the direction, and that your override is interpreted after this 
implicit override. Ideally, this shouldn't happen, and it is related to the 
way grace note timing is handled. A robust workaround is to move the 
\override to after the grace block.

I added it to bug CVS as grace-override.ly:

%
%Sven Axelsson

\header {
texidoc = "
Voice.Stem #'direction override before a grace block doesn't work.
The override is done after the grace block's implicit override, and gets 
reverted by the
implicit revert.

Workaround: Do the override after the grace block instead.
"
reportedin = "2.7.7"
}

\version "2.6.0"
\layout {raggedright=##t}
\relative {
  \override Voice.Stem #'direction = #-1
  \grace { d32 } d4
}

-- 
Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]