??? What happens if you "ly2dvi drums.ly"?
Here it is...
address@hidden test]$ ly2dvi drums.ly
Running LilyPond...
-I /home/jiba/src/lilypond-1.5.54/input/test -H dedication -H title -H
subtitle -H subsubtitle -H footer -H head -H composer -H arranger -H
instrument -H opus -H piece -H metre -H meter -H poet -H texttranslator -H
papersize -H textheight -H pagenumber -H language -H latexheaders -H
latexoptions -H linewidth -H latexpackages -H unit -H orientation
/home/jiba/src/lilypond-1.5.54/input/test/drums
GNU LilyPond 1.5.54
Now processing: `/home/jiba/src/lilypond-1.5.54/input/test/drums.ly'
Analyse...Backtrace:
In unknown file:
?: 0* [#<procedure #f #> #]
In /usr/local/share/lilypond/scm/drums.scm:
123: 1* (if (equal? # "Request_chord") (set! music #) (let* # # # ...))
125: 2 (let* (# # # # ...) (if # #) (if # #) ...)
...
147: 3 [ly-set-mus-property # element ...
149: 4* [#<procedure #f #> #]
123: 5* (if (equal? # "Request_chord") (set! music #) (let* # # # ...))
125: 6 (let* (# # # # ...) (if # #) (if # #) ...)
131: 7* (if (pair? es) (ly-set-mus-property music (quote elements) ...))
132: 8 [ly-set-mus-property # elements ...
132: 9* [map #<procedure #f (music)> (# # # # ...)]
In unknown file:
?: 10* [#<procedure #f #> #]
In /usr/local/share/lilypond/scm/drums.scm:
123: 11* (if (equal? # "Request_chord") (set! music #) (let* # # # ...))
124: 12 (set! music (make-drum-head kit music))
124: 13* [make-drum-head timbales #]
65: 14 (let ((es #)) (if (equal? es #) req-ch (let* # #)))
...
73: 15 (let* (# # # ...) (add-articulation-script req-ch script) ...)
73: 16* [#<procedure #f (p)> #<Pitch f' >]
93: 17 (letrec ((p2p (lambda # #))) (p2p drum-pitch-names))
In unknown file:
?: 18 [p2p ...
<unnamed port>: While evaluating arguments to p2p in expression (p2p
drum-pitch-names):
<unnamed port>: Unbound variable: drum-pitch-names
erreur: lilypond: command exited with value 512
Traceback (most recent call last):
File "/usr/local/bin/ly2dvi", line 836, in ?
run_lilypond (files, outbase, dep_prefix)
File "/usr/local/bin/ly2dvi", line 435, in run_lilypond
system ('lilypond %s %s ' % (opts, fs))
File "/usr/local/bin/ly2dvi", line 229, in system
error (msg)
File "/usr/local/bin/ly2dvi", line 127, in error
raise _ ("Exiting ... ")
Exiting ...
If i copy the "drum-pitch-names" define from drums-pitch.ly to drums.scm,
it works...
Jiba