[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book "ignores" system-count?
From: |
Dmytro O. Redchuk |
Subject: |
Re: lilypond-book "ignores" system-count? |
Date: |
Tue, 20 Mar 2007 13:50:10 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Tue, Mar 20, 2007 at 11:07:49AM +0100, Mats Bengtsson wrote:
> Now I realize what you really ask about. You are certainly right that
> lilypond-book does not accept options such as
> \begin[system-count=10]{lilypond}
> .
> \end{lilypond}
>
> or
> \lilypondfile[system-count=10]{...}
>
> However, you can easily specify the system-count inside your own LilyPond
> code, for example:
> \begin{lilypond}
> \paper{system-count = 8}
> \score{ \repeat unfold 100 c' }
> \end{lilypond}
No, it's not a case, too. Now the smallest score spans over four pages, so
i should use \lilypondfile[...]{...}
> When first answering your question, I thought that this is what you tried
> and what didn't work (but it clearly does, now that I try it).
No, i have tried to specify system-count inside "\paper" block in
myscore.ly file, but almost any option there is ignored by lilypond-book.
> If you want to use \lilypondfile and don't want to specify system-count
> within that file,
Yes, i do want to specify system-count within lilypond source file!-)
But that didn't work (2.10.20, windows and linux binary versions).
> then you could use a trick like
> \begin{lilypond}
> \paper{ system-count = 10 }
> \include{myfile.ly}
> \end{lilypond}
Great!!!
That works, really. Like this:
\begin{lilypond}
\paper { system-count = #12 }
\include "myfile.ly"
\end{lilypond}
Great, that's much better. Than patching lilypond-book :-D
So, i was definitely doing "bad things" -- thank's a lot for your help :-)
> The only main disadvantage of this solution is that lilypond-book will not
> automatically discover if you have made any changes to the .ly file, so you
> have to manually clean the generated files to make sure that lilypond-book
> processes the .ly file again and doesn't use an old version.
GNU make will help, i hope :-)
>
> /Mats
>
> --
> =============================================
> 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
> =============================================
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk