Under Lilypond 2.18, the following does not work as expected:

\version "2.19.45"

g b c r-"Fine" \bar "|." \break
\tempo "Trio"
\repeat volta 2 {
c a f f }

The double bar at "Fine" fails to appear. The line closes with a regular bar.

I saw the discussion at Rendering second ending closing bar when followed by another repeat in Lilypond, and the hint in the manual to use \bar ".|:-||". However, no variation of the above yields the desired outcome.

  • Can you post a small, complete example that illustrates the problem?
    – ksnortum
    Aug 2 '15 at 14:20
  • I guess, the problem is, that while you specify how the next bar should look like, you never specify the position where this happens. In my opinion a | should do. The \break statement is concerned with page breaks and has no automatic relation to bars.
    – guidot
    Jul 28 '16 at 15:23

This problem appeared in a multi-staff score. Usage of \repeat was not uniform across staffs. When correcting this, the closing double bar printed correctly.

  • 4
    It would be useful if you include a full code snippet here in the answer that solved the issue. Also you can accept your own answer. This way it will be a good reference for others that may have similar issues.
    – awe
    Oct 1 '15 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.