Re: Repeat bar line do not show in polymetric music
Hi to everybody, I have found a solution one of my questions on this mailing list, so I thought it would be nice for me to share it here (in case someone might look for it one day). It concerns the lack of automatic repeat bar lines when using \repeat volta N {music} with the following snippet: \layout { \context { \Score \remove Default_bar_line_engraver } \context { \Staff \consists Default_bar_line_engraver } } The solution is to move the Repeat_acknowledge_engraver from the Score to the Staff context in the layout. Also, in order to have the last bar line appearing (\bar |.), the Timing_translator should be also moved from the Score to the Staff context. Here is an example of a working code: \version 2.17.24 A = { \time 2/4 c'4 e' \repeat volta 2 {g' c''} e'' g'' \bar |. } \score { \new Staff { \A } \layout { \context { \Score \remove Timing_translator \remove Default_bar_line_engraver \remove Repeat_acknowledge_engraver } \context { \Staff \consists Timing_translator \consists Default_bar_line_engraver \consists Repeat_acknowledge_engraver } } } Take care, Gilberto On Mon, Aug 26, 2013 at 2:37 AM, Gilberto Agostinho gilbertohasn...@googlemail.com wrote: Hi Thomas, Thank you so much for all your help, I really appreciate it. Well, in this case I will continue to manually add repeat bar lines, but I will also report this as a bug. Hopefully this could be solved in some future update. Take care! Gilberto ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Repeat bar line do not show in polymetric music
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
Re: Repeat bar line do not show in polymetric music
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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeat bar line do not show in polymetric music
On Sun, Aug 25, 2013 at 11:22 PM, Thomas Morley thomasmorle...@gmail.comwrote: 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
Re: Repeat bar line do not show in polymetric music
2013/8/25 Gilberto Agostinho gilbertohasn...@googlemail.com: 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 Hi Gilberto, I boiled it down to the following code: myLayout = \layout { \context { \Score \remove Timing_translator \remove Default_bar_line_engraver } \context { \Staff \consists Timing_translator \consists Default_bar_line_engraver } } \layout { \myLayout } { c'1 \repeat volta 2 { d' } e' } _No_ repeat-bar-lines are printed. Tested with 2.17.24, 2.16.2, 2.14.2 and 2.12.3 From the tested version it is clear that it has nothing to do with the changed bar-line-interace. As soon as the Default_bar_line_engraver is removed from the Score-context things goes bad using \repeat volta x { ... } My knowledge of LilyPonds internals is not deep enough, so I've no clue how to make it work other, than inserting manuel \bar ... For me, it looks like a bug. Though I didn't found any related on the tracker. Sorry to be of not more help, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeat bar line do not show in polymetric music
Hi Thomas, Thank you so much for all your help, I really appreciate it. Well, in this case I will continue to manually add repeat bar lines, but I will also report this as a bug. Hopefully this could be solved in some future update. Take care! Gilberto ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user