lilypond-user
[Top][All Lists]
Advanced

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

Re: template died


From: Aaron
Subject: Re: template died
Date: Tue, 27 Jan 2004 12:41:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031119 Debian/1.4.0.x.1-20

Jan Nieuwenhuizen wrote:

Aaron writes:

Could someone tell me whats wrong and how to fix it?

How did you do the conversion?

I just ran convert.ly on the template.Thanks
Aaron

Try the patch below

--- aaron.ly    2004-01-27 09:33:47.000000000 +0100
+++ aaron-ok.ly 2004-01-27 09:32:39.000000000 +0100
@@ -20,7 +20,7 @@
    (ly:set-mus-property! music 'element (text-map func element)))
   (if (not (null? elements))
    (ly:set-mus-property! music 'elements
-      (map (lambda (m) (text-map func m) elements))))
+      (map (lambda (m) (text-map func m)) elements)))
   music))

% Does Scheme really not include this function?
@@ -34,7 +34,7 @@
% Sandwich every word between PRE and POST
#(define (text-augment pre post)
  (lambda (lyric)
-   (text-map (lambda (word) (string-append pre word post) lyric))))
+   (text-map (lambda (word) (string-append pre word post)) lyric)))

% I factored out the lyrics, and also tried setting
% the extra-offset property randomly.  It works.







reply via email to

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