Hi,

I wrote a simple function to make and fill empty bars without staff engraver.

It follows:

    nbar = #(define-music-function (number) (integer?)
       #{ \stopStaff
        \repeat unfold #number {s8}
        \startStaff #})


There is a problem when I've got to empty bars next to. The staff don't want to disappear. I don't want to merge them, because of workflow. So I would rather use it in this way:

    \nbar 3

    \nbar 11

    \mnar 9

instead of:

    \nbar 23

I also checked version without the Scheme:

    \stopStaff
    \repeat unfold 9 {s8}
    \startStaff
    \stopStaff
    \repeat unfold 3 {s8}
    \startStaff
    \stopStaff
    \repeat unfold 11 {s8}
    \startStaff

The problem is still present.

Have you got any idea how to fix it?

Thank you :)


Reply via email to