lilypond-user
[Top][All Lists]
Advanced

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

Re: Error about paper block?


From: Mats Bengtsson
Subject: Re: Error about paper block?
Date: Fri, 22 Feb 2008 10:17:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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