]> git.donarmstrong.com Git - lilypond.git/blob - ly/init.ly
(derived_mark): change signature, add
[lilypond.git] / ly / init.ly
1 %% Toplevel initialisation file. 
2
3 #(define-public midi-debug  #f)
4
5
6 \version "2.4.0"
7
8 \include "declarations-init.ly"
9
10
11 #(ly:set-option 'new-relative)
12 #(define toplevel-scores '())
13 #(define $globalheader #f)
14 #(define version-seen? #f)
15
16 #(set-debug-cell-accesses! 2500)
17
18
19 \maininput
20 %% there is a problem at the end of the input file
21
22 %%
23 %% Above and below comments compensate for the parser's look-ahead.
24 %%
25
26 #(if (and (ly:get-option 'old-relative)
27       (defined? 'input-file-name)
28       (not (ly:get-option 'old-relative-used)))
29   (ly:warn (string-append
30             "\n"
31             input-file-name ": old relative compatibility was not used."
32         )))%% there is a problem at the end of the input file
33
34 #(if (not version-seen?)
35   (version-not-seen-message))
36
37 #(if (pair? toplevel-scores)
38   (ly:parser-print-book parser
39    (apply ly:make-book $defaultpaper $globalheader toplevel-scores)))
40