lilypond-devel
[Top][All Lists]
Advanced

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

Re: What's the point of \book{...} ?


From: Graham Percival
Subject: Re: What's the point of \book{...} ?
Date: Tue, 28 Jun 2005 11:51:11 -0700


On 28-Jun-05, at 6:32 AM, Han-Wen Nienhuys wrote:
Unless there is a serious bug, in a lilypond-book document each page of a \book is output as a lily-xxxx-1.eps, lily-xxxx-2.eps etc. sequence, as well as a single EPS file, whose height is as big as necessary. The latter is

"whose height is as big as necessary" -- what do you mean by that? The height is as big as the music wants, or the height is as big as fills the TeX(info) available
space?

scripts/lilypond-book.py contains this:

# Do we need anything else besides `textwidth'?
def get_latex_textwidth (source):


I can't see any mechanism for getting the available textheight from a
document.  I could have missed it, but that comment suggests that it
doesn't exist.

I think that this demonstrates the problem, but I encountered another
problem when testing.  I know that this demonstrated the problem in
2.5.30.  :)
(making separate post to bug-lilypond about this other issue)

\documentclass[letterpaper]{article}
\usepackage{graphics}
\begin{document}

\begin{lilypond}
\book {
\header{ title = "Foo" }
\score { {
\repeat unfold 8 {c''4 c'' c'' c'' } \break
\repeat unfold 8 {c''4 c'' c'' c'' } \break
\repeat unfold 8 {c''4 c'' c'' c'' } \break
\repeat unfold 8 {c''4 c'' c'' c'' } \break
\repeat unfold 4 {c''4 c'' c'' c'' } \break
\repeat unfold 4 {d''4^"invisible!" d'' d'' d'' } \break
}}}
\end{lilypond}

\end{document}





reply via email to

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