This lilypond code snippet: %% Generated by lilypond-book.py %% Options: [exampleindent=10.16\mm,fragment,indent=0\mm,line-width=160\mm,quote,relative=1] \include "lilypond-book-preamble.ly"
% **************************************************************** % Start cut-&-pastable-section % **************************************************************** \paper { indent = 0\mm line-width = 160\mm % offset the left padding, also add 1mm as lilypond creates cropped % images with a little space on the right line-width = #(- line-width (* mm 3.000000) (* mm 1)) line-width = 160\mm - 2.0 * 10.16\mm % offset the left padding, also add 1mm as lilypond creates cropped % images with a little space on the right line-width = #(- line-width (* mm 3.000000) (* mm 1)) } \layout { } \relative c' { % **************************************************************** % ly snippet contents follows: % **************************************************************** \sourcefileline 1274 \tempo 4 = 40 ~ 46 c4. e8 a4 g b,2 d4 r % **************************************************************** % end ly snippet % **************************************************************** } generates this error: Compilation started at Mon Nov 11 22:06:59 lilypond --ps test1.ly GNU LilyPond 2.17.28 Processing `test1.ly' Parsing... test1.ly:1275:15: error: syntax error, unexpected EVENT_IDENTIFIER \tempo 4 = 40 ~ 46 test1.ly:1267:1: error: errors found, ignoring music expression \relative c' fatal error: failed files: "test1.ly" Compilation exited abnormally with code 1 at Mon Nov 11 22:06:59 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user