if (text_)
return;
- SCM s = get_property ("RehearsalMark");
- text_ = new Item (s);
-
-
+ text_ = new Item (get_property ("RehearsalMark"));
announce_grob(text_, rq->self_scm());
}
{
create_items (mark_req_);
- String t;
-
/*
automatic marks.
*/
}
else
{
+ String t ;
+
if (!gh_string_p (m) && !gh_number_p (m))
m = get_property ("rehearsalMark");
{
char c = t[0];
c++;
- next = to_string (c);
+ t = to_string (c);
}
- m = scm_makfrom0str (next.to_str0 ());
+ m = scm_makfrom0str (t.to_str0 ());
}
else
{
m = gh_int2scm (1);
+ t = to_string (1);
}
- daddy_trans_->set_property ("rehearsalMark", m);
-
text_->set_grob_property ("text",
- scm_makfrom0str (t.to_str0 ()));
+ scm_makfrom0str (t.to_str0 ()));
SCM series = SCM_EOL;
SCM family = ly_symbol2scm ("number");
{
if (!isdigit (t[i]))
{
- series = ly_symbol2scm ("bold");
+ /*
+ This looks strange, since \mark "A"
+ isn't printed in bold.
+
+ */
+
+ // series = ly_symbol2scm ("bold");
family = ly_symbol2scm ("roman");
break;
}
if (gh_symbol_p (family))
text_->set_grob_property ("font-family", family);
}
+
+ daddy_trans_->set_property ("rehearsalMark", m);
}
}