]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/declarations-init.ly
(Creating contexts):
[lilypond.git] / ly / declarations-init.ly
index 4cbadfea8385c8a1783be64a1e1438035f94dfb4..428c78d248aa0bc5cc3ea8a5e98de9c0e2231474 100644 (file)
@@ -1,6 +1,6 @@
 #(ly:set-option 'old-relative)
 
-\version "2.1.29"
+\version "2.1.30"
 breve = #(ly:make-duration -1 0)
 longa = #(ly:make-duration -2 0 )
 maxima = #(ly:make-duration -3 0)
@@ -45,19 +45,24 @@ melismaEnd = #(make-span-event 'ManualMelismaEvent STOP)
 
 % Do units first; must be done before any units are specified.
 \paper {
-    unit = "mm"  %% ugh: coupled to LilyPond C++ code.
+    unit = #(ly:unit)
     mm = 1.0
     in = 25.4
     pt = #(/  in 72.27)
     cm = #(* 10 mm)
 
     #(define font-defaults
-      '((font-family . music)
-       (font-shape . upright)
+      '((font-encoding . music))
+      )
+
+    #(define text-font-defaults
+      '((font-encoding . text)
        (baseline-skip . 2)
        (word-space . 0.6)
-       (font-series . medium)
-    ))
+       ))
+
+    #(define page-breaking ly:ragged-page-breaks)
+    %#(define page-breaking ly:optimal-page-breaks)
     
     \include "engraver-init.ly"
 }