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-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to