bug-lilypond
[Top][All Lists]
Advanced

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

Repeat bar line do not show in polymetric music


From: Gilberto Agostinho
Subject: Repeat bar line do not show in polymetric music
Date: Mon, 26 Aug 2013 00:45:41 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

I am working with some polymetric music (i.e., different time signatures for 
individual instruments), and to do so 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" 
} 

The problem is: when I move the Default_bar_line_engraver from the Score 
context to the Staff context, the automatic bar lines from a \repeat volta n 
{music} stop to appear, and thus have to be manually added. Here is a 
complete example:

\version "2.17.24"
A =  { 
  \time 2/4 
  c'4 e' \repeat volta 2 {g' c''} e'' g'' \bar "|."
}
B = {
  \time 3/4              
  c''4 g' e' 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" 
    } 
  }  
} 

No repeat-bar-lines were printed using the code above with versions 2.17.24, 
2.16.2, 2.14.2 and 2.12.3.





reply via email to

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