I just put my similar file at the top of the directory structure that contains all my ly files and include it in files one or more levels down in the structure by specifying the relative path. E.g. for a file three levels down:
\include "../../../definitions.ly" Nick From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Palmer Sent: Sunday, 6 September 2009 1:07 AM To: lilypond-user Mailinglist Subject: PATH and definitions.ly problem Hi - I feel kind of foolish, but . . . . I haven't had much time to do much Lilypond work on my new-ish Ubuntu setup. I'd like some advice on where to put a generic "definitions.ly" file that I want to include in most of my pieces. I'm afraid that if I put the definitions.ly in my Lilypond program directory, it will be eliminated or overwritten when I upgrade. Any advice? If I put it in in a directory above my working directory (I have more than one working directory), how and where do I specify the path in Lilypond?
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
