I'm just reading the LilyPond parser code :-)

See the attached image for a simplified structure definition of a score block.

Well, \set is a music expression, namely a music property definition. What is good to remember is that there is 3 kinds of output definition: \paper, \layout and \midi

Bert

Werner wrote:
Hello Bertalan.

Bertalan Fodor <lilypondtool <at> organum.hu> writes:

It is because a score block, ie. \score { ... } can only contain the following: - one music expression OR one score identifier (a score defined as a variable)


- THEN zero or more header, output definition or object_id_setting

So \layout ... is something of that an \set isn't???
\set Score.skipBars = ##t in itself is a music expression, so in your first snippet the score would contain 2 music expression (the \new Staff and the \set). It is not allowed.

I couldn't imagine, that \set Score.skipBars = ##t
was a music expression, for me it seems to be a command concerning the layout...
Do you have a hint about what is what (no idea about „object_id_setting“ and
„output definition“)? In the docu-section 10.1 Input files and 10.1.1, 10.1.2 File structure I didn't
found out so much.

Thank you a lot!

Werner



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user



--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu

<<inline: lilystruct.png>>

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to