lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How make "piece" behave?


From: David Kastrup
Subject: Re: How make "piece" behave?
Date: Mon, 23 Oct 2017 12:22:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Bernhard Kleine <address@hidden> writes:

> Am 23.10.2017 um 10:00 schrieb David Kastrup:
>> 3.1.5 File structure
>> --------------------
>>
>> A ‘.ly’ file may contain any number of toplevel expressions, where a
>> toplevel expression is one of the following:
>>
>> [...]
>>
>>    • A ‘\header’ block.  This sets the global (i.e., the top of file)
>>      header block.  This is the block containing the default settings of
>>      titling fields like composer, title, etc., for all books within the
>>      file (see *note Titles explained::).
> But why has it to go to \score to correct in an included file?

An included file is not in any manner a separate piece of source code.
It's equivalent to just piecing several files together into a single
file.  The "global" \header block is consulted at the time a score is
converted to graphics, and scores that aren't contained in a book are
converted at the end of reading in all the source code.

So if you have different \header entries in different scores, you need
to put them inside of \score itself for them to get stored and processed
along with the score.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]