Meanwhile, I'm still struggling with the easy task of using one
identifier for another:

 aNotes = \relative c' { ... }

 %%From template:
 \score {
    #(if (not (defined? bNotes))
         (define bNotes aNotes))
    \bNotes
 }

The intention is clear, but LilyPond/Scheme refuses to compile it.


That seems to work.

%%%%%%%%%%%%%%%%
aNotes = { a }
%% bNotes = { b }

#(define dummy #f)            %% has to be ...
#(define bNotes  (if (not (defined? 'bNotes)) aNotes ))


\score { \bNotes
 }
%%%%%%%%%%%%%%%%%

Gilles


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to