"Pierre Perol-Schneider" <[email protected]> wrote in message news:caphotuxkcmyassgepbrt-iw3ey7j7iao8rx7-xbn1tzrp2o...@mail.gmail.com...
>I'm not top posting.

Dear Bug Squad,

On this page:
http://www.lilypond.org/doc/v2.19/Documentation/learning/saving-typing-with-variables-and-functions.html

There's a typo down here:

violin = \relative c'' {
 \repeat volta 2 {
   c4._\markup { \italic \bold dolce } b8 a8 g a b |
   \once \override TextScript.padding = #5.0
   c4.^"hi there!" d8 e' f g d |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   c,4.\markup { %% <= 'c,4.-\markup {'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
   }
   b8 c4 c-. |
 }
}

Cheers,
Pierre

Agreed. I actually think this is a fairly poor example. As well as the error, the padding is not obvious because of the e' following it, and the use of

\layout { ragged-right = ##t }

is atypical of examples in the LM.  I think I'll prepare a patch.

--
Phil Holmes



_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to