lilypond-user
[Top][All Lists]
Advanced

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

Re: Dashed bar-line bug


From: Jakub Pavlík
Subject: Re: Dashed bar-line bug
Date: Sat, 3 Nov 2012 15:49:53 +0100

Ok.
I'm sorry for the noise
and thankful for the explanation.

Jakub


2012/11/3 Thomas Morley <address@hidden>
2012/11/3 Jakub Pavlík <address@hidden>:
> And - 2.16.0 is free of this bug.
>
> J.
>
>
>
> 2012/11/3 Jakub Pavlík <address@hidden>
>>
>> Hi,
>>
>> I believe I've just discovered a bug.
>> Running the development version of lily
>> (2.17.5, commit bc4b56a8dee39a1fa3f40ac329ab0754d46fc56f )
>>
>> the following snippet produces two notes next to each other, without any
>> visible barline at all. See the attached image.
>> I checked it in the current documentation and it seems that the dashed
>> barline ought to work as it did in 2.15.
>> ( http://lilypond.org/doc/v2.16/Documentation/notation/bars#bar-lines )
>>
>> ----- snip
>>
>> \score {
>>
>> \relative c' {
>>
>> a \bar ":" a
>>
>> }
>>
>> }
>>
>>
>> ------
>>
>> Best wishes,
>> Jakub
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hi,

no bug, but the barline-interface is heavily changed with 2.17.5.
http://lilypond.org/doc/v2.17/Documentation/changes-big-page.html

It's now very easy to define own custom-BarLines.

But there was need to change several strings.
":" is now used _only_ for repeat-bar-lines, p.e. ":|."
The dashed bar-line now needs "!", and others.

See ‘scm/bar-line.scm’ for more details.

An example:

\version "2.17.5"

% some custom-bars:
\defineBarLine ":||.!.||:" #'(":||.!" "!.||:" " ||.!.||")
\defineBarLine ":||.!" #'(":||.!" #f " ||.!")
\defineBarLine "!.||:" #'("|" "!.||:" "!.||")

m = \relative c' {
        a \bar "!" a \bar "!"
        \break
        a \bar ":||.!.||:" a \bar ":||.!.||:"
        \break
        a \bar "!.||:" a \bar ":||.!" a \bar "!.||:"
        \break
        a \bar ":||.!"
}

\score {
        \new StaffGroup <<
        \new Staff \m
        \new Staff \m
        >>
}


Regards
  Harm


reply via email to

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