+set_page_permission (SCM sys, SCM symbol, SCM permission)
+{
+ if (Paper_score *ps = dynamic_cast<Paper_score*> (unsmob_music_output (sys)))
+ {
+ vector<Grob*> cols = ps->get_columns ();
+ if (cols.size ())
+ {
+ Paper_column *col = dynamic_cast<Paper_column*> (cols.back ());
+ col->set_property (symbol, permission);
+ col->find_prebroken_piece (LEFT)->set_property (symbol, permission);
+ }
+ }
+ else if (Prob *pb = unsmob_prob (sys))
+ pb->set_property (symbol, permission);
+}
+
+/* read the breakbefore property of a score block and set up the preceding
+ system-spec to honour it. That is, SYS should be the system spec that
+ immediately precedes the score (from which HEADER is taken)
+ in the get_system_specs () list */
+void
+set_system_penalty (SCM sys, SCM header)