Re: feature request: semi-automatic vertical spacement

2006-01-29 Thread Han-Wen Nienhuys
Nicolas Sceaux wrote: Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: can you have a look at current CVS? I had to deviate from the original design for naming the tweak files. The current interaction between \book, \score \paper etc. was too messy for a sensible automatic solution. I have not

Re: feature request: semi-automatic vertical spacement

2006-01-29 Thread Nicolas Sceaux
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > you will need to define your own spacingTweaks music function to set > stretching appropriately. > muurbloem:~/src/lilypond$ cat page-layout-twopass-page-layout.ly > blabla = { > \break > \pageBreak > \spacingTweaks #'((system-Y-extent -11.050006 . 0

Re: feature request: semi-automatic vertical spacement

2006-01-28 Thread Han-Wen Nienhuys
Nicolas Sceaux wrote: Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: you will need to define your own spacingTweaks music function to set stretching appropriately. muurbloem:~/src/lilypond$ cat page-layout-twopass-page-layout.ly blabla = { \break \pageBreak \spacingTweaks #'((system-Y-extent

Re: feature request: semi-automatic vertical spacement

2006-01-28 Thread Nicolas Sceaux
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Nicolas Sceaux wrote: >> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: >> >>>can you have a look at current CVS? I had to deviate from the original >>>design for naming the tweak files. The current interaction between >>>\book, \score \paper etc. was

Re: feature request: semi-automatic vertical spacement

2006-01-28 Thread Nicolas Sceaux
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > can you have a look at current CVS? I had to deviate from the original > design for naming the tweak files. The current interaction between > \book, \score \paper etc. was too messy for a sensible automatic > solution. I have not really tested the ne

Re: feature request: semi-automatic vertical spacement

2006-01-26 Thread Nicolas Sceaux
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: The way to define tweak-key for each score block is OK. And using a spacingTweaks function like this is a cool idea. > blabla = { > \break > \pageBreak > \spacingTweaks #'((system-Y-extent -11.050006 . 0.0) > (system-refpoint-Y-extent -4.0 . -4.0) >

Re: feature request: semi-automatic vertical spacement

2006-01-25 Thread Han-Wen Nienhuys
Nicolas Sceaux wrote: Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: Thank you for your answer, Han-Wen. Please count me for this one (195 EUR). I leave the other (reading tweaks) for later, or someone else. However, I'll wait your combined proposal with Trevor's request before actually order

Re: feature request: semi-automatic vertical spacement

2006-01-17 Thread Graham Percival
On 16-Jan-06, at 12:24 PM, Nicolas Sceaux wrote: Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: there should be a user definable function for making the tweak file names, so that the user could put the generated files in some particular directory for instance. (pagelayout-tweak-filename book-id

RE: feature request: semi-automatic vertical spacement

2006-01-17 Thread Fairchild
al Message- From: Trevor Baca [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:01 PM To: Fairchild Cc: Han-Wen Nienhuys; Nicolas Sceaux; lilypond-user@gnu.org Subject: Re: feature request: semi-automatic vertical spacement On 1/17/06, Fairchild <[EMAIL PROTECTED]> wrote: >

Re: feature request: semi-automatic vertical spacement

2006-01-17 Thread Trevor Bača
On 1/17/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Trevor Bača wrote: > > > question, but leaning towards the idea that this and other type of > > page definition information should live outside of the main music > > entry commands. Thoughts?) > > This is hard; if page layout commands aren't

Re: feature request: semi-automatic vertical spacement

2006-01-17 Thread Han-Wen Nienhuys
Trevor Bača wrote: question, but leaning towards the idea that this and other type of page definition information should live outside of the main music entry commands. Thoughts?) This is hard; if page layout commands aren't inside the music, how can you identify which system to use for a part

Re: feature request: semi-automatic vertical spacement

2006-01-17 Thread Trevor Bača
On 1/17/06, Fairchild <[EMAIL PROTECTED]> wrote: > > Some months ago I proposed implementation of individual line spacing control > with\breakSpace #n to force n staff spaces between lines, and > \pageBreakSpace #n to force n staff spaces at the bottom of a page. Spacing > following normal breaks

RE: feature request: semi-automatic vertical spacement

2006-01-17 Thread Fairchild
] [mailto:[EMAIL PROTECTED] On Behalf Of Han-Wen Nienhuys Sent: Tuesday, January 17, 2006 11:45 AM To: Trevor Baca Cc: Nicolas Sceaux; lilypond-user@gnu.org Subject: Re: feature request: semi-automatic vertical spacement Trevor Bača wrote: >>>(Or maybe this is already possible some other way a

Re: feature request: semi-automatic vertical spacement

2006-01-17 Thread Trevor Bača
On 1/17/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Trevor Bača wrote: > >>>(Or maybe this is already possible some other way and I just haven't > >>>researched hard enough; if so, please ignore the request.) > >> > >>Of course it's possible, you just have to write loads of Scheme code :-) >

Re: feature request: semi-automatic vertical spacement

2006-01-17 Thread Han-Wen Nienhuys
Trevor Bača wrote: (Or maybe this is already possible some other way and I just haven't researched hard enough; if so, please ignore the request.) Of course it's possible, you just have to write loads of Scheme code :-) I can look into this. Shall I make a combined quote for refactoring the pa

Re: feature request: semi-automatic vertical spacement

2006-01-16 Thread Nicolas Sceaux
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: >>> there should be a user definable function for making the tweak file >>> names, so that the user could put the generated files in some >>> particular directory for instance. >>> (pagelayout-tweak-filename book-id score-id) => a pathname string. > >

Re: feature request: semi-automatic vertical spacement

2006-01-15 Thread Han-Wen Nienhuys
Graham Percival wrote: Also I thought this morning when I woke up that there should be a user definable function for making the tweak file names, so that the user could put the generated files in some particular directory for instance. (pagelayout-tweak-filename book-id score-id) => a pathname s

Re: feature request: semi-automatic vertical spacement

2006-01-15 Thread Graham Percival
On 14-Jan-06, at 1:40 AM, Nicolas Sceaux wrote: Nicolas Sceaux <[EMAIL PROTECTED]> writes: Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: so the tweaks are dumped to bookfoo-scorebar-pagelayout.ly Also I thought this morning when I woke up that there should be a user definable function fo

Re: feature request: semi-automatic vertical spacement

2006-01-14 Thread Nicolas Sceaux
Nicolas Sceaux <[EMAIL PROTECTED]> writes: > Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: >> * the contents of the table are dumped to a .ly file. >> The \objectid syntax can be used to mark each score with a >> tag, >> >>\book{ \objectid "foo" >> \score { >>\objectid "bar" >

Re: feature request: semi-automatic vertical spacement

2006-01-13 Thread Nicolas Sceaux
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: Thank you for your answer, Han-Wen. > here is an overview of what needs to be done for this: > > * Refactoring layout-page-layout.scm [...] > * Adding a routine to walk each page [...] > * the contents of the table are dumped to a .ly file. > The \ob

Re: feature request: semi-automatic vertical spacement

2006-01-11 Thread Trevor Bača
On 1/11/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Trevor Bača wrote: > >> The pagebreak/linebreak/stretching is put into an alist, and stored > >> with the system in a table > > > > ... will it also be possible to set the *absolute* page position of > > each staff (and therefore each sy

Re: feature request: semi-automatic vertical spacement

2006-01-11 Thread Han-Wen Nienhuys
Trevor Bača wrote: The pagebreak/linebreak/stretching is put into an alist, and stored with the system in a table ... will it also be possible to set the *absolute* page position of each staff (and therefore each system) on a page-by-page basis (by means of some reference point, possibly th

Re: feature request: semi-automatic vertical spacement

2006-01-11 Thread Trevor Bača
On 1/10/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Nicolas Sceaux wrote: > > Han-Wen, > > > > It turns out that manually setting vertical spacement tweak is > > way too fragile. They are easily broken when changing LilyPond version > > for instance. Or if one set manually all tweaks, and the

Re: feature request: semi-automatic vertical spacement

2006-01-10 Thread Han-Wen Nienhuys
Nicolas Sceaux wrote: Han-Wen, It turns out that manually setting vertical spacement tweak is way too fragile. They are easily broken when changing LilyPond version for instance. Or if one set manually all tweaks, and then is told: "could you make margins a bit larger, or use another font size",

feature request: semi-automatic vertical spacement

2006-01-07 Thread Nicolas Sceaux
Han-Wen, It turns out that manually setting vertical spacement tweak is way too fragile. They are easily broken when changing LilyPond version for instance. Or if one set manually all tweaks, and then is told: "could you make margins a bit larger, or use another font size", then the whole work has