Thomas Morley <[email protected]> writes:

> 2018-01-24 0:11 GMT+01:00 David Kastrup <[email protected]>:
>> Ralph Palmer <[email protected]> writes:
>>
>>> Hi -
>>>
>>> I'm running LilyPond 2.19.80 with Frescobaldi 2.18.1 under Linux/Ubuntu.
>>>
>>> I'm trying to substitute text for the numbers in alternative endings. I've
>>> struggled with this before. I've tried looking in the Notation Reference
>>> and in the Snippet Repository. I'm attaching the closest I've been able to
>>> come to what I want.
>>>
>>> I have a partial measure at the beginning, before the repeat.
>>> I'd like to get rid of the end-repeat sign at the beginning of the first
>>> alternative.
>>> The notes are all there, where they're supposed to be.
>>> The "1., etc." for the first alternative is just the way I'd like it.
>>> However, the bracket for the first alternative closes the repeat structure,
>>> and there is no enclosure or text for the second alternative.
>>>
>>> This is not intuitive to me.
>>>
>>> Can someone please help me solve this?
>>
>> Look up the syntax of \alternative maybe?  It only allows _one_
>> brace-enclosed sequential music expression.  Every expression in this
>> sequential music expression is one alternative.  In particular, your
>> \set-command, not being included in any other expression, is an
>> alternative of its own.
>
> as David already said rereading the docs about \alternative-syntax
> would help, also the section about manual repeats.

Frankly, something like

\repeat volta 2 {
  common part
  \alternative { first alternative }
  \alternative { second alternative }
}

would be so much saner as an input syntax.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to