Hi Federico, Well, I won't try to explain I understand how it works, but I was able to adapt it to something that gives me the result I want:
\version "2.19.80" eight = \markup {8.} \repeat volta 8 { %% This numbers the repeat block. \set Score.repeatCommands = #(list(list 'volta eight) 'start-repeat) c1 | d | e | f | \set Score.repeatCommands = #'((volta #f)) } Regards, Stig Federico Bruni <f...@inventati.org> writes: > Are you sure it applies to your case? > You said you did not have alternatives... > > See the simple workaround suggested in this issue: > https://sourceforge.net/p/testlilyissues/issues/1409/ > > > Il giorno dom 17 feb 2019 alle 0:41, Stig Brautaset > <s...@brautaset.org> ha scritto: >> Thanks! I actually found that example earlier, but didn't realise that >> it applied to my case... Thinking a bit about it I got it to work, >> however. >> >> Regards, >> >> Stig >> "Mark Stephen Mrotek" <carsonm...@ca.rr.com> writes: >> >>> Stig Brautaset: >>> >>> Something like this from >>> http://lilypond.org/doc/v2.19/Documentation/notation/long-repeats? >>> >>> >>> voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } } >>> \relative { >>> c''1 >>> \set Score.repeatCommands = >>> #(list(list 'volta voltaAdLib) 'start-repeat) >>> c4 b d e >>> \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat) >>> f1 >>> \set Score.repeatCommands = #'((volta #f)) >>> } >>> >>> Mark >>> >>> -----Original Message----- >>> From: lilypond-user >>> [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] On >>> Behalf Of >>> Stig Brautaset >>> Sent: Saturday, February 16, 2019 1:52 PM >>> To: lilypond-user@gnu.org >>> Subject: counter for voltas with no alternative endings? >>> >>> Hi, >>> >>> I'm trying to engrave some music that has 4 bars repeated 8 times. >>> I can use >>> a volta, but since there is no alternative ending it doesn't print >>> the >>> number of repeats. Is there any way to force that to print? >>> >>> Here's a minimal example. The first volta doesn't print the number >>> of >>> repeats, the second does. Should I perhaps be using percent repeats >>> instead...? >>> >>> ----8<----[ q2.ly ]----8<--------8<---- >>> \version "2.19.80" >>> \relative c' { >>> \repeat volta 8 { >>> c >>> d >>> } >>> \repeat volta 8 { >>> c >>> } >>> \alternative { >>> d >>> e >>> } >>> } >>> ----8<--------8<--------8<--------8<---- >>> >>> The generated PDF is here: >> >> _______________________________________________ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user