On Mon, 19 Jan 2026, Kieren MacMillan wrote:
> 1. This is a perfect use-case for the edition-engraver. ;)
>
Maybe I will have to conquer my fear of the edition-engraver and learn how
to use it at some point soon …
> 2. I’m never in favour of using “new” objects/contexts if there are ways
> to tweak/hack the existing objects/contexts. As my father was wont to say,
> “’Tis a poor mouse that knows but one hole…” ;)
>
That seems like a good principle. A wise man, your father!
> \context {
> \Score
> \override BarNumber.Y-extent = #'(0 . 14)
> }
>
This works well. I don’t want any visible bar numbers in my output, but I
can’t use \remove "Bar_number_engraver" in combination with your approach,
so instead I am using:
\override BarNumber.transparent = ##t
Thank you, Kieren! You may wish to add your coding approach as a comment on
GitLab <https://gitlab.com/lilypond/lilypond/-/issues/1885>, as I suspect
it will be useful to others.