bug-lilypond
[Top][All Lists]
Advanced

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

Re: Partcombine bug


From: Ian Hulin
Subject: Re: Partcombine bug
Date: Tue, 19 Jun 2012 13:59:55 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Hi Rutger,
This isn't a critical regression, there are some new \partcombine*
commands Reinhold supplied for getting round these restrictions using
\partcombine.

Your code should have given you a warning of this sort:

/home/ian/Dropbox/MusicScoresDevelopment/Testpartcombine.ly:26:10:
warning: already have slur
        e2
          ( fis4) r |

Here's a workround using some of the new functions:

\version "2.15.30" % Tested using 2.15.37

obI = {
    \key d \major
    \relative c'' {
        g4( fis g fis) |
        \partcombineApart
        fis2( e4)
        \partcombineAutomatic
          r |
        R1 |
        % e1\p |
        % f1 |
        e2( fis4) r |
    }
}

obII = {
    \key d \major
    \relative c' {
        e4( d e d) |
        d2( e4) r |
        R1 |
        % e1\p |
        % f1 |
        e2( fis4) r |
    }
}

\score {
    \new Staff <<
        \partcombine
            \obI
            \obII
    >>
}


On 19/06/12 12:39, Rutger Hofman wrote:
> \version "2.15.40"
> 
> obI = {
>     \key d \major
>     \relative c'' {
>       g4( fis g fis) |
>       fis2( e4) r |
>       R1 |
>       % e1\p |
>       % f1 |
>       e2( fis4) r |
>     }
> }
> 
> obII = {
>     \key d \major
>     \relative c' {
>       e4( d e d) |
>       d2( e4) r |
>       R1 |
>       % e1\p |
>       % f1 |
>       e2( fis4) r |
>     }
> }
> 
> \score {
>     \new Staff <<
>       \partcombine
>           \obI
>           \obII
>     >>
> }

Attachment: Testpartcombine.png
Description: PNG image


reply via email to

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