On Wed, 11 Dec 2024 at 11:59, Owen Le Blanc <zlsi...@gmail.com> wrote: > > Thank you, Xavier. This now works as I would expect. But isn't that > a bug? Should bar disappear if you add it explicitly?
Well, you added 2 \bar commands at the same time (for Lilypond), which is a line break. So only the last one was considered, which was \bar ".|:", the definition of which includes nothing at the end of the line. As explained in the documentation (really, just scroll a little up) and as given in my message, in this case you could use \bar ".|:-||". This example is given as is in the documentation. Kind regards, Xavier