bug-lilypond
[Top][All Lists]
Advanced

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

Re: No volta printed at the beginning


From: Erik Sandberg
Subject: Re: No volta printed at the beginning
Date: Sat, 23 Oct 2004 12:43:57 +0200
User-agent: KMail/1.6.2

On Saturday 23 October 2004 10.40, Nicolas Sceaux wrote:
> Paul Scott <address@hidden> writes:
> > Nicolas Sceaux wrote:
> >>If that's not a bug, I would be interested in knowing how to make it
> >> appear:
> >>
> >>\version "2.3.22"
> >>\header {
> >>    texidoc="The volta bracket is not printed when the manual repeat
> >>command is at the beginning of the score:
> >>-->  warning: No volta spanner to end"
> >>}
> >>
> >>\layout { raggedright = ##t }
> >>
> >>{
> >>    \set Score . repeatCommands = #'((volta "1."))
> >>    c'1
> >>    \set Score . repeatCommands = #'((volta #f))
> >>    c'1
> >>}
> >
> > Just use \bar "|:"
> >
> > There is not an obvious standard since music is often printed without
> > this initial repeat back to the beginning.  (If you don't see another
> > place to repeat to it's to the beginning).
>
> This used to work with LilyPond 1.6.x (I am updating a score
> written for 1.6), that's why I thought that was a regression.
>
> Here is what I am trying to achieve:
>
> \score {
>
>      S   1-----       S
>   /============||=====||
>
>   |                      Dal Segno
>
>   \============||=====||
>      S                S
> }
>
> \score {
>
>     2----
>   /=========||
>
>   |=========||
>
>   \=========||
>
> }
>
> That is, in the 2nd volta, there is 3 staves, whereas before there
> were only 2. So I split the whole score into two scores, the second
> one beginning by \set Score . repeatCommands = #'((volta "2")).
> I don't want a \bar "|:" there. HaraKiri is not option (it would make
> disappear one staff in the first sub score in some places, which I
> don't want).

I don't see what you want, to me it looks like a hack to use another \score... 
Why wouldn't something like this work? (I'm not sure I understand fully what 
you mean, though, so I am probably totally wrong here..)

<<
\new Staff \relative c'' {\repeat "volta" 2 {c4 d e f } \alternative{{g1}
{e1}}}
\new Staff \relative c'' {g2 g g g \break <<{g g} \new Staff {b b} >> }
>>

Erik




reply via email to

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