]> git.donarmstrong.com Git - lilypond.git/commitdiff
Make non-title markup blocks page-breakable by default.
authorJoe Neeman <joeneeman@gmail.com>
Mon, 19 Feb 2007 21:21:38 +0000 (08:21 +1100)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 19 Feb 2007 21:21:38 +0000 (08:21 +1100)
lily/paper-book.cc

index 950ca5c12105f9a8434780df62431ef0d503878c..c6bcccde7ab64e78ad7d1392191f67e7b0eb3984 100644 (file)
@@ -344,6 +344,12 @@ Paper_book::get_system_specs ()
          
          // TODO: init props
          Prob *ps = make_paper_system (SCM_EOL);
+         /* we don't have a way of specifying page-{break,turn} on
+            markup blocks, so for now we just set everything turnable
+           and breakable by default */
+         ps->set_property ("page-break-permission", ly_symbol2scm ("allow"));
+         ps->set_property ("page-turn-permission", ly_symbol2scm ("allow"));
+         
          paper_system_set_stencil (ps, *unsmob_stencil (t));
          ps->set_property ("is-title", SCM_BOOL_T); 
          system_specs = scm_cons (ps->self_scm (), system_specs);