gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-music-discuss] Inheritance?


From: Mats Bengtsson
Subject: Re: [Gnu-music-discuss] Inheritance?
Date: Sat, 23 Sep 2000 16:02:13 +0200

> I want to set cues in a parts. I want to use these the same files to
> set a full orchestral score, but I don't want the cues to appear in
> the orchestral score, I want either rests, and if the line is
> completely rests, I want it to disappear, automagically, depending on
> whether something is being set as a part or as a score. What's the
> easiest way to allow an end user to define a 'something' that will do
> this.

The attached example includes all these features.

   /Mats

Attachment: N.W.Gade.tgz
Description: Binary data

The attached patch should solve your problems.
If you want the pages evenly filled, just add a 
line

\paper{
  ...
  interscoreline = "16pt plus 1fill";
}
to your Mudela file. For orchestral scores or other scores
with several staffs per score line, the results may look
fairly ugly, so I don't want to make it the default behaviour.
(The only essential change in the patch is the one-line chage
in lilyponddefs in case you run an older version or installed
from an RPM.)

   /Mats


> Hi!
> 
> I'm wondering if there's a way to get lily to "fill" the page
> right down to the bottom margin.  I'm outputting on 8.5x11in
> with ly2dvi -p letter.  The offset at the top of the page seems
> to be about 1/2 inch, which is fine.  The left and right margins
> are also 1/2 inch, and those are fine, too.  But the offset from
> the bottom of the page wanders all over the place.  Depending on
> the number of systems/staves lily figures she can put on a page, it
> varies from 1/2 inch to 2-3/4 inches!  If I want my scores to
> look good (and naturually I do, or I wouldn't be using lily :) )
> I have to be able to expand the space between systems (most
> of my music is piano or piano/vocal) so that the last one on a
> "short" page doesn't leave a gaping hole at the bottom.  In
> other words, "fill" the page by dividing the leftover space at
> the bottom equally between systems.
> 
> If this is something that can only be done in TeX, could someone
> please give me (or point me toward) very precise instructions?
> I know next to nothing about TeX, being a groff afficianado.

Generated by (address unknown),
>From = lilypond-1.3.88, To = lilypond-1.3.88.mb1

usage 

    cd lilypond-source-dir; patch -E -p1 < lilypond-1.3.88.mb1.diff

Patches do not contain automatically generated files 
or (urg) empty directories, 
i.e., you should rerun autoconf, configure

diff -urN ../lilypond-1.3.88/CHANGES ./CHANGES
--- ../lilypond-1.3.88/CHANGES  Wed Sep 20 00:59:45 2000
+++ ./CHANGES   Sat Sep 23 19:39:02 2000
@@ -1,3 +1,11 @@
+1.3.88.mb1
+==========
+
+* Changed handling of the interscoreline paper variable. 
+  The value should be a string with a TeX length.
+  It's now possible to to get even bottom of the pages using 
+  interscoreline="16pt plus 1fill"
+
 1.3.87.hwn1
 ===========
 
diff -urN ../lilypond-1.3.88/Documentation/user/refman.itely 
./Documentation/user/refman.itely
--- ../lilypond-1.3.88/Documentation/user/refman.itely  Wed Sep 13 00:18:48 2000
+++ ./Documentation/user/refman.itely   Sat Sep 23 19:28:54 2000
@@ -2485,7 +2485,9 @@
     ly2dvi.
 
   @item @address@hidden  
-    Sets the spacing between the score lines. Defaults to 16 pt.
+    Sets the spacing between the score lines. The value should be
+    a string with a length specified in TeX syntax. 
+    Defaults to  @code{"16 pt"}.
 
   @item @address@hidden  
     Specifies an alternate name for the the output @file{s}.
diff -urN ../lilypond-1.3.88/VERSION ./VERSION
--- ../lilypond-1.3.88/VERSION  Wed Sep 20 13:22:34 2000
+++ ./VERSION   Sat Sep 23 19:34:20 2000
@@ -2,7 +2,7 @@
 MAJOR_VERSION=1
 MINOR_VERSION=3
 PATCH_LEVEL=88
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=mb1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff -urN ../lilypond-1.3.88/input/test/vertical-extent.ly 
./input/test/vertical-extent.ly
--- ../lilypond-1.3.88/input/test/vertical-extent.ly    Tue Aug  8 13:49:17 2000
+++ ./input/test/vertical-extent.ly     Sat Sep 23 19:43:30 2000
@@ -13,7 +13,11 @@
     }
   >
   \paper{
-    interscoreline = 3.0\mm;
+    interscoreline = "3.0mm";
+
+%    % Alternative to fill the pages with evenly distributed score lines:
+%    interscoreline = "3.0mm plus 1fill";
+
     \translator{\ScoreContext \remove "Bar_number_engraver";}
     \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
   }
diff -urN ../lilypond-1.3.88/tex/lilyponddefs.tex ./tex/lilyponddefs.tex
--- ../lilypond-1.3.88/tex/lilyponddefs.tex     Tue Aug  8 13:49:17 2000
+++ ./tex/lilyponddefs.tex      Sat Sep 23 19:37:56 2000
@@ -37,7 +37,7 @@
 \ifundefined{mudelapaperinterscoreline}
         \def\interscoreline{\vskip 16pt\myfilbreak}
 \else
-        \def\interscoreline{\vskip\mudelapaperinterscoreline pt\myfilbreak}
+        \def\interscoreline{\vskip\mudelapaperinterscoreline\myfilbreak}
 \fi
 \def\placebox#1#2#3{%
         \botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%

reply via email to

[Prev in Thread] Current Thread [Next in Thread]