lilypond-user
[Top][All Lists]
Advanced

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

Re: template died


From: Jan Nieuwenhuizen
Subject: Re: template died
Date: Tue, 27 Jan 2004 09:34:36 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Aaron writes:

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

How did you do the conversion?  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.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

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