source file of the GNU LilyPond music typesetter
- (c) 1998 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1998--1999 Jan Nieuwenhuizen <janneke@gnu.org>
*/
#include "command-request.hh"
#include "mark-engraver.hh"
-#include "engraver-group.hh"
-#include "g-text-item.hh"
+#include "engraver-group-engraver.hh"
+#include "text-item.hh"
ADD_THIS_TRANSLATOR (Mark_engraver);
mark_req_l_ = 0;
axis_ = Y_AXIS;
type_ = "mark";
+ visibility_lambda_ = ly_eval_str ("mark-visibility");
}
void
{
create_items (mark_req_l_);
text_p_->text_str_ = mark_req_l_->str_;
- text_p_->style_str_ = text_p_->text_str_.index_any_i ("0123456789") >= 0
- ? "mark" : "Large";
+ SCM st = ly_str02scm ((text_p_->text_str_.index_any_i ("0123456789") >= 0 )
+ ? "mark" : "large");
+ text_p_->set_elt_property ("style", st);
}
}
+