On Tuesday 15 November 2005 14.37, Gilles wrote: > Hello. > > > >> - Partial bars: > > >> You probably don't want to use \partial in the middle of a piece. In > > >> your example, it tends to destroy the bar numbering. I think it's a > > >> better idea to set Timing.measureLength directly. > > > > One thing that might be easier is using \cadenzaOff, which will handle > > setting Timing.measurePosition correctly for you. (See also > > \cadenzaOn, which turns off timing.) > > The problem comes from "\unfoldRepeats" ! > See the attached files for a stripped-down but complete example > of the construct; the desired print output is achieved using > "\cadenzaOn" and "\cadenzaOff", as suggested.
(btw, it can be further reduced e.g. by removing two.ly) > (1) > First, is this in effect the most straightforward way to obtain > the expected result? No, a problem is that \cadenzaOff doesn't mark the end of the bar (there will be four beats before the candenza bar is finished). > What would the equivalent incantation using "Timing.measurePosition"? I guess it'd be something like \set Timing.measurePosition = #(make-moment 1 4) where you now inserted \cadenzaOn. But I don't know, so please experiment. > (2) > In the 3rd attached file, when "\unfoldRepeats" is put back in, > warnings show up: That's becaue you don't end the cadenza within the repeat. Repeat unfolding works in principle by copy&paste, so you will have two \cadenzaOn:s followed by two cadenzaOff:s in your example; this may give unexpected results. -- Erik _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond