Re: "Collect" barnumbers for line and page breaks

2015-01-10 Thread David Nalesnik
Hi Urs, On Sat, Jan 10, 2015 at 3:50 PM, Urs Liska wrote: > Am 10.01.2015 um 22:04 schrieb David Nalesnik: > >> >> >> On Sat, Jan 10, 2015 at 2:06 PM, Urs Liska > > wrote: >> >> Hi David, >> >> thank you for that suggestion. >> I'll try to get my mind aro

Re: "Collect" barnumbers for line and page breaks

2015-01-10 Thread Urs Liska
Am 10.01.2015 um 22:04 schrieb David Nalesnik: On Sat, Jan 10, 2015 at 2:06 PM, Urs Liska mailto:u...@openlilylib.org>> wrote: Hi David, thank you for that suggestion. I'll try to get my mind around this ASAP. On the first sight I don't understand too much of it. But at least

Re: "Collect" barnumbers for line and page breaks

2015-01-10 Thread David Nalesnik
On Sat, Jan 10, 2015 at 2:06 PM, Urs Liska wrote: > Hi David, > > thank you for that suggestion. > I'll try to get my mind around this ASAP. > On the first sight I don't understand too much of it. But at least I > notice that I'm not afraid of these lambda, let and let* constructs > anymore. Fin

Re: "Collect" barnumbers for line and page breaks

2015-01-10 Thread Urs Liska
Hi David, thank you for that suggestion. I'll try to get my mind around this ASAP. On the first sight I don't understand too much of it. But at least I notice that I'm not afraid of these lambda, let and let* constructs anymore. Finally I'm getting *somewhere* to familiarity with the basic wor

Re: "Collect" barnumbers for line and page breaks

2015-01-10 Thread David Nalesnik
On Sat, Jan 10, 2015 at 1:39 PM, David Nalesnik wrote: > \version "2.19.15" > > writeBreaksEngraver = > #(lambda (context) >(let ((out (open-output-file "output.txt"))) > (make-engraver > (listeners >((line-break-event engraver event) > (let* ((ccc (ly:context-pro

Re: "Collect" barnumbers for line and page breaks

2015-01-10 Thread David Nalesnik
Hi Urs, On Sat, Jan 10, 2015 at 8:44 AM, Urs Liska wrote: > Hi list, > > is it possible to collect the measure/measure-position values of all > breaks in a compilation and output that to a logfile? > Yes, it is possible. As far as I can tell, though, an engraver only has access to explicit lin

"Collect" barnumbers for line and page breaks

2015-01-10 Thread Urs Liska
Hi list, is it possible to collect the measure/measure-position values of all breaks in a compilation and output that to a logfile? As mentioned yesterday I found a way to ask LilyPond to compile only a portion of a score by passing a range of measures. And if I had a generated list of all cu