- print ();
- progress_indication (_ ("Preprocessing elements...") + " ");
- line_l_->breakable_col_processing ();
- fixup_refpoints ();
- line_l_->pre_processing ();
-
- progress_indication ("\n" + _ ("Calculating column positions...") + " " );
- line_l_->space_processing ();
-
- Array<Column_x_positions> breaking = calc_breaking ();
- line_l_->break_into_pieces (breaking);
-
- for (SCM s = element_smob_list_; gh_pair_p (s); s = gh_cdr (s))
- {
- Score_element *sc = unsmob_element (gh_car (s));
- sc->do_break_processing ();
- }
- for (SCM s = element_smob_list_; gh_pair_p (s); s = gh_cdr (s))
- {
- Score_element *sc = unsmob_element (gh_car (s));
- sc->handle_broken_dependencies ();
- }
-
- outputter_l_ = new Paper_outputter ;
- outputter_l_->output_header ();
-
- outputter_l_->output_version();
-
- if (header_global_p)
- outputter_l_->output_scope (header_global_p, "mudela");
- if (header_l_)
- outputter_l_->output_scope (header_l_, "mudela");
-
- outputter_l_->output_comment (_ ("Outputting Score, defined at: "));
- outputter_l_->output_comment (origin_str_);
-
- if (paper_l_->scope_p_)
- outputter_l_->output_scope (paper_l_->scope_p_, "mudelapaper");
-
- SCM scm = gh_list (ly_symbol2scm ("experimental-on"), SCM_UNDEFINED);
- outputter_l_->output_scheme (scm);
- scm = gh_list (ly_symbol2scm ("header-end"), SCM_UNDEFINED);
- outputter_l_->output_scheme (scm);
-
-
- /*
- This is tricky: we have to put the font definitions before the
- actual output, but we don't know all fonts in advanced: generating
- the output might trigger loading of a new font. So we store the
- place to insert the font definitions, generate the output and then
- insert the definitions
+ if (verbose_global_b)
+ progress_indication (_f ("Element count %d (spanners %d) ",
+ system_->element_count (),
+ system_->spanner_count ()));
+
+ progress_indication (_ ("Preprocessing graphical objects...") + " ");
+
+ /* FIXME: Check out why we need this - removing gives assertion failures
+ down the road.
+
+ doubly, also done in Score_engraver */
+ Link_array<Grob> pc (system_->columns ());
+ pc[0]->set_property ("breakable", SCM_BOOL_T);
+ pc.top ()->set_property ("breakable", SCM_BOOL_T);