|
From: | Marc Mouries |
Subject: | Re: \header place in \score block (doc & syntax clarification) |
Date: | Tue, 05 Oct 2010 20:13:34 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 |
thanks for pointing this out. I only look at the log if the compiler fails. > it seems uncritical, and so Lily continues compiling. Should it abort?I find it more handy to have the header located at the beginning of the score rather than at the end. Furthermore, If lilypond can compile correctly whatever place the header is in the scope part, i'd say why printing a warning and why not allowing it?
On 10/5/2010 7:06 PM, RobUr wrote:
Did you notice Lily's log? It complains about the bad \header placement!But it seems uncritical, and so Lily continues compiling. Should it abort?Best, Robert Am 05.10.2010, 15:09 Uhr, schrieb Antheo <address@hidden>:would somebody mind clarifying? Antheo wrote:The documentation herehttp://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Introduction-to-the-LilyPond-file-structure#Introduction-to-the-LilyPond-file-structuresays: "A \score block must always contain just one music expression, andthis must appear immediately after the \score command." and: "these three commands – \header, \layout and \midi – are special:unlike many other commands which begin with a backward slash (\) they arenot music expressions"Which implies that the \header must be placed after the music expression.However, I found that with version 2.12, the lilypond accepts that the header is placed before as well. \version "2.12.3" \score { \header { piece = "lilypond compiles a score where header is placed before the music expression"} { c'4 a b c' } \layout { } } If lilypond compiles the file, I'd assume the documentation needs to be updated??? Would you mind clarifying? http://old.nabble.com/file/p29878274/test%2Bheader%2Bplace.ly test+header+place.ly
[Prev in Thread] | Current Thread | [Next in Thread] |