+2002-09-30 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scripts/lilypond-book.py (make_pixmap): don't produce empty pages.
+
2002-09-28 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* scm/translator-property-description.scm (voltaOnThisStaff): add
2002-09-21 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * 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
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))
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 '''
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
Warning: All output is written in the CURRENT directory.
-
Report bugs to bug-lilypond@gnu.org.
Written by Tom Cato Amundsen <tca@gnu.org> and