Oh, that was tricky to find because there is no explicit line break. It's a
known problem, mentioned in the Readme on github:

Line breaks are not supported. If a bending is broken by a line break, the
file won't compile: the workaround is using \noBreak
 Il 03/ago/2014 20:01 "Martyn Quick" <martyn_qu...@yahoo.co.uk> ha scritto:

>
> I've finally worked out what is causing the problem with the guitar
> bends.  It is when the engraver is trying to implement a linebreak and
> bending up from one note to the other at the end of the bar.
>
> The following code gives a simple example of it going wrong.  Any ideas
> how to fix this? - I guess manually inserting a \break the bar beforehand
> should at least avoid it!
>
> Martyn
>
>
> \version "2.18.2"
>
> \include "definitions.ily"
>
> \layout {
>   \context {
>     \Staff
>     \override VerticalAxisGroup #'default-staff-staff-spacing =
>     #'((padding . 4))
>   }
> }
>
> music = {
>   \relative a' {
>     \bendOn
>     c4 c c c ( | d ) d d d ( |
>     e ) e e e ( | f ) f f f ( |
>     g ) g g g ( | a ) a a a ( |
>     b ) b b b ( | c ) c c c ( |
>     d ) d d d ( | e ) e e e |
>   }
> }
>
> \score {
>   <<
>   \new Staff {
>     \clef "treble_8"
>     \numericTimeSignature \time 4/4
>     \music
>   }
>   \new TabStaff {
>     \music
>   }
>   >>
> }
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to