]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/init.ly
* ly/a4-init.ly (vsize): remove papersize init files.
[lilypond.git] / ly / init.ly
index fd0a20c87978f824b0e060856aae03a7e466f660..0956b0cfce2d657c14c23c5290ef12ac8b2e0644 100644 (file)
@@ -1,10 +1,36 @@
-% Toplevel initialisation file. 
+%% Toplevel initialisation file. 
 
-foo = \tempo 4 = 100 ;
-       
-\version "1.3.59";
+#(define-public point-and-click #f)
+#(define-public midi-debug  #f)
 
 
-\include "declarations.ly";
+\version "2.3.16"
+
+\include "declarations-init.ly"
+
+
+#(ly:set-option 'new-relative)
+#(ly:set-point-and-click #f)
+#(define  toplevel-scores '())
+#(define $globalheader #f)
 
 \maininput
+%% there is a problem at the end of the input file
+
+%%
+%% Above and below comments compensate for the parser's look-ahead.
+%%
+
+#(if (and (ly:get-option 'old-relative)
+      (defined? 'input-file-name)
+      (not (ly:get-option 'old-relative-used)))
+  (ly:warn (string-append
+           "\n"
+           input-file-name ": old relative compatibility was not used."
+       )))%% there is a problem at the end of the input file
+
+
+#(if (pair? toplevel-scores)
+  (ly:parser-print-book parser
+   (apply ly:make-book $defaultbookpaper $globalheader toplevel-scores)))
+