lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 2863 in lilypond: Explicit line breaking not worki


From: lilypond
Subject: [Lilypond-auto] Issue 2863 in lilypond: Explicit line breaking not working with whichBar in 2.16
Date: Wed, 26 Sep 2012 21:34:52 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect

New issue 2863 by address@hidden: Explicit line breaking not working with whichBar in 2.16
http://code.google.com/p/lilypond/issues/detail?id=2863

Reported by Karim Haddad:
http://lists.gnu.org/archive/html/bug-lilypond/2012-09/msg00116.html

This code works in 2.14, but not in 2.17; The break works if \once \set Staff.whichBar = "|" is commented out:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.14.1"

one = {
  %%%%%%%%%%%%%%%%%%%%%%% MESURE : 1 %%%%%%%%%%%%%%%%%%%%%%%
  \time 6/5
  \set Staff.timeSignatureFraction = #'(6 . 5)
  c'1.*1/5
  \once \set Staff.whichBar = "|"
  \break
  \bar""

  %%%%%%%%%%%%%%%%%%%%%%% MESURE : 2 %%%%%%%%%%%%%%%%%%%%%%%
  \time 2/1
  \set Staff.timeSignatureFraction = #'(2 . 1)
  c'!\breve*1/4
  \once \set Staff.whichBar = "|"
}

two = {
  %%%%%%%%%%%%%%%%%%%%%%% MESURE : 1 %%%%%%%%%%%%%%%%%%%%%%%
  \time 1/1
  \set Staff.timeSignatureFraction = #'(1 . 1)
  c'1*1/4
  \once \set Staff.whichBar = "|"
  %%%%%%%%%%%%%%%%%%%%%%% MESURE : 2 %%%%%%%%%%%%%%%%%%%%%%%
  \time 7/3
  \set Staff.timeSignatureFraction = #'(7 . 3)
  c'\breve..*1/6
  \once \set Staff.whichBar = "|"
}

\score {
  {
    << \new StaffGroup <<
        \new Staff  { \one }
        \new Staff  { \two }
      >>
    >>
  }

  \layout {
    \context {
      \Voice
      \remove Forbid_line_break_engraver
    }
    \context {
      \Score
      \override NonMusicalPaperColumn #'line-break-permission = ##f
    }
  }
}

Attachments:
        bug.preview-2.17.2.png  3.2 KB
        bug-2.14.2.png  14.1 KB




reply via email to

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