On Sun, Aug 25, 2013 at 11:22 PM, Thomas Morley <thomasmorle...@gmail.com>wrote:

> 2013/8/25 Gilberto Agostinho <gilbertohasn...@googlemail.com>:
> > 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
> > lilypond-user@gnu.org
> > 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
>

Hi Thomas,

Thank you very much for your answer, I didn't realize that the bar line
interface was changed. Now I do understand why the bar lines were not
appearing. But even after reading the page you recommended me, I still
could not make the automatic repeat bar lines appear after \repeat volta 2
{music}; it shows only simple bar lines and I have to manually add bars
such as ".|:", ":..:" and ":|.".

Can anyone help me to figure this out? By the way, it only happens when I
use that snippet in the layout:

\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"

}


Thanks a lot!

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

Reply via email to