lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \book usage


From: Mats Bengtsson
Subject: Re: \book usage
Date: Thu, 03 Nov 2005 11:02:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511



Graham Percival wrote:


On 2-Nov-05, at 4:06 AM, Gilles wrote:

\documentclass{article}
\begin{document}
\lilypondfile{1allegro/score.ly}
\liypondfile{2largo/score.ly}
\end{document}


If I understand correctly, this is to make it possible to insert
text between the different movements (as is the purpose of \book).
Right?


The purpose of using lilypond-book here is just to stick multiple scores together, with page numbering.

Could you please remind me and others on why you could not simply do it
all within a .ly file:
\version "2.6.0"
\paper{
% For version 2.6:
scoreTitleMarkup = \bookTitleMarkup
% For version 2.7:
printallheaders = ##t
}

\include "piece1.ly"
\include "piece2.ly"
...

Now I remember one problem, namely that you have to move all \header{...}
blocks into the corresponding \score{...} block, otherwise all the pieces will get the same title. But are there any other problems that you solve easier with
lilypond-book?

--- 1allegro/score.ly


According to Han-Wen's remark, with or without \book here, the
result should be the same.


Not if you're using lilypond-book. If you don't use \book, then you can't use \pageBreak in your scores. There used to be a bug (in Aug) wherein the horizontal alignment of some systems was also messed up without \book; I'm not certain if that's still around.

That's a rather special issue and should be described in the lilypond-book
manual. I still find the information about \book in the main manual very
misleading, both in "8.1.4 Text markup", "10.1.12 Multiple movements"
and "5.8 File structure". If you agree, I can try to reformulate it.

  /Mats




reply via email to

[Prev in Thread] Current Thread [Next in Thread]