[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: |
Mon, 19 Mar 2007 18:01:29 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hmm, i did not receive my own post...
Anyway, since i need to have lilypond-book working with system-count
parameter, i modified a lilypond-book script (diff see below).
So, a question to developers.
In the same way it's possible, of course, add another parameters, which
could be present in "paper" section.
But which is the right way to do this?
-------------------------------------------------------
--- lilypond-book.original 2007-03-19 17:03:47 +0200
+++ lilypond-book 2007-03-19 17:53:29 +0200
@@ -234,6 +234,7 @@
FONTLOAD = 'fontload'
FILENAME = 'filename'
ALT = 'alt'
+SYSTEM_COUNT = 'system-count'
# NOTIME has no opposite so it isn't part of this dictionary.
@@ -518,7 +519,8 @@
VERBATIM,
FONTLOAD,
FILENAME,
- ALT
+ ALT,
+ SYSTEM_COUNT
]
ly_options = {
@@ -1064,6 +1066,10 @@
elif relative > 0:
relative_quotes += "'" * relative
+ # UURGS...
+ if SYSTEM_COUNT in override.keys():
+ compose_dict[PAPER].append ('system-count = #%(system-count)s')
+
paper_string = string.join (compose_dict[PAPER],
'\n ') % override
layout_string = string.join (compose_dict[LAYOUT],
-------------------------------------------------------
On Mon, Mar 19, 2007 at 03:18:26PM +0200, Dmytro O. Redchuk wrote:
> Hello,
>
> I couldn't create pdf page with lilypond-book with system-count
> as requested in lilypond source. So, when i set
> system-count = #12
> and make it with lilypond -- all is well, but processing with
> lilypond-book gives me (significantly,) less system-count.
>
> Can anyone help me, please?
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
- lilypond-book "ignores" system-count?, Dmytro O. Redchuk, 2007/03/19
- Re: lilypond-book "ignores" system-count?, Mats Bengtsson, 2007/03/19
- Re: lilypond-book "ignores" system-count?,
Dmytro O. Redchuk <=
- Re: lilypond-book "ignores" system-count?, Dmytro O. Redchuk, 2007/03/19
- Re: lilypond-book "ignores" system-count?, Mats Bengtsson, 2007/03/20
- Re: lilypond-book "ignores" system-count?, Dmytro O. Redchuk, 2007/03/20
- Re: lilypond-book "ignores" system-count?, Mats Bengtsson, 2007/03/20
- Re: lilypond-book "ignores" system-count?, Dmytro O. Redchuk, 2007/03/20
- Re: lilypond-book "ignores" system-count?, Mats Bengtsson, 2007/03/20
- Message not available
- Re: lilypond-book "ignores" system-count?, Mats Bengtsson, 2007/03/21