The attached minimal example (taken from an LSR snippet) cause the volta 
engraver to print a warning, although the file is perfectly fine and should 
work without a warning:

reinhold@einstein:~/lilypond/lilypond$ LANGUAGE=C lilypond volta-bracket-
shortening.ly 
GNU LilyPond 2.15.12
Processing `volta-bracket-shortening.ly'
Parsing...
Interpreting music... 
warning: cannot end volta spanner
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `volta-bracket-shortening.ps'...
Converting to `./volta-bracket-shortening.pdf'...
Success: compilation successfully completed

The Volta_engraver::process_music checks for each ongoing repeat whether a 
bracket exists. if it doesn't it prints that warning, even though the bracket 
might have been ended earlier legally.

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
\version "2.15.12"

\header {
  texidoc = "
By default, the volta brackets will be drawn over all of the
alternative music, but it is possible to shorten them by setting
@code{voltaSpannerDuration}."
}

\relative c'' {
  \time 3/4
  \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
  \repeat volta 2 { d2. }
  \alternative {
    {
      e2.
      f2.
    }
    { g2. }
  }
}

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to