lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat bar line do not show in polymetric music


From: Thomas Morley
Subject: Re: Repeat bar line do not show in polymetric music
Date: Sun, 25 Aug 2013 23:22:19 +0200

2013/8/25 Gilberto Agostinho <address@hidden>:
> Hi all,
>
> I am working with some polymetric music (i.e., different time signatures for
> individual instruments), and obviously the bar lines will not always
> coincide. I am using the following snippet:
>
> \layout {
>   \context { \Score
>     \remove "Timing_translator"
>     \remove "Time_signature_engraver"
>     \remove "Default_bar_line_engraver"
>   }
>   \context { \Staff
>     \consists "Timing_translator"
>     \consists "Time_signature_engraver"
>     \consists "Default_bar_line_engraver"
> }
>
> Everything now works fine, except for the bar line engraver... if I try to
> add repeat bar lines, they will not appear in the final score! Not only
> that, but actually there will be NO bar lines at all on those points! Here
> is a complete example:
>
> \version "2.17.24"
> A =  {
>   \time 2/4
>   c'4 e' \bar ".|:" g' c'' \bar ":|." e'' g'' \bar "|."
> }
> B = {
>   \time 3/4
>   c''4 g' e' \bar "||" c' g c' \bar "|."
> }
> \score {
>   <<
>     \new Staff \A
>     \new Staff \B
>   >>
>   \layout {
>     \context { \Score
>         \remove "Timing_translator"
>         \remove "Time_signature_engraver"
>         \remove "Default_bar_line_engraver"
>     }
>     \context { \Staff
>         \consists "Timing_translator"
>         \consists "Time_signature_engraver"
>         \consists "Default_bar_line_engraver"
>     }
>   }
> }
>
> Note how NO bar lines are shown on staff A. If we remove the /bar "|:" and
> /bar ":|" from A, then we have the simple bar lines as expected.
>
> I have found a possible solution for this problem, although I still do not
> understand why the code in the question above doesn't work properly. The
> solution consists of exchanging all the following commands:
>
> \bar "|:", \bar ":| and \bar ":|:
>
> for:
>
> \bar ".|:", \bar ":|." and \bar ":|.|:
>
> This solution works very well for the "start repeat bar line" and for the
> "stop repeat bar line", but the "stop and start repeat bat line" (the 3rd
> one in the list above) is not in the same style as the default one.
>
> Also, if I use any /repeat volta n {music}, the repeat bar lines do NOT show
> automatically...
>
> Any suggestions on how to solve this?! Thanks a lot!
> Gilberto
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hi Gilberto,

the barline-interface has been changed quite heavily with 2.17.
Please reread
http://lilypond.org/doc/v2.17/Documentation/notation/bars#bar-lines
and shout again, if the problem persists.

If you rework a 2.16-file you should use convert-ly.

Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]