|
From: | Mike Blackstock |
Subject: | Wikilily: \includes |
Date: | Fri, 05 Sep 2008 11:15:21 -0400 |
User-agent: | Mozilla Thunderbird 1.0.7-1.4.1.centos4 (X11/20051007) |
You'll see there : \include "vocals.ly" \include "pianoRH.ly" \include "pianoLH.ly"The parser sees '\include' and then looks at the page name (in this case, "Gefrorne_Tranen") and uses that as a prefix to find a page called "Gefrorne_Tranen/vocals.ly"; the page contents are then written to the file "vocals.ly" in the lilypond jail tree and lilypond just compiles as per normal.
So if you start a page called "BlowMe" with an include called "NotInYourLife.ly", just make sure you have a page called "BlowMe/NotInYourLife.ly"
on the wiki.Seems to work, as a proof of concept at least. It doesn't recursively descend the files as of yet - if NotInYourLife.ly has itself some '\includes' it won't work - but that's a relatively trivial matter to address.
I grabbed an unfinished, abandoned Mozart symphony project from mutopia and will post that up for anybody who would like to help finish it. I'll post it today or Monday - my boss just poured another glass of Lagavulin in preparation for his garden party so i may not get much work done today.
Cheers, Mike
[Prev in Thread] | Current Thread | [Next in Thread] |