Re: printing bar line positions into a file

2012-01-29 Thread Thomas Morley
Hi Werner, 2012/1/29 Werner LEMBERG w...@gnu.org: I want to collect the horizontal positions of all bar lines (or rather, the position of the first beat in a bar) within an output text file. I'm not a scheme guru (so I'm sure the code could be more elegant) but the attached file seems to

Re: printing bar line positions into a file

2012-01-29 Thread Werner LEMBERG
further testing showed some problems. [...] Currently I've no idea to avoid this, I will think about it furthermore. Thanks! Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: printing bar line positions into a file

2012-01-28 Thread Werner LEMBERG
I want to collect the horizontal positions of all bar lines (or rather, the position of the first beat in a bar) within an output text file. I'm not a scheme guru (so I'm sure the code could be more elegant) but the attached file seems to work (reading out every NoteColumn on the first

Re: printing bar line positions into a file

2012-01-26 Thread Thomas Morley
Hi Werner, 2012/1/25 Werner LEMBERG w...@gnu.org: To all Scheme gurus: I want to collect the horizontal positions of all bar lines (or rather, the position of the first beat in a bar) within an output text file. Has someone written something similarly, possibly sharing his or her code?

Re: printing bar line positions into a file

2012-01-26 Thread David Nalesnik
Hi Harm, One Problem: I couldn't get rid of the duplications in the log-file. You can cut down the duplications for this example if you override 'after-line-breaking of a grob that doesn't appear frequently, like StaffSymbol: barLineTest = \override Staff.StaffSymbol #'after-line-breaking =

Re: printing bar line positions into a file

2012-01-26 Thread Thomas Morley
Hi David, 2012/1/27 David Nalesnik david.nales...@gmail.com: Hi Harm, One Problem: I couldn't get rid of the duplications in the log-file. You can cut down the duplications for this example if you override 'after-line-breaking of a grob that doesn't appear frequently, like StaffSymbol:

printing bar line positions into a file

2012-01-25 Thread Werner LEMBERG
To all Scheme gurus: I want to collect the horizontal positions of all bar lines (or rather, the position of the first beat in a bar) within an output text file. Has someone written something similarly, possibly sharing his or her code? Werner