lilypond-user
[Top][All Lists]
Advanced

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

Starting a repeat at the beginning, II


From: Palmer, Ralph
Subject: Starting a repeat at the beginning, II
Date: Fri, 27 Jun 2008 07:57:47 -0400

Greetings -

Thanks for all your help so far. I've run into two other matters in
Manual repeats for the GDP that I don't understand. I'll address one in
this email, and send another for the other problem.

I'm running LilyPond 2.11.49 under Windows XP SP3.

I'm working on starting a piece with a repeat sign (bar "|:"). In order
to get it to work, I used the Score.BreakAlignment #'break-align-orders
structure. This works with
\bar "|:"
but does not work with
\set Score.repeatCommands = #'( start-repeat )

Is that the expected behavior? The Score.repeatCommands version does not
produce an error in the log, but no repeat sign is printed. If this is
the expected behavior, I don't understand why Score.repeatCommands does
not work. Should this be included in the GDP Repeats as a Known Issue?

Here are the two versions:

+++++++++++++ Start snippet +++++++++++++


\version "2.11.49"

%%%%%%%%%%%% Score.repeatCommands VERSION %%%%%%%%%%%
%%%%%%%%%%%%%  THIS DOES NOT WORK  %%%%%%%%%%%%%%%%%%


TestVoltaStartBreakAlign = {
        \key c \major
        \clef "G"
        \time 4/4
        \relative c'' {

        \once \override Score.BreakAlignment #'break-align-orders =
        #(make-vector 3 '(
        instrument-name
        left-edge
        ambitus
        span-bar
        breathing-sign
        clef
        key-signature
        time-signature
        staff-bar
        custos
        span-bar
        ))

        \set Score.repeatCommands = #'( start-repeat )
        c1
        d1
        d4 e f g
        }
}

\score
        {
        \TestVoltaStartBreakAlign
        }

+++++++++++ End Snippet ++++++++

+++++++++++++++ Start Snippet +++++++++++++

\version "2.11.49"

%%%%%%%%%%%%  bar "|:" VERSION %%%%%%%%%%%
%%%%%%%%%%%%%  THIS WORKS  %%%%%%%%%%%%%%%%%%


TestVoltaStartBreakAlign = {
        \key c \major
        \clef "G"
        \time 4/4
        \relative c'' {

        \once \override Score.BreakAlignment #'break-align-orders =
        #(make-vector 3 '(
        instrument-name
        left-edge
        ambitus
        span-bar
        breathing-sign
        clef
        key-signature
        time-signature
        staff-bar
        custos
        span-bar
        ))

        \bar "|:"
        c1
        d1
        d4 e f g
        }
}

\score
        {
        \TestVoltaStartBreakAlign
        }

+++++++++ End snippet +++++++++++

Thanks again for all your help and all your work on LilyPond,

Ralph

+++++++++++++++++++++++++
Ralph Palmer, CEM
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
address@hidden






reply via email to

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