-----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-string function is not public in (scm display-lily)
> module. 

Yes, I had changed that to define-public, before I did my tests. The problem 
was that I used use-module, which returned an error (since I misspelled it)..

It worked as soon as I used use-modules...

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?

> When you load that file, you change the current module in your
> .ly file, that's why $defaultlayout cannot be found: it is not
> bound in the (scm display-lily) module.

Yes, that was clear...

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKmv3/TqjEwhXvPN0RAjtIAJ9I5XILfdCCgEOxIbc9YHnIu2xv5ACg1YbG
IymbZeJGxfVuR9/4qijQHbQ=
=QD69
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to