lilypond-user
[Top][All Lists]
Advanced

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

Re: Example of two-pass vertical spacing tweaking


From: Trent Johnston
Subject: Re: Example of two-pass vertical spacing tweaking
Date: Wed, 26 Apr 2006 13:05:32 +1000

Hi Nicolas,

Thanks for your help.

I've downloaded your Lully files and it looks like I've bitten off more than
I can chew. Your files are very integrated so it's hard to try and find
which bits belong were and which bits I need for my files.

Can I send you some of my files so you can see where I am at and hopefully
provide me with some clues as to put what where?

Thanks

Trent

----- Original Message ----- 
From: "Nicolas Sceaux" <address@hidden>
To: "Trent Johnston" <address@hidden>
Cc: <address@hidden>
Sent: Wednesday, April 26, 2006 7:05 AM
Subject: Re: Example of two-pass vertical spacing tweaking


"Trent Johnston" <address@hidden> writes:

> Hi Nicolas and Lilypond-Users,
>
> Thanks for the example of two-pass vertical spacing tweak. I've started to
> put together Handel's Agrippina and thought that this would improve the
> layout of the score.

Agrippina, cool!

Since the time I've made the post you're refereing to, I've made some
further experiments with two-pass tweaking. You can take a look at:
<http://nicolas.sceaux.free.fr/lully/> where you will find a
lully.tar.gz tarball containing the lily source code of a couple of
pieces by Lully. The code is not very well documented, but in
common/functions.ily you should find the tweaking functions, how tweaks
are included, etc. You can look at the results (the PDFs in the same
directory): they are still perfectible, but nice.

Beware, I use a custom page breaking scheme (a naïve one, but which
looks much better with the kind of book I'm typesetting, with lots of
text). So the functions generating the page layout files are also
customized, and the tweaking music function is adapted to those
customized page layout files.

> I've managed to use the example as is and this works although it does
crash
> lilypond not before the PDF file is written so everything is fine
> there.

I get the crash too, but I didn't find out why.

> But
> when I try to adapt this for a larger series of scores if fails with a
> 'Stack Overflow Error'. I've tested this on Lilypond 2.9.2 under both
> Windows and Linux.

With the Lully code, I compile books containing ~50 scores, without
stack overflow. There was a problem in the code I posted here
obviously. If you can't get through the Lully code and adapt it to your
needs, please ask here so that I should help you.

Using the same scheme for Giulio Cesare is also on my TODO list (I first
started to manually tweak each system height and padding... hm how much
time I've lost, scary).

nicolas




reply via email to

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