2011/12/19 luis jure <l...@internet.com.uy>:

> thanks a lot, writing scheme functions is way above my limited abilities...

you may have a look in output-lib.scm
You'll see I just copied and modified the code. :)

>
> i still have a question, though, because i am far from understanding the
> logic of lilypond syntax (and even less its internals): isn't it possible
> to just print a bar at any arbitrary place? why doesn't it work at the
> beginning of the staff?

Well, I'm not a developer, but I'm sure they will agree, when I say: a
bar at the beginning of a line is nonsense.

The following illustrates a curious output, if this would be the default:

\relative c' {
        c1
        \break
        \bar ":|:"

\once\override Score.BreakAlignment #'break-align-orders =
       #(make-vector 3
         '(left-edge
          staff-bar
          ambitus
          breathing-sign
          clef
          key-cancellation
          key-signature
          time-signature
          custos))

        d1
}

A vertikal line at begin should be the duty of the SystemStartBar. But
because I didn't manage to hack the SystemStartBar to the desired
output, I created this workaround.

BTW, it will only work with \bar "|" . If you want e.g. \bar ":|:" at
a linebreak more hackish trickery is needed (and I'm not sure, if it
will work at all)


Best,
  Harm

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

Reply via email to