bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Center a number above a measure


From: Colin Hall
Subject: Re: Center a number above a measure
Date: Wed, 11 Apr 2012 01:56:28 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Apr 08, 2012 at 05:28:39PM -0500, David Nalesnik wrote:
> Hi,
> 
> 2012/3/28 Colin Hall <address@hidden>
> 
> >
> > On Wed, Mar 28, 2012 at 05:02:49PM +0100, James wrote:
> > > hello,
> > >
> > > 2012/3/28 Clément Ryder <address@hidden>:
> > > ...etc.
> > >
> > > So it seems that this is really the enhancement request stated before
> > >
> > > http://code.google.com/p/lilypond/issues/detail?id=146 (if not
> > > exactly, in essence).
> >
> > Both enhancement requests are on the same general topic, which is
> > automated counting of items (e.g. bars) in the music that are repeated.
> >
> > This recent request from Clement, as Xavier pointed out, calls for
> > slightly more advanced features than the one which resulted in issue
> > 146.
> >
> > > I just don't see any value in poo-pooing useful suggestions, (complex
> > > or otherwise), for a problem that we already know about and is not
> > > implemented 'elegantly' in the code.
> > >
> > > Eventually you just end up irritating people and they stop helping.
> >
> > Understood, but I'm ok with the comments. Xavier's suggestion of using
> > that context property was a good one.
> >
> > In summary then:
> >
> > Lilypond does not have a feature for automated counting of arbitrary
> > items. See issue trackers 2445 and 146 for more information.
> >
> > Code has been contributed for making a start on implementing this
> > feature. See the issue trackers above.
> >
> > You can get a "1" above a single bar of full measure rest using this
> > syntax:
> > {
> >  \set restNumberThreshold = #0
> >  R1 | R1 | R1 |
> > }
> >
> > Lilypond does not support counting the first item of a percent repeat.
> >
> > I hope Clement will prepare a simple documentation suggestion to make the
> > role
> > of restNumberThreshold clearer.
> >
> I've come up with the following Scheme engraver which allows you to create
> a counter above measures (whether they are associated with repeated music
> or not). This should work in 2.14.2, too, provided that you adjust the
> position of \measureCounterStart and \measureCounterEnd.

Thanks very much for that, David. I've updated the issue tracker with
your post and your engraver.

http://code.google.com/p/lilypond/issues/detail?id=2445

I hope that the correspondents on this issue will try out your
engraver and let us know how it works for them.

Cheers,
Colin.

-- 

Colin Hall



reply via email to

[Prev in Thread] Current Thread [Next in Thread]