lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 2494 in lilypond: Mismatched alternative blocks wi


From: lilypond
Subject: [Lilypond-auto] Issue 2494 in lilypond: Mismatched alternative blocks with completion_heads_engraver causes unending loop
Date: Tue, 24 Apr 2012 15:09:57 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect

New issue 2494 by address@hidden: Mismatched alternative blocks with completion_heads_engraver causes unending loop
http://code.google.com/p/lilypond/issues/detail?id=2494

Reported by Leo Adamson:

http://lists.gnu.org/archive/html/bug-lilypond/2012-04/msg00104.html

Original post follows:

I'm not top posting.

% The snippet below is a minimal representation of a fairly common type of
% 17th century English dance.

% Two closely related issues:

% 1. The combination of mismatched \alternative blocks, a time signature change,
%    and the Completion_heads_engraver causes an unending loop.

% 2. If you skip the \layout section and use the default Note_heads_engraver,
%    or miss-out the time signature change, compilation completes,
%    but bar-lines appear in the wrong places.
%    This may be expected behaviour for mismatched \alternative blocks,
%    and therefore not a bug. If so, please accept as a feature request that
%    on entering 2nd and later \alternative blocks the beat count within the
%    bar should be reset to where it was at the start of the first block.

% A complete workaround is to use \cadenzaOn inside the \alternative blocks.
% But it would be better if \alternative blocks behaved correctly on their own,
% with no workaround needed.

\version "2.14.2"

\layout {
  \context {
    \Voice
    \remove "Note_heads_engraver"
    \consists "Completion_heads_engraver"
  }
}

\relative c'' {
  \partial 8
  \repeat volta 2 { c8 c2~c4. }
  \repeat volta 2 { b8 }
  \alternative { { b2~b4. } { b1 } }
  \repeat volta 2 { \time 3/4 c2. }
}





reply via email to

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