bug-lilypond
[Top][All Lists]

## measure numbering problems

 From: Karl Berry Subject: measure numbering problems Date: Tue, 3 Sep 2002 11:10:57 -0400

The attached example input file shows some problems with lilypond's
measure numbering.  This is with the cvs sources, but they were also
present in 1.6.0.

1) there's a spurious measure number printed at the end of each line.
For example, 6 on the first line, which repeats as the measure number
at the beginning of the second line.  This is a printing problem
only, not a numbering problem.

2) the numbering is off from the beginning.  The measure labeled 2' is
actually measure 3, and the real measure 2 is not numbered.

3) the last measure before the repeat is numbered 8.  Then the first
(partial) measure after the repeat is not numbered (it should have
been 9).  And then the first full measure after the repeat is again
numbered 8 (it should be 10).  (Actually, all those numbers are off
by 1 because of problem #2, but you get the idea, I hope.)

Thanks for lilypond,
karl

\version "1.6.1"

title = "Bourrée in e minor (transposed to a)"
composer = "J.S. Bach"
piece = "BWV 996 (top line)"
tagline = "top line"
pagenumber = "no"
}

themusic = \notes \transpose f''' {
%themusic = \notes \transpose c''' {
\key e \minor
\partial 4 e8 fis             % 1
g4 fis8 e dis4 e8 fis         % 2
b,4 cis8 dis e4 d8 c          % 3
b,4 a,8 g,8 fis,4 g,8 a,8     % 4
b,8 a,8 g,8 fis,8 e,4 e8 fis8 % 5
g4 fis8 e8 dis4 e8 fis8       % 6
b,4 cis8 dis e4 d8 c          % 7
b,4 a,8 g, fis,4. g,8         % 8
< d,2. g, >                   % 9
\bar ":|:"

\partial 4 b,8 a,8            % 10
d4 a,8 c b,4 g8 d             % 11
e4 b,8 d c4 b,8 a,            % 12
gis,4 a,8 b, c4 b,8 a,        % 13
a,2. d8 a,                    % 14
b,4 g8 d e4 b,8 d             % 15
c4 a8 e fis4 cis8 e           % 16
d4 cis8 b, ais,4. b,8         % 17
b,2. b8 fis                   % 18
gis4 fis8 e a4 e8 g           % 19
fis4 e8 d g4 d8 f             % 20
e4 a8 e fis4 cis8 e           % 21
dis4 b,2 e8 b,                % 22
c4 d8 a, b,4 c8 g,            % 23
a,4 b,8 fis, g,4 fis,8 e,     % 24
dis,4 e,8 fis, g,4 fis,8 e,   % 25
e,2.  \partial 1              % 26
\bar ":|"
}

\score { <
\property Score.BarNumber \override #'padding = #3
\property Score.BarNumber \override #'break-visibility = #all-visible

\context StaffGroup <
\context Staff <
% Hide fingering number
\property Staff.Fingering \override #'transparent = ##t
\themusic
>
>
> }

`