[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
annotate-spacing draws system-system instead of last-bottom
From: |
Mark Polesky |
Subject: |
annotate-spacing draws system-system instead of last-bottom |
Date: |
Sun, 24 Oct 2010 18:46:52 -0700 (PDT) |
Guys,
Sorry if the "tiny example" is a little long; it took a
while to verify exactly what was going wrong, and it was
hard to find a combination of parameters that demonstrated
the (deceptively simple) issue clearly at all.
One thing that is tiny though, is the page-size (60x60mm)!
You'll need to zoom in with a pdf-reader.
The page is spaced correctly according to the input. But
annotate-spacing displays a "phantom" 'system-system-spacing
set of dimensions where 'last-bottom-spacing is actually in
effect.
The (space min-dist padding) parameters given here are:
( 8 8 6) for 'system-system-spacing, and
(15 15 13) for 'last-bottom-spacing.
In the output, you can see where the 'last-bottom-padding
value of 13 influenced the "space left" dimension, but the
display clearly shows the incorrect (8 6 6) dimension set of
'system-system-spacing.
If this is a trivial fix, it would be great if someone could
fix it quickly. I'm unable to understand the spacing code,
so I use annotate-spacing to quickly double-check my
understanding of the spacing docs, when I'm editing them.
This kind of bug slows my doc-work to a crawl.
Thanks!
- Mark
* * * * * * * * * *
\version "2.13.36"
% effectively makes annotate-spacing show units in millimeters
#(set-global-staff-size (* 4 (/ 72.27 25.4)))
\header { tagline = ##f }
\paper {
annotate-spacing = ##t
system-system-spacing =
#'((space . 8)
(minimum-distance . 8)
(padding . 6)
(stretchability . 8))
last-bottom-spacing =
#'((space . 15)
(minimum-distance . 15)
(padding . 13)
(stretchability . 0))
paper-width = 60\mm
paper-height = 60\mm
ragged-last-bottom = ##f
}
\score {
\new Staff {
\override Score.BarNumber #'break-visibility = #'#(#f #f #f)
\clef bass \repeat unfold 8 { c1 }
}
\layout {
left-margin = 5\mm
right-margin = 5\mm
}
}
annotate-bug.png
Description: PNG image
- annotate-spacing draws system-system instead of last-bottom,
Mark Polesky <=