[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forcing pagebreaks in multi-score book
From: |
Mats Bengtsson |
Subject: |
Re: Forcing pagebreaks in multi-score book |
Date: |
Thu, 02 Jun 2005 16:34:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
If I were to do something like this, I would probably put the
full \score{...} in the included file. This was also the structure
I had in mind when writing the previous answer. However now that
I read your question more carefully, I notice that you want to
keep the \score within the main file (for some reasone), which
actually makes things much simpler. It should work to just do:
\score { \include "file1" \header{breakbefore=##f}}
\score { \include "file2" \header{breakbefore=##t}}
...
/Mats
Sven Axelsson wrote:
From: Mats Bengtsson [mailto:address@hidden
Subject: Re: Forcing pagebreaks in multi-score book
One hackers solution would be to include
\score{
...
\header{
...
breakbefore = \possiblebreak
}
}
in each score file. In the top level file doing the includes,
you can then define
possiblebreak=##f
at the top of the file and
possiblebreak=##t
before you include a file where you want the page break.
/Mats
Yes, I thought of that. But now after trying it, I see that it doesn't
work. Or perhaps I don't get where to set the variable to true. I
tried both
\book {
...
\score { possiblebreak = ##t \include ... }
...
}
and
\book {
...
possiblebreak = ##t
\score { \include ... }
possiblebreak = ##f
...
}
but both variants gives a syntax error "unexpected STRING".
--
=============================================
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
=============================================