Hi,
Well in fact, i already have a base .ly that i include in all my finals
.ly . This is inside this common .ly that i have copied the
drumPitchNames .
But still this doesn't seem for me very clean to have to do that. I'd
like a way to add content to a definition structure rather than copy it.
Maybe that's simply not possible to do this with the language used by
lilypond.
L.
You can create your own "definitions.ly" file as described in the
Learning Manual here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Style-sheets#Style-sheets
Then you just have to put \include "definitions.ly" at the top of your
documents.
I like to put the definitions file in my $HOME directory because I
found that if I put it in the directory with the other lilypond
program files it kept getting deleted when I upgraded lilypond. If
you put it in the home directory, be sure to include the home
directory in your lilypond command:
lilypond --include=$HOME filename.ly
This is the command on Linux anyway. I don't recall which OS you're
using. You'll have to adjust if you're on Mac or Windows (actually I
have no idea how to do this on Windows...)
Jon
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user