[Please always reply to the list!]
> Sure, it looks like this
> [image: image.png]
> and this
> [image: image.png]
>
> seems like it just copies the staff style and removes staff lines.
OK, thanks. The un-compression of MM rests is an intentional feature
of `jianpu10a.ly`. You should contact the author to add a command
that switches compression of MM rests on and off.
Below is a trivial patch to enable MM compression. Note, however,
that this also disables conversion of `R1` to '0 0 0 0', which is
probably not wanted. In other words, I suspect that more tinkering is
necessary to get a solution that really fits current jianpu usage.
Werner
======================================================================
--- jianpu10a-old.ly 2024-03-23 18:20:24.923336345 +0100
+++ jianpu10a.ly 2024-03-24 07:18:42.382334806 +0100
@@ -84,8 +84,7 @@
))
;; REST AND MULTI-MEASURE REST
- ((or (music-is-of-type? m 'rest-event)
- (music-is-of-type? m 'multi-measure-rest))
+ ((music-is-of-type? m 'rest-event)
(let ((dur (ly:moment-main (ly:music-duration-length m))))
(if (>= dur 1/2)
;; split whole and half rests into quarter notes