if there is too few systems on a page.
2004-06-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/page-layout.scm (default-page-make-stencil): don't stretch
+ if there is too few systems on a page.
+
* lily/parser.yy (relative_music): start at middle C without pitch
argument.
#include "ly-module.hh"
#include "main.hh"
-#include "paper-book.hh"
#include "output-def.hh"
+#include "paper-book.hh"
#include "paper-outputter.hh"
-#include "paper-system.hh"
#include "paper-score.hh"
+#include "paper-system.hh"
#include "stencil.hh"
#include "warn.hh"
-
-/*
- Ugh. the Function of the Paper_book class is unclear. Trim this
- file.
-
- */
-
+#include "ly-smobs.icc"
Paper_book::Paper_book ()
{
{
}
-#include "ly-smobs.icc"
-
IMPLEMENT_DEFAULT_EQUAL_P (Paper_book);
IMPLEMENT_SMOBS (Paper_book)
IMPLEMENT_TYPE_P (Paper_book, "ly:paper-book?")
# requires 800mb RAM with -O2
(cd libgnomecanvas/gnome/gw; perl -i~ -pe 's/-O2//g' Makefile)
-
+
G_WRAP_MODULE_DIR=$HOME/usr/pkg/g-wrap/share/guile/site make install
export GUILE_LOAD_PATH=$HOME/usr/pkg/guile-gnome/share/guile:$GUILE_LOAD_PATH
(interval-length (ly:stencil-extent x Y)))
line-stencils))))
(stretchable-lines (remove ly:paper-system-title? (cdr lines)))
- (stretch (if (null? stretchable-lines)
+ (stretch (if (or (null? stretchable-lines)
+ (> spc-left (/ music-height 2)))
+
0.0
(/ spc-left (length stretchable-lines))))