[Top][All Lists]

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

Re: "context sensitive" layout

From: Mats Bengtsson
Subject: Re: "context sensitive" layout
Date: Tue, 29 Nov 2005 17:03:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

First of all, if you only have a single \book{...} in your
.ly file, you could just as well remove it (the only reason
to use \book{...} is if you want several PDF output files from
one and the same .ly file).

For the page breaks, the solution outlined in
with followups. I think that the solution to the final email in the thread
is to remove the \book in the included file.


Simon Bailey wrote:

hi all,

is there any way i can set a variable globally and react in the
layout/header block depending on the content of the variable?

i have the following files:

trbnI - trbnIV each contain a \book block with numerous pieces (at the
moment 17 and counting) -- which explains why i don't want to have to
create these files for both layout types... creates a5-landscape with 16pt staves;
creates a4 portrait with 20pt staves.

for layouting the 15-landscape version, i've had to force a few
breakbefores in the \header, but these are not needed in the a4
portrait version.

i'm thinking i could define a boolean variable in the
and files, and then set breakbefore accordingly. but i have
no idea how. can anyone help?

thanks, regards,
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.

lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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