]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/init.ly
(web_kluts): Have make web build in out-www. Not.
[lilypond.git] / ly / init.ly
index 9d8b15f8e954eb42bb7cf84e6f37d8be120a9fd9..c6a5ce4cea056b5f8a3be14da2e40ef81939a60a 100644 (file)
@@ -1,7 +1,7 @@
-% Toplevel initialisation file. 
+%% Toplevel initialisation file. 
 
 #(define-public point-and-click #f)
-#(define-public midi-debug #f)
+#(define-public midi-debug  #f)
 
 
 \version "2.2.0"
 
 #(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
-
+%% there is a problem at the end of the input file
 
 %%
-%% above and below message is to compensate for look ahead of the parser.
+%% 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
-
+       )))%% there is a problem at the end of the input file
 
 
-#(if (ly:get-option 'verbose)
-  (begin
-   (gc)
-   (write (gc-stats) (current-error-port))
-   ))
+#(if (pair? toplevel-scores)
+  (ly:parser-print-book parser
+   (apply ly:make-book $defaultbookpaper $globalheader toplevel-scores)))