lilypond-user
[Top][All Lists]
Advanced

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

Re: trying to add a new \language


From: Ralf Mattes
Subject: Re: trying to add a new \language
Date: Thu, 16 Jun 2011 10:52:40 +0000 (UTC)
User-agent: Pan/0.132 (Waxed in Black)

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)

Put it into a .ly file and include it.

 HTH Ralf Mattes




reply via email to

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