On Tue 18 Feb 2025 at 17:56:02 (+0000), Richard Shann wrote:
> At https://lilypond.org/doc/v2.25/Documentation/notation/glissando
> under the section
> Contemporary glissando
> is this example (without the whole bar rest at the end).
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> \version "2.25.18"
> \relative c'' {
> \time 3/4
> \override Glissando.style = #'zigzag
> c4 c
> \cadenzaOn
> c4\glissando
> \hideNotes
> c,,4
> \unHideNotes
> \cadenzaOff
> \bar "|"
> % R1*4/4
> }
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
>
> When the whole measure rest is present two whole measure rests appear and an
> empty bar.
>
> Is there a fix for this?
A fix would necessitate knowing what you want to print.
Perhaps it's something like the attached?
Cheers,
David.
\relative c'' {
\time 3/4
\override Glissando.style = #'zigzag
c4 c
\cadenzaOn
c4\glissando
\hideNotes
c,,4
\unHideNotes
\cadenzaOff
%%\bar "|" |
s |
R2.
}