Am 08.03.2017 um 10:56 schrieb Thomas Morley: > 2017-03-08 10:15 GMT+01:00 Urs Liska <[email protected]>: >> Hi all, >> >> I'd be interested in knowing the exact position of all systems in a >> score. What I'd like to achieve is write out an auxiliary file >> containing information about the musical moment and the vertical >> position of each system. I know about the moment but not about the page >> position. [1] >> >> The goal is to retrieve the current measure when clicking anywhere in a >> score in Frescobaldi. The overall goal is then to be able to sync the >> rendered score, the input, and a manuscript displayed in the Manuscript >> Viewer, which would be terrific to have. >> >> Which property/ies would I have to read out from which objects at what >> time (in which callback)? >> >> Thanks for any suggestions >> Urs >> >> [1] A fallback solution would be to use an approach like >> lilypond-book-preamble to produce the score as a sequence of individual >> files. That would of course also allow the exact linking of a click to a >> system. But I'd prefer to have that functionality independently from >> such far-reaching (and limiting) conditions. > > > Hi Urs, > > if I understand correctly > http://lilypond.1069038.n5.nabble.com/intercepting-implicit-explicit-page-breaks-td194196.html#a194198 > may give you a starting-point. > > There I read barnumbers, but if you look into 'lines' you may be able > to grab the info you want.
Yes, from what an initial print-out of "lines" shows I think it's all in there. > Though its really post-processing and therefore may be too late ... Not at all. What I want is the final state, a list of data points that reflect the rendered PDF. But I'll surely have to come back with further questions ... Best Urs > > Cheers, > Harm -- [email protected] https://openlilylib.org http://lilypondblog.org _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
