On Wed, Jan 8, 2020 at 7:28 AM David Nalesnik <david.nales...@gmail.com> wrote:
>
> Hi Daniel,
>
> On Tue, Jan 7, 2020 at 5:18 PM Daniel Rosen <drose...@gmail.com> wrote:
> >
> > I just rediscovered David Nalesnik's metronome-mark-alignment function in 
> > this thread that I originally started years ago: https://bit.ly/2QUmi6H
>
> I just rediscovered it too!  Completely forgot I had done this.
> >
> > The function works fine as long as Metronome_mark_engraver only exists in 
> > the Score context. However, if it's added to, say, a Staff context or a 
> > Voice context, it prevents the file from compiling and yields the following 
> > error messages:
> >
> > > ~/example.ly:23:14: In expression (ly:make-simple-closure (quasiquote #)):
> > > ~/example.ly:23:14: Unbound variable: ly:make-simple-closure
> >
> > See the attached example.
>
> >
> > Can anyone tweak this function so that it will work under these conditions?
> >
>
> The problem is that ly:make-simple-closure has been removed.  I
> replaced the old default with the new definition (found in the
> Internals Reference), and the function works again.  See attached.

The "new default for MetronomeMark.X-offset" I should say....

Reply via email to