[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Repeats at the beginning of music
From: |
Han-Wen Nienhuys |
Subject: |
Repeats at the beginning of music |
Date: |
Tue, 10 Oct 2000 13:49:44 +0200 |
address@hidden writes:
> When Lily 1.3.93 typesets a piece of music that begins with a repeated
> section, an opening repeat bar is typeset right at the beginning of the
> piece. This is visible in the section on repeats in the reference
> manual.
>
> By convention, a repeat bar is not printed right at the beginning of a
> piece of music, and indeed Lily never used to typeset one. Is there an
> option to turn this behaviour off (I couldn't see one in the user
> manual), or is it a bug?
try this
--- repeat-acknowledge-engraver.cc~ Sun Oct 1 13:12:06 2000
+++ repeat-acknowledge-engraver.cc Tue Oct 10 13:48:25 2000
@@ -57,6 +57,12 @@
void
Repeat_acknowledge_engraver::do_process_music ()
{
+ /*
+ At the start of a piece, we don't print any repeat bars.
+ */
+ if (now_mom () == Moment (0))
+ return ;
+
SCM cs = get_property ("repeatCommands");
String s = "";
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/