Hi Trevor,
> You need to ensure the layer property is set properly to ensure whiteout
> works reliably. See
> http://www.lilypond.org/doc/v2.13/Documentation/notation/visibility-of-objects#index-layers
I *had* tried fiddling with the layer *of the markup* and that didn't solve the
problem, so I didn't pursue that direction — but your comment made me think to
set the *BarLine* layer, and now it works as expected.
Thanks!
Kieren.
_______________________
\version "2.13"
\paper { ragged-right = ##f }
stamp = \markup \fontsize #-2 \override #'(baseline-skip . 2) \center-column {
Toronto "May 2011" }
stampmarkup = \markup \rotate #90 \whiteout \pad-markup #1 \stamp
finalbar = {
\override Staff.BarLine #'layer = #1
\override Staff.BarLine #'stencil =
#(lambda (grob)
(ly:stencil-combine-at-edge
(ly:bar-line::print grob)
X RIGHT
(grob-interpret-markup grob stampmarkup)
0 0))
\bar "|."
}
\relative c'' {
\repeat "unfold" 40 { c4 }
\finalbar
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user