- {
- /*
- Todo: should make typecheck?
-
- OTOH, Tristan Keuris writes 8/20 in his Intermezzi.
- */
- warning (_f ("Found strange time signature %d/%d.",
- den,
- gh_scm2int (gh_car (fr))
- ));
- }
-
-
- last_time_fraction_ = fr;
- time_signature_ = make_item ("TimeSignature");
- time_signature_->set_property ("fraction",fr);
-
- if (time_signature_)
- announce_grob (time_signature_, SCM_EOL);
+ {
+ /*
+ Todo: should make typecheck?
+
+ OTOH, Tristan Keuris writes 8/20 in his Intermezzi.
+ */
+ warning (_f ("strange time signature found: %d/%d",
+ int (scm_to_int (scm_car (fr))),
+ den));
+ }
+
+ time_signature_ = make_item ("TimeSignature", SCM_EOL);
+ time_signature_->set_property ("fraction", fr);
+
+ if (last_time_fraction_ == SCM_BOOL_F)
+ time_signature_->set_property ("break-visibility",
+ get_property ("implicitTimeSignatureVisibility"));
+
+ last_time_fraction_ = fr;