outline with outer edge of note heads. This prevents infinity
problems with tied whole notes.
* scripts/lilypond-book.py (do_file): use os.popen
* python/convertrules.py (conv): add rule for Stem #'beamed-*
+2006-03-15 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/tie-formatting-problem.cc (set_chord_outline): initialize
+ outline with outer edge of note heads. This prevents infinity
+ problems with tied whole notes.
+
+ * scripts/lilypond-book.py (do_file): use os.popen
+
+ * python/convertrules.py (conv): add rule for Stem #'beamed-*
+
2006-03-14 Erik Sandberg <mandolaerik@gmail.com>
2006-03-14 Erik Sandberg <mandolaerik@gmail.com>
- * Documentaiton/user/invoking.itely: Add ragged-right to bug report
+ * Documentation/user/invoking.itely: Add ragged-right to bug report
guidelines.
2006-03-14 Graham Percival <gpermus@gmail.com>
guidelines.
2006-03-14 Graham Percival <gpermus@gmail.com>
Real x = robust_relative_extent (bounds[0], x_refpoint_, X_AXIS)[-dir];
chord_outlines_[dir].at (0).height_ = x;
}
Real x = robust_relative_extent (bounds[0], x_refpoint_, X_AXIS)[-dir];
chord_outlines_[dir].at (0).height_ = x;
}
+ else
+ {
+ Interval x;
+ for (vsize i = 0; i < head_boxes.size (); i++)
+ {
+ x.unite (head_boxes[i][X_AXIS]);
+ }
+
+ chord_outlines_[dir].at (0).height_ = x[dir];
+ }
+
for (vsize i = 0; i < boxes.size (); i++)
insert_extent_into_skyline (&chord_outlines_[dir] ,
boxes[i], Y_AXIS, -dir);
for (vsize i = 0; i < boxes.size (); i++)
insert_extent_into_skyline (&chord_outlines_[dir] ,
boxes[i], Y_AXIS, -dir);
conversions.append (((2, 7, 28), conv,
"""ly:spanner-get-bound -> ly:spanner-bound"""))
conversions.append (((2, 7, 28), conv,
"""ly:spanner-get-bound -> ly:spanner-bound"""))
+def conv (str):
+ for a in ['beamed-lengths', 'beamed-minimum-free-lengths',
+ 'beamed-extreme-minimum-free-lengths']:
+ str = re.sub (r"\\override\s+Stem\s+#'%s" % a,
+ r"\\override Stem #'details #'%s" % a,
+ str)
+ return str
+
+conversions.append (((2, 7, 29), conv,
+ """override Stem #'beamed-* -> #'details #'beamed-*"""))
+
def conv (str):
str = re.sub (r'\epsfile *#"', r'\epsfile #X #10 #"', str)
return str
def conv (str):
str = re.sub (r'\epsfile *#"', r'\epsfile #X #10 #"', str)
return str
(ly:pt 12)))))))
(add-node 'upright 'normal)
(ly:pt 12)))))))
(add-node 'upright 'normal)
+ (add-node 'caps 'normal)
(add-node 'upright 'bold)
(add-node 'italic 'normal)
(add-node 'italic 'bold))
(add-node 'upright 'bold)
(add-node 'italic 'normal)
(add-node 'italic 'bold))
else:
if os.path.exists (input_filename):
input_fullname = input_filename
else:
if os.path.exists (input_filename):
input_fullname = input_filename
- elif global_options.format == LATEX and ly.search_exe_path ('kpsewhich'):
- input_fullname = os.read_pipe ('kpsewhich ' + input_filename).read()[:-1]
+ elif global_options.format == LATEX and ly.search_exe_path ('kpsewhich'):
+ input_fullname = os.popen ('kpsewhich ' + input_filename).read()[:-1]
else:
input_fullname = find_file (input_filename)
else:
input_fullname = find_file (input_filename)