R. Mattes wrote: > > On Wed, 15 Jun 2011 13:52:22 -0700, -Eluze wrote: > >> hi >> >> for some experiments i want to add a new language - let's call it >> myLanguage. >> >> i know i can add it in \scm\define-note-names.scm and this works >> perfectly. however i don't want to change this file with every release >> and i am wondering if there is a way to include such definitions in a >> similar way to -dinclude-settings=….ly. >> >> thanks for any hints! >> Eluze > > Hmm, maybe I don't understand your question, but why not: > > #(set! language-pitch-names > (cons `(myLanguage ((ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))) > ....) > language-pitch-names) > thanks - but when i try to compile (eliminating the 4 dots and adding a closing bracket ")" - i tried in several places - i get errors:
test2.ly:2:1: error: GUILE signaled an error for the expression beginning here # (set! language-pitch-names error: failed files: "test2.ly" In file "test2.ly", line 1: Missing or extra expression in (set! language-pitch-names (cons (quasiquote (myLanguage ((ceses unquote (ly:make-pitch -1 0 DOUBLE-FLAT)))))) language-pitch-names). since i do not really understand scheme i have no idea how to fix this Eluze -- View this message in context: http://old.nabble.com/trying-to-add-a-new-%5Clanguage-tp31855111p31862050.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
