It's quite strange because the \displayMusic says :

(make-music
  'SequentialMusic
  'elements
  (list (make-music
          'RelativeOctaveMusic
          'element
          (make-music
            'SequentialMusic
            'elements
            (list (...)
                  (make-music
                    'ContextSpeccedMusic
                    'context-type
                    'Score
                    'element
                    (make-music
                      'OverrideProperty
                      'pop-first
                      #t
                      'grob-property-path
                      (list (quote break-visibility))
                      'grob-value
                      #(#t #t #t)
                      'symbol
                      'BarLine))
                  (make-music
                    'ContextSpeccedMusic
                    'context-type
                    'Timing
                    'element
                    (make-music
                      'PropertySet
                      'value
                      ".|"
                      'symbol
                      'whichBar))

                  (...notes...)

                  (make-music
                    'ContextSpeccedMusic
                    'context-type
                    'Timing
                    'element
                    (make-music
                      'PropertySet
                      'value
                      "|."
                      'symbol
                      'whichBar))
                  (make-music
                    'EventChord
                    'elements
                    (list (make-music
                            'LineBreakEvent
                            'break-permission
                            'force)))
                  (make-music
                    'ContextSpeccedMusic
                    'context-type
                    'Timing
                    'element
                    (make-music
                      'PropertySet
                      'value
                      ".|"
                      'symbol
                      'whichBar))

                  (...notes...)

                  (make-music
                    'ContextSpeccedMusic
                    'context-type
                    'Timing
                    'element
                    (make-music
                      'PropertySet
                      'value
                      "|."
                      'symbol
                      'whichBar)))))))

And the only difference between the two \bar "|." is that the first has a \break next...
No idea at this time... sorry

JMarc

On 29/09/2010 19:17, Sam Domonkos wrote:
I am definitely closer thanks to your visibility reference. The remaining problem seems to come when a \bar "|." is followed by a \bar "|." even if they are separated by a \break. To confirm this I tried

\bar ".|" \bar "|." \bar ".|" \bar "|."

...and only the last is printed.

For example

\version "2.13.34"
\relative c''' {
\override Score.BarLine #'break-visibility = #all-visible
  \cadenzaOn
  \bar ".|" c1 \bar "|." \break
  \bar ".|" c1 \bar "|."
}

At the end of the first line the \bar "|." is not printed.

Thanks,
--Sam


On 2010-09-29 11:35, Vicente Solsona wrote:
I would like to explicitly separate parts of music by having these bar lines always at the beginning and end of parts, but they do not all print.

the answer is probably at the Notation Reference 5.4.7 "Visibility of objects" -> "Using break-visibility"

\version "2.13.14"

you seem to be using a highly experimental version ("pre-alpha" status). consider upgrading to "2.13.34" ("alpha near beta" status).

greetings,

Vicente



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

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

Reply via email to