[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book mysteries
From: |
David Bobroff |
Subject: |
Re: lilypond-book mysteries |
Date: |
Sat, 20 Aug 2005 10:21:01 +0000 |
On Sat, 2005-08-20 at 12:12 +0200, Han-Wen Nienhuys wrote:
> David Bobroff wrote:
> > I'm anticipating a possible need for lilypond-book. I've been
> > experimenting with a short file to see how everything interacts so I can
> > get a feel for how it works.
> >
> > I've run into some unexpected results. If I run this through straight
> > LilyPond (2.7.6) it's fine:
> >
> >
> > %% File myfile.ly
> >
> > \score {
> > \relative c' {
> > c1 \break
>
> > c
> > }
> > }
> >
> >
> > It becomes mysterious, however, if I call the above *.ly file from
> > lilypond-book:
> >
>
> don't know what is happening, but it's easier to judge when you inspect
> the corresponding lily-XXXXX.ly file.
>
Well, here it is:
%% Generated by lilypond-book
%% Options: [alt=[image of music],linewidth=444\pt,indent=0\mm]
#(set! toplevel-score-handler print-score-with-defaults)
#(set! toplevel-music-handler (lambda (p m)
(print-score-with-defaults
p (scorify-music m p))))
#(ly:set-option (quote no-point-and-click))
#(define version-seen? #t)
% ********************************
% Start cut-&-pastable-section
% ********************************
\paper {
#(define dump-extents #t)
linewidth = 444\pt
indent = 0\mm
}
\layout {
}
% ly snippet:
\renameinput "indent.ly"
\score {
\relative c' {
c1 \break
c
}
\layout {
% indent = 2\cm
}
}
% end ly snippet