[texhax] lilypond/latex and vertical spacing
debian
debian at benburb.demon.co.uk
Sat Jan 26 08:41:03 CET 2008
On Fri, Jan 25, 2008 at 12:03:26PM -0800, Donald Arseneau wrote:
> There is no way LaTeX will break a page in the middle of
> \includegraphics{lily-book-produced.eps}
Actually, lily seems to produce lots (and lots) of small eps files,
one for each line of the tune. The importation of these can indeed
result in unfortunate page breaks.
> Guessing without information, I'll suggest replacing
> \begin{figure} with \noindent\begin{minipage}{\columnwidth}
> and \end{figure} with \end{minipage}\par.
Ah bullseye. Thanks a lot. That is a huge improvement.
It does leave me with lots of white space below some of the tunes and
I understand why this is happening. Latex is including the mini pages
as it finds the \include statements. My latex file is the end result
of a perl script, so I can change the sequence of the \includes, but
there is a fair bit of work in it: arranging the \include statements
to minimise the white space.
Is there any other approach ? I am currently dealing with 179 tunes,
well, in chapters of say 50 or so !
Thanks again.
Joe
More information about the texhax
mailing list