Urs Liska <[email protected]> writes:

> Hi,
>
> as asked on the -user list I am looking for a way to collect the
> positions of all breaks in a LilyPond score.
> http://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00185.html
> suggests that at the time engravers are doing their work the line and
> page breaking hasn't been performed so engravers can't help with
> that. But I'm quite sure LilyPond *has* a way to produce this
> information somehow.
>
> The goal is to find a way to recompile just a certain page or system
> using the skipTypesetting property, which works well for entering or
> editing music as long as the changes don't require changed breakings
> (which would then require a complete recompilation, resulting in a new
> list of breaks.
>
> So I have
> a) the question if there already *is* a way to retrieve the moments
> (barnumber plus measure-position) of all explicit and implicit breaks
> in a score and write them to a log file?
> b) if it's confirmed that currently there is no way to do so please
> add this as a feature request to the tracker.

We had discussed this or something related at some point of time, maybe
David Nalesnik remembers more.

It probably involves the after-line-breaking hook of some grob, getting
the respective ly:spanner-bound of the broken pieces and take a look at
their

     (when ,ly:moment? "Global time step associated with this column
happen?")

property (this documentation string is pretty messed up and probably
warrants fixing).  I think it is something like a pair of global time as
well as measure position.

Sorry that this is not more than a bunch of handwaving keywords right
now, but I think that there is a reasonable chance that it's at least
the right kind of keyword...

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to