|
From: | Dan Eble |
Subject: | Re: one bar number per system |
Date: | Wed, 2 Sep 2009 18:51:33 -0400 |
Thanks for your replies.\bar allows a break, but does not force it. Ideally, I would like a bar number printed only after a break.
If memory serves, the all-visible override didn't work in mid-measure for the upcoming full-measure bar line. (I do not have the time right now to override the next full-measure bar line by hand in 250 scores.)
I have pieced together an experimental solution to build a hash of manually specified measure numbers, which is used by a custom barNumberVisibility function. It doesn't yet work for my multi-score book, because I based it on the table of contents implementation, so the list is global. I suppose I need to store the list of visible bar numbers in the Score context instead. Is that right?
This will give me a bar number wherever I specify it, whether it is the first one after a break or not. It would be functional, but not exactly what I want.
-- Dan On 2 Sep 2009, at 09:17, Trevor Daniels wrote:
Mats Bengtsson wrote Wednesday, September 02, 2009 1:38 PMTrevor Daniels wrote:Does this not work when inserted immediately before the first full bar on the line? (I haven't actually tried it) \once \override Score.BarNumber #'break-visibility = #'#(#t #t #t)Why not write it as \once \override Score.BarNumber #'break-visibility = #all-visibleOf course, this method works, but it requires that you manually insert it where you know that there will be a line break.Yes, I know. But since Dan is already inserting \bar "" in the places where a mid-bar break is required I wondered why he could not also insert this override before the following bar. Trevor
[Prev in Thread] | Current Thread | [Next in Thread] |