lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

\stopStaff \startStaff bug


From: Tomasz Bauć
Subject: \stopStaff \startStaff bug
Date: Thu, 5 Jan 2023 13:16:45 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

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

[Prev in Thread] Current Thread [Next in Thread]