Re: Calling functions defined in a .scm file in a .ly file

2009-09-01 Thread nicolas . sceaux
Reinhold Kainhofer a écrit : > is it okay to change note-name->lily-string (and octave->lily-string) to > define-public instead, so e.g. debugging statements can print out the human- > readable pitch name? I guess nobody will object. ___ lilypond-dev

Re: Calling functions defined in a .scm file in a .ly file

2009-08-30 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Sonntag, 30. August 2009 20:59:56 schrieb Nicolas Sceaux: > Le 30 août 09 à 14:44, Reinhold Kainhofer a écrit : > > I tried inserting > > #(use-module (scm display-lily)) > > in my .ly file, but that didn't work at all. > > The note-name->lily-stri

Re: Calling functions defined in a .scm file in a .ly file

2009-08-30 Thread Nicolas Sceaux
Le 30 août 09 à 14:44, Reinhold Kainhofer a écrit : I'm struggling with how to access a function that is define- public'ed in an scm file. In particular, the file define-music-display-methods.scm defines the note-name->lily-string function to return a human-readable representation of the giv

Calling functions defined in a .scm file in a .ly file

2009-08-30 Thread Reinhold Kainhofer
I'm struggling with how to access a function that is define-public'ed in an scm file. In particular, the file define-music-display-methods.scm defines the note-name->lily-string function to return a human-readable representation of the given pitch. Now, I want to call that from a custom function