Merge_rests_engraver appears to not be working in 2.18 nor 2.19

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Merge_rests_engraver appears to not be working in 2.18 nor 2.19

Grant Diffey
Hi,

I've copied the example code from
http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#merging-rests
and
pasted it into lilybin at: http://lilybin.com/v13cxt/1 and then tested with
2.18 and 2.19 the results mirror my local result with 2.18,2 on debian

Starting lilypond 2.18.2 [Untitled]...

Processing `/tmp/frescobaldi-_erjhv5d/tmpmvwdg8ci/document.ly'

Parsing...

/tmp/frescobaldi-_erjhv5d/tmpmvwdg8ci/document.ly:1 <0>: warning: no
\version statement found, please add


\version "2.18.2"


for future compatibility

Interpreting music...

warning: unknown translator: `Merge_rests_engraver'

warning: cannot find: `Merge_rests_engraver'

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `document.ps'...

Converting to `./document.pdf'...

Success: compilation successfully completed

Completed successfully in 0.9".


Rests are not combined in the output. The regression test at:
http://lilypond.org/doc/v2.19/input/regression/collated-files.html

also seems to have problems from bar 13 onward


Grant.
_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: Merge_rests_engraver appears to not be working in 2.18 nor 2.19

David Kastrup
Grant Diffey <[hidden email]> writes:

> Hi,
>
> I've copied the example code from
> http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#merging-rests
                          ^^^^^

> and
> pasted it into lilybin at: http://lilybin.com/v13cxt/1 and then tested with
> 2.18 and 2.19 the results mirror my local result with 2.18,2 on debian

Which 2.19?  The documentation corresponds to 2.19.84.

--
David Kastrup

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: Merge_rests_engraver appears to not be working in 2.18 nor 2.19

Aaron Hill
On 2020-03-04 7:16 am, David Kastrup wrote:

> Grant Diffey <[hidden email]> writes:
>
>> Hi,
>>
>> I've copied the example code from
>> http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#merging-rests
>                           ^^^^^
>
>> and
>> pasted it into lilybin at: http://lilybin.com/v13cxt/1 and then tested
>> with
>> 2.18 and 2.19 the results mirror my local result with 2.18,2 on debian
>
> Which 2.19?  The documentation corresponds to 2.19.84.

lilybin.com says 2.19.48 in the drop-down menu, but it is actually using
2.19.55 behind the scenes.

It appears Merge_rests_engraver first showed up in 2.19.60, so lilybin
is just slightly too old.

This is why the \version statement is useful and should not be so
casually cast aside.


-- Aaron Hill

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: Merge_rests_engraver appears to not be working in 2.18 nor 2.19

Grant Diffey
In reply to this post by Grant Diffey
Thanks Aaron,

I thought I'd used this functionality a long time ago but I must have been
using a snippet.

Grant.
_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: Merge_rests_engraver appears to not be working in 2.18 nor 2.19

David Kastrup
Grant Diffey <[hidden email]> writes:

> Thanks Aaron,
>
> I thought I'd used this functionality a long time ago but I must have been
> using a snippet.

It's not been registered for a while of its lifetime I think, so you may
have more luck with

\consists \Merge_rests_engraver

rather than

\consists "Merge_rests_engraver"

--
David Kastrup

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond