[Top][All Lists]

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

janitoring scm/layout-page-layout.scm

From: Nicolas Sceaux
Subject: janitoring scm/layout-page-layout.scm
Date: Fri, 14 Jul 2006 21:04:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)


Here is a patch cleaning the file scm/layout-page-layout.scm:

 - the page dumping function (used in two-pass spacing) is pushed in a
separate file: scm/layout-page-dump.scm;

 - some functions regarding system position and distance are introduced,
and auxiliary functions that were defined inside optimal-page-break are
moved to toplevel;

 - both files have their separate module to avoid polluting the lily

The ultimate goal is to be able to define alternate page breaking
functions more easily, and also to be able to customize what data the
dumping function stores. (this will come in other patches.) And
hopefully to make this part of the code more easily maintenable (for
instance, the space-systems function should be easier to read).

I've tested it against a 60 page score.


Attachment: layout-page-layout.scm
Description: Text document

Attachment: layout-page-dump.scm
Description: Text document

Attachment: page-breaking.patch
Description: Text Data

reply via email to

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