bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bugs with \set Staff.whichBar


From: Keith OHara
Subject: Re: Bugs with \set Staff.whichBar
Date: Sat, 24 Nov 2012 22:16:45 -0800
User-agent: Opera Mail/12.01 (Win32)

On Sat, 24 Nov 2012 16:44:15 -0800, Thomas Morley <address@hidden> wrote:

2012/11/25 Keith OHara <address@hidden>:
Ben Rudiak-Gould <benrudiak <at> gmail.com> writes:

The 2.16 documentation says that \set Staff.whichBar = "|:" "will create a
start-repeat bar in this staff only".

I suppose desired behavior is to have at least one way to change one bar-line
in one staff, preferably the way it was done in version 2.14

Using code: [...]
compiles fine with 2.12.3, 2.14.2, 2.16.0 and [...] 2.17.8


Oops.  I oversimplified the example; after looking at so many erroneous 
bar-lines, apparently I saw correct ones and thought they were wrong!

  \version "2.16.1"
  << \new Staff {
    \once\set Staff.whichBar = "|:"
    b2 b2 b2 b2
    \once\set Staff.whichBar = ":|:"
    b2 b2 b2 b2
    \bar"|." }
  \new Staff R1*4 >>

  << \new Staff {
    b2 b2 b2 b2
    \once\set Staff.whichBar = "|:"
    b2 b2 b2 b2
    \bar"|." }
  \new Staff R1*4 >>


but gives a segfault with 2.16.0

Use an explicit \new Staff to avoid the segfault --- which I suppose is a 
separate bug.

Attachment: bars.png
Description: PNG image


reply via email to

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