Re: Detecting first and last pages of a score

2019-09-06 Thread Leah Velleman
This is a very interesting approach! It wouldn't have occurred to me to handle it like this — thank you for taking the time to spell it out and code it up. I'll give it a try! Thanks, LV On Fri, Sep 6, 2019 at 8:01 PM Thomas Morley wrote: > Am Sa., 7. Sept. 2019 um 01:42 Uhr schrieb Thomas Morl

Re: Detecting first and last pages of a score

2019-09-06 Thread Thomas Morley
Am Sa., 7. Sept. 2019 um 01:42 Uhr schrieb Thomas Morley : > > Am Fr., 6. Sept. 2019 um 23:55 Uhr schrieb David Kastrup : > > > > On 06/09/19 17:00, David Kastrup wrote: > > (short of some > > multi-pass algorithm writing out table-of-content like information on > > each run) > > David, > > we have

Re: Detecting first and last pages of a score

2019-09-06 Thread Thomas Morley
Am Fr., 6. Sept. 2019 um 23:55 Uhr schrieb David Kastrup : > > On 06/09/19 17:00, David Kastrup wrote: > (short of some > multi-pass algorithm writing out table-of-content like information on > each run) David, we have a prob-property 'last-in-score, iiuc it's set far too late to be of any use h

Re: Detecting first and last pages of a score

2019-09-06 Thread David Kastrup
Wols Lists writes: > On 06/09/19 17:00, David Kastrup wrote: >> I am not saying "it never will be able to do" things like that but the >> mechanisms are not there even in rudimentary form, so the manner in >> which it may be done at some prospective future time is not clear. > > Is this the sort

Allowing TextSpanner lines to collide, but not the end text

2019-09-06 Thread michaellee94
I'm in the middle of editing a score that uses custom TextSpanners (the Haupstimme and Nebenstimme spanners constructed in http://lsr.di.unimi.it/LSR/Item?id=843). Sometimes the melodic lines go above the staff, and in this case, I'd like to make sure that the glyphs don't collide with the notes, b

Re: Detecting first and last pages of a score

2019-09-06 Thread Wols Lists
On 06/09/19 17:00, David Kastrup wrote: > I am not saying "it never will be able to do" things like that but the > mechanisms are not there even in rudimentary form, so the manner in > which it may be done at some prospective future time is not clear. Is this the sort of thing the editions engrave

Re: Detecting first and last pages of a score

2019-09-06 Thread David Kastrup
Leah Velleman writes: > Well, although my knowledge of the internals is quite limited, it looks to > me like there is precedent for this, involving page headers. As you say, a > score can be placed multiple times. And each time it is placed, it can be > interrupted at different points by page hea

Re: Detecting first and last pages of a score

2019-09-06 Thread Leah Velleman
Well, although my knowledge of the internals is quite limited, it looks to me like there is precedent for this, involving page headers. As you say, a score can be placed multiple times. And each time it is placed, it can be interrupted at different points by page headers. I could see this being qui

Re: Detecting first and last pages of a score

2019-09-06 Thread David Kastrup
Andrew Bernard writes: >> On 3/9/19 7:48 am, Leah Velleman wrote: >>> In >>> https://github.com/lilypond/lilypond/blob/master/ly/titling-init.ly there >>> are predicates that detect if the current page is the first or last >>> one of a /book/, or of a /bookpart/. But it's not clear to me how to >

Re: Detecting first and last pages of a score

2019-09-06 Thread Andrew Bernard
Hello Leah, I have been looking into this. Searching the archives I see you have been asking about this since at least 2015. I don't think it is possible. The control stops art bookparts where you can use the on the fly functions. Next level down at \score - either impossible or not document