On 11/11/2013 08:08 PM, pabuhr wrote:
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
Change the tilde to an hyphen. It was a fairly recent change, but IDRC when it came in.
Cheers, Colin -- I've learned that you shouldn't go through life with a catcher's mitt on both hands. You need to be able to throw something back. -Maya Angelou, poet (1928- ) _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
