From 870f7e6b7e7cad371400d83f357ab0c30cebeada Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 30 Sep 2002 14:56:40 +0000 Subject: [PATCH] release commit --- ChangeLog | 6 ++++++ VERSION | 2 +- input/sondag-morgen/GNUmakefile | 2 +- scripts/lilypond-book.py | 8 ++++++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ad20ba5cf..7e8644cd29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-09-30 Han-Wen Nienhuys + + * scripts/lilypond-book.py (make_pixmap): don't produce empty pages. + 2002-09-28 Han-Wen Nienhuys * scm/translator-property-description.scm (voltaOnThisStaff): add @@ -154,6 +158,8 @@ 2002-09-21 Han-Wen Nienhuys + * VERSION: 1.6.4 released + * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. * tex/lilyponddefs.tex: set hsize for plain tex, but only for diff --git a/VERSION b/VERSION index eb76589529..be801bdeb2 100644 --- a/VERSION +++ b/VERSION @@ -1,7 +1,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=6 -PATCH_LEVEL=4 +PATCH_LEVEL=5 MY_PATCH_LEVEL= # Use the above to send patches: MY_PATCH_LEVEL is always empty for a diff --git a/input/sondag-morgen/GNUmakefile b/input/sondag-morgen/GNUmakefile index debf2fa468..e367d4aa01 100644 --- a/input/sondag-morgen/GNUmakefile +++ b/input/sondag-morgen/GNUmakefile @@ -1,6 +1,6 @@ depth = ../.. -examples=sondag-morgen +examples= LOCALSTEPMAKE_TEMPLATES=ly mutopia include $(depth)/make/stepmake.make diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 9764e88085..5aa91fc0ae 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -1135,6 +1135,8 @@ def get_bbox (filename): def make_pixmap (name): bbox = get_bbox (name + '.eps') + + margin = 0 fo = open (name + '.trans.eps' , 'w') fo.write ('%d %d translate\n' % (-bbox[0]+margin, -bbox[1]+margin)) @@ -1144,6 +1146,10 @@ def make_pixmap (name): x = (2* margin + bbox[2] - bbox[0]) * res / 72. y = (2* margin + bbox[3] - bbox[1]) * res / 72. + if x == 0: + x = 1 + if y == 0: + y = 1 cmd = r'''gs -g%dx%d -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -q -sOutputFile=%s -r%d -dNOPAUSE %s %s -c quit ''' @@ -1284,7 +1290,6 @@ def option_help_str (o): arg = arg + o[0] return ' ' + sh + sep + long + arg - def options_help_str (opts): "Convert a list of options into a neatly formatted string" w = 0 @@ -1312,7 +1317,6 @@ Options: Warning: All output is written in the CURRENT directory. - Report bugs to bug-lilypond@gnu.org. Written by Tom Cato Amundsen and -- 2.39.2