--- Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> For me it's the opposite. I find it much harder to > see > the structure if you only have a long \score{...} > where > I have to scroll several pages from beginning to > end. Well if I take docbook as an example a book can have multiple sections no problem. The score block would in your case be confusing because there aren't so many structureal elements in lilypond. I created an xml wrapper for lilypond and proposed a phrase element do do that. The idea is that a fixed structure permits the engraver/composer to forget about structure an concentrate on notating. The tools force the correct structure and the person concentrates on the grammar of the language. > > One thing that may confuse you is that some of the > structural > elements are optional. For example, > \book{ > \score{ > {c d e f} > } > } > can be abbreviated into > {c d e f} > yes that is confusing and why make it confusing? Does this give more power? Does this make things easier to notate? a tool can be trained to laydown the structural elements in a file correctly and automatically. This is done in docbook and it lets the author concentrate on writing. > Probably, you wouldn't have that much problems with > the basic structure > if you had a background in programming languages > like Pascal or C or > Scheme than with the very strictly specified grammar > of XML. True but I know a bit of python. I see what you are saying but I still say a clearly defined and enforced structure would make the entry into lilypond much and I mean much easier to the newbie. > To cite Han-Wen, the strict formal definition of the > input grammar > can be found in the source code file parser.yy. > hmn part of the problem is that the base for lilypond is a fullfleged programing language, which is what gives it its power but also its confusion. If you have time look at lilyxml.sourceforge.net > >>Part of an answer to your question can be found in > >>the > >>sections "Changing context default settings" but this should be in file structure and in a section called layout. and > >>"Defining new contexts" in the manual. There's > also > >>some > >>information in "Line length", but there doesn't I will read these sections again. Aaron __________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user