----- Original Message ----- From: "Alberto Simões" <[email protected]>
To: "lilypond" <[email protected]>
Sent: Sunday, July 01, 2012 3:17 PM
Subject: Custom alternative/volta names


Hello

I am looking into

http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats#Volta-text-markup-using-repeatCommands

trying to set custom text in both alternatives...

Defined the texts:

voltaA = \markup{\text \italic{para repetir}}
voltaB = \markup{\text \italic{para terminar}}

Was trying this code:

\set Score.repeatCommands = #(list (list 'volta voltaA) 'start-repeat)
\time 4/4 ees2. ees,8 bes'

\set Score.repeatCommands = #'((volta #f) (list 'volta voltaB) end-repeat)
ees2.

\set Score.repeatCommands = #'((volta #f))
\bar "|."

Although the first text (voltaA) works, the second doesn't (I get a "2").

Is it any think wrong in the list, easy to detect?

Thank you
Alberto

I believe you need to make the whole of your second repeat command into a list:

\set Score.repeatCommands = #(list '(volta #f) (list 'volta voltaB) 'end-repeat)


--
Phil Holmes

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

Reply via email to