]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/declarations-init.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / ly / declarations-init.ly
index b500cbf09f37f520df0dcbef8d77ceb36c2210bd..268ecaee7eff6de6d34472ced100bbdebb3f3008 100644 (file)
@@ -1,6 +1,6 @@
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1996--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+%%%% Copyright (C) 1996--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 %%%%                          Jan Nieuwenhuizen <janneke@gnu.org>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
@@ -16,7 +16,7 @@
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+\version "2.14.0"
 
 %% < 1.8 compatibility switch
 #(ly:set-option 'old-relative)
@@ -29,9 +29,9 @@ maxima = #(ly:make-duration -3 0)
 \include "music-functions-init.ly"
 \include "toc-init.ly"
 
-\include "language-init.ly"
-pitchnames = #default-language
-#(ly:parser-set-note-names parser pitchnames)
+%% default note names are dutch
+#(set! default-language "nederlands")
+#(note-names-language parser default-language)
 
 \include "drumpitch-init.ly"
 \include "chord-modifiers-init.ly"
@@ -94,39 +94,8 @@ melismaEnd = #(context-spec-music (make-property-unset 'melismaBusy) 'Bottom)
 laissezVibrer = #(make-music 'LaissezVibrerEvent)
 repeatTie = #(make-music 'RepeatTieEvent)
 
-\include "grace-init.ly"
-\include "midi-init.ly"
-\include "paper-defaults-init.ly"
-
-\layout {
-  unit = #(ly:output-def-lookup $defaultpaper 'unit)
-  mm = #(ly:output-def-lookup $defaultpaper 'mm)
-
-  cm = #(* 10 mm)
-  in = #(* 254/10 mm)
-  pt = #(* 100/7227 in)
-
-  \include "engraver-init.ly"
-
-  #(set-paper-dimension-variables (current-module))
-}
-
-#(set-default-paper-size (ly:get-option 'paper-size))
-
-partCombineListener = \layout {
-  \context {
-    \Score
-    skipTypesetting = ##t
-    ignoreBarChecks = ##t
-    \alias "Timing"
-  }
-}
-
 \include "dynamic-scripts-init.ly"
 \include "spanners-init.ly"
-\include "property-init.ly"
-
-setDefaultDurationToQuarter = { c4 }
 
 %% MAKE-HASH-TABLE in GUILE 1.6 takes mandatory size parameter.
 #(define musicQuotes (make-hash-table 29))
@@ -147,3 +116,37 @@ setDefaultDurationToQuarter = { c4 }
 #(define bookpart-music-handler collect-book-music-for-book)
 
 \include "predefined-fretboards-init.ly"
+\include "string-tunings-init.ly"
+\include "property-init.ly"
+
+\include "grace-init.ly"
+\include "midi-init.ly"
+\include "paper-defaults-init.ly"
+
+\layout {
+    mm = #(ly:output-def-lookup $defaultpaper 'mm)
+    unit = #(ly:output-def-lookup $defaultpaper 'unit)
+
+    in = #(* 25.4 mm)
+    pt = #(/  in 72.27)
+    cm = #(* 10 mm)
+
+    \include "engraver-init.ly"
+
+    #(set-paper-dimension-variables (current-module))
+}
+
+#(set-default-paper-size (ly:get-option 'paper-size))
+partCombineListener = \layout {
+    \context {
+       \Score
+       skipTypesetting = ##t
+       ignoreBarChecks = ##t
+       \alias "Timing"
+    }
+}
+
+setDefaultDurationToQuarter = { c4 }
+
+
+