]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/paper-defaults.ly
*** empty log message ***
[lilypond.git] / ly / paper-defaults.ly
index 2620cfc1c1e58f2555e793b035e684de44e73492..357692c44a7aa3dd1cc91202cea72671b5c7fda3 100644 (file)
     %%
     ragged-last-bottom= ##t
 
+    %%
+    %% settings for the page breaker
+    %%
+    blank-last-page-force = 0
+    blank-page-force = 10
+
     #(define font-defaults
       '((font-encoding . fetaMusic)))
 
        (baseline-skip . 3)
        (word-space . 0.6)))
 
-    #(define page-breaking optimal-page-breaks)
+    #(define page-breaking ly:optimal-breaking)
+    #(define page-breaking-wrapper page-breaking-wrapper)
+    #(define page-post-process post-process-pages)
+
+    #(define write-page-layout (ly:get-option 'dump-tweaks))
+    #(define system-maximum-stretch-procedure
+       (lambda (line)
+        (if (stretchable-line? line)
+            (let ((height (line-height line)))
+              (/ (* height height) 80.0))
+            0.0)))
+
 %    #(define page-music-height default-page-music-height )
 %    #(define page-make-stencil default-page-make-stencil )
 
     bottom-margin = 6 \mm
     head-separation = 4 \mm
     foot-separation = 4 \mm
-    right-margin = 10 \mm
 
-    left-margin = ##f
     first-page-number = #1
     print-first-page-number =##f
   }