If you check carefully what line number LilyPond complains about,
you'll probably notice that it's the \layout block within the \book
block. As the following small example shows, it not related to
if you have any \paper block or not.
\book{
{c d e f R1*5 }
\layout{\context{\Score skipBars = ##t } }
}
What's even worse is that the layout block is completely ignored.
I have no idea about why this limitation exists in the syntax and
there doesn't seem to be any syntax available to specify a
\layout setting that applies to all \score:s in one \book but not
to the other \book:s. If you only have a single \score in every
\book, then the simple solution is to include the \layout within
the \book block. Also, if the same layout setting should apply
to all book blocks in the file, then you can move it to the top level
of the file.
Can any of the main hackers clarify this issue?
/Mats
Ben Lewis wrote:
When running Lilypond, I'm continually getting a notice about a \paper { ... }
block, when I have one at the top of my document. I'm preparing a file with
multiple \book { ... } sections, each with a \layout { ... } block. Is there
something special about this that I need to know?
~Ben
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel