+
\score{
\context RhythmicStaff {
\notes\relative c''{
- \clef percussion;
+ \property RhythmicStaff.clefGlyph = #"clefs-percussion"
+ \property RhythmicStaff.clefPosition = #0
\time 4/4;
r4 r g2 | r4 g r2 | g1:32 | r1 |
}
\paper{
\translator{
\RhythmicStaffContext
- \consists "Clef_engraver"; % Doesn't work!?
+ \consists "Clef_engraver";
}
}
}
void
Text_spanner_engraver::create_grobs ()
{
- /////
if (req_drul_[STOP])
{
if (!span_)
finished_ = span_;
span_ = 0;
current_req_ = 0;
+ req_drul_[STOP] = 0;
}
}
Side_position::set_axis (span_, Y_AXIS);
Grob *e = unsmob_grob (get_property ("currentMusicalColumn"));
span_->set_bound (LEFT, e);
+
announce_grob (span_, req_drul_[START]);
+ req_drul_[START] = 0;
}
}
}
/*
+
text-spanner.cc -- implement Text_spanner
source file of the GNU LilyPond music typesetter
Direction d = LEFT;
do
{
+ extra_off [d]=0;
Item *b = spanner->get_bound (d);
broken[d] = b->break_status_dir () != CENTER;
add_trans_scm_funcs ()
{
scm_make_gsubr ("ly-get-trans-property", 2, 0, 0, (Scheme_function_unknown)ly_get_trans_property);
- scm_make_gsubr ("ly-get-trans-property", 3, 0, 0, (Scheme_function_unknown)ly_get_trans_property);
+ scm_make_gsubr ("ly-set-trans-property", 3, 0, 0, (Scheme_function_unknown)ly_set_trans_property);
}
ADD_SCM_INIT_FUNC(trans_scm, add_trans_scm_funcs);
(iterator-ctor . ,Property_iterator::constructor)
(value . ,(caddr e))
)
- ,(if (not (equal? oct 0))
- `((symbol . clefOctavation)
+ ((symbol . clefOctavation)
(iterator-ctor . ,Property_iterator::constructor)
(value . ,oct)
- ))
+ )
)
(begin
(ly-warn (string-append "Unknown clef type `" cl "'\nSee scm/lily.scm for supported clefs"))
outfile=this.__base + '.dvi'
if Props.get('output') != '':
+ if not os.path.exists(Props.get('output')):
+ os.mkdir(Props.get('output'))
+
outfile = os.path.join(Props.get('output'), outfile )
this.write(r"""