[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
http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00049.html
with followups. I think that the solution to the final email in the thread
is to remove the \book in the included file.
/Mats
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:
marschbuch.ly
concert.ly
trbnI.ly
trbnII.ly
trbnIII.ly
trbnIV.ly
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...
marschbuch.ly creates a5-landscape with 16pt staves; concert.ly
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 marschbuch.ly
and concert.ly files, and then set breakbefore accordingly. but i have
no idea how. can anyone help?
thanks, regards,
simon.
--
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.
_______________________________________________
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
=============================================