[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\header place in \score block (doc & syntax clarification)
From: |
Marc Mouries |
Subject: |
\header place in \score block (doc & syntax clarification) |
Date: |
Tue, 05 Oct 2010 10:16:18 -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 |
The documentation here
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Introduction-to-the-LilyPond-file-structure#Introduction-to-the-LilyPond-file-structure
says: "A \score block must always contain just one music expression, and
this 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
are not 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?
-Marc
test header place.ly
Description: Text Data