lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile twice with different includes


From: Urs Liska
Subject: Re: Compile twice with different includes
Date: Fri, 15 Feb 2013 12:32:28 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

Am 15.02.2013 12:18, schrieb Jan-Peter Voigt:
Am 15.02.2013 11:40, schrieb Urs Liska:
You can create an adhoc-book in scheme with a #{-#} construct:

writeScoreOddEven =

#(define-void-function (parser location score)

(ly:score?)

(let ((book #{ \book { \score { $score } } #}))

; process with first-number 1

Unfortunately this gives me the following error:

In procedure memoization in _expression_ (let (book #)):

/home/uliska/Github/openLilyLib/musicexamples/lilypond/writeBook-test/writeScoreOddEven.ly:12:4: In file "/home/uliska/Github/openLilyLib/musicexamples/lilypond/writeBook-test/writeScoreOddEven.ly", line 11: Missing _expression_ in (let (book (#<procedure embedded-lilypond (parser lily-string filename line closures)> parser " \\book { \\score { $score } } "


Your example was either missing a closing bracket or having one opening bracket too much. But that doesn't change anything.
The message is the same with 2.16.0 and 2.17.11.

And I'm not sure whether it is necessary to specify "\score {" inside the let construct (as the argument already is a score). But leaving this out doesn't make a difference either.

Any more thoughts anybody?

Best
Urs





_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]