Hi Arlin,

which version do you use? You should use the manual that fits your
LilyPond version. \hide and \omit have been introduced around 2.19
(others can be more precise) and your error sounds like you use an older
version than required for this. If you need to use the old version, you
need to set the stencil to false (see below).

If I run your snippet with LilyPond 2.19.50, it does what's expected:
the barlines are hidden except the last one.
You could also add
  \hide Score.SpanBar
and undo it later to remove the bar line between staves.


> \override BarLine #'stencil = ##f

This is just the same as
  \omit BarLine
and it won't work, because you need the right context "Staff":
  \omit Staff.BarLine
or equivalent (also working with older versions):
  \override Staff.BarLine #'stencil = ##f


Cheers,
Joram

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to