On 2021-06-20 1:13 pm, Flaming Hakama by Elaine wrote:
Ok, so I was going to try figuring out how to use my \barline ":|]" in a
volta repeat

\defineBarLine ":|]" #'(":|]" "" " |.")
\relative {
  \repeat volta 2 { c''4 d e f | }
  \alternative {
    { c2 e | }
    \bar ":|]"
    { f2 g | }
  }
  c1
}

but I get

programming error: Spanner `VoltaBracket' is not fully contained in parent
spanner.  Ignoring orphaned part

And it doesn't print the 2nd ending bracket.

And does anyone have a hint as to how to get the 2nd ending to work when
using this barline?

Your \bar command is sitting outside a music expression, so it is getting treated as an alternative all on its own--if I understand the constructs involved. Try instead:

%%%%
\defineBarLine ":|]" #'(":|]" "" " |.")
\relative {
  \repeat volta 2 { c''4 d e f | }
  \alternative {
    { c2 e | \bar ":|]" }
    { f2 g | }
  }
  c1
}
%%%%

P.S. No idea about the nabble stuff... does the archive [1] at lists.gnu.org have the data you want?
[1]: https://lists.gnu.org/archive/html/lilypond-user/


-- Aaron Hill

Reply via email to