-% Toplevel initialisation file.
+%% Toplevel initialisation file.
-#(define-public point-and-click #f)
#(define-public midi-debug #f)
-\version "2.2.0"
+\version "2.4.0"
\include "declarations-init.ly"
#(ly:set-option 'new-relative)
-#(ly:set-point-and-click #f)
-#(define toplevel-scores '())
+#(define toplevel-scores '())
+#(define $globalheader #f)
+#(define version-seen? #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)
(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 (not version-seen?)
+ (version-not-seen-message))
#(if (pair? toplevel-scores)
- (ly:parser-print-book parser (apply ly:make-book $defaultbookpaper $globalheader toplevel-scores)))
-
-#(if (ly:get-option 'verbose)
- (begin
- (gc)
- (write (gc-stats) (current-error-port))
- ))
+ (ly:parser-print-book parser
+ (apply ly:make-book $defaultpaper $globalheader (reverse toplevel-scores))))