FWIW, this issue was reported in 2018 as well http://lilypond.1069038.n5.nabble.com/Accidental-style-in-presence-of-mid-bar-line-breaks-td214207.html. A new accidental style would indeed solve this.
El El sáb, 8 ago 2020 a las 22:37, Werner LEMBERG <w...@gnu.org> escribió: > > > That's a pity, I guess, but seeing that you're manually putting a > > mid-bar break, it makes sense to manually mark the needed accidental > > as well. > > For my use case I really would like to have automatic behaviour. The > example sent to the list was just for demonstration purposes; in > reality I'm using only > > \bar "" > > and let LilyPond decide whether there is a break. And if there is no > break, '!' doesn't do the right thing. > > > Werner > -- www.martinrinconbotero.com