Thank you for replying, Pierre.

Now I have tried it with no improvement.

Also,  the whole point of \timing is to not to have stuff in or before the parts which can all be in one function (timing or common).  As I said I have been using this idea for many years and now the behavior seems to have changed.

Stay well,

Paul


On 5/2/20 1:11 PM, Pierre Perol-Schneider wrote:
Hi Paul,
Have you tried: PartAComplete = << \timing \compressMMRests \PartA >>
HTH, cheers,
Pierre

Le sam. 2 mai 2020 à 22:02, Paul Scott <waterho...@ultrasw.com <mailto:waterho...@ultrasw.com>> a écrit :

    The following MWE is a variation of the first code example in 2.21.1
    Notation manual 1,2,2 Full Measure
    Rests:

    % Rest measures contracted to single measure

    \score{
       \new Staff \new Voice
       << { \compressMMRests } { R1*4 R1*24 R1*4 b'2^"Tutti" b'4 a'4} >>
    }

    mmxtest.ly:13:25: error: syntax error, unexpected '}', expecting
    \header

    I believe this used to work In 2.19.xx.

    How can I accomplish the following, i.e. have the structure common to
    all parts in a single definition as I have been doing for many years
    with Lily?

    For example:

    \version 2.20.0"

    timing = { \compressMMRests s1*28 \bar "|." }

    PartA = { R1*4 R1*24 }

    PartAComplete = << \timing \PartA >>

    \score{ \new Staff \new Voice \PartAComplete }


Reply via email to