Am Mo., 6. Jan. 2020 um 01:09 Uhr schrieb Thomas Morley
<[email protected]>:
>
> Am Mo., 6. Jan. 2020 um 00:53 Uhr schrieb Malte Meyn <[email protected]>:
> >
> >
> >
> > Am 06.01.20 um 00:02 schrieb Craig Dabelstein:
> > > Hi all,
> > >
> > > I've been using the custom mmr-range-engraver (from this thread:
> > > https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00505.html).
> > > It was working perfectly under 2.19.82 but won't work under 2.19.83. No
> > > error messages at all. Just mmr bar numbers not displaying. Has anyone
> > > else experienced this?
> > >
> > > Craig
> >
> > Could you please give a minimal working example (or at least link to the
> > message containing a compilable code, not to the start of the thread)?
> >
>
> It's
> https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00543.html
>
> A minimal for the problem:
>
> \markup
> \center-column {
> foo
> \translate #'(0 . 3)
> \with-dimensions #empty-interval #empty-interval
> bar
> }
>
> With 2.19.82 "bar" is printed, it completely disappears with 2.19.83
> No clue what happens and why.
> Probably a bug, to tired to do further research, thoug.
>
> Anyway,
> Craig change formatMMRNumber to:
>
> formatMMRNumber =
> #(define-scheme-function (start stop)(integer? integer?)
Delete the line below, it's forgotten debugging code.
> (pretty-print (number->string (- stop start)))
> #{
> \markup
> \column {
> \halign #0 #(number->string (- stop start))
> % %% value found by try and error
> \translate-scaled #'(0 . -6.5)
> \with-dimensions #empty-interval #empty-interval
> \halign #0
> \normal-text
> \fontsize #-2
> \line {
> #(number->string (1+ start))
> " - "
> #(number->string stop)
> }
> }
> #})
>
> and the functionality should be restored.
>
> Cheers,
> Harm