]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/repeat-acknowledge-engraver.cc
Web: really read search-box HTML file in UTF-8
[lilypond.git] / lily / repeat-acknowledge-engraver.cc
index cf42756f144d2729146a09d412a305cd8fbb9d81..e30e741906afbdb3d0b880c3b001b8a0aca7c232 100644 (file)
@@ -1,9 +1,20 @@
 /*
-  repeat-acknowledge-engraver.cc -- implement Repeat_acknowledge_engraver
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2000--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 2000--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "engraver.hh"
@@ -83,7 +94,7 @@ Repeat_acknowledge_engraver::process_music ()
     }
 
   if (start && end)
-    s = ":|:";
+    s = robust_scm2string (get_property ("doubleRepeatType"), ":|:");
   else if (start)
     s = "|:";
   else if (end)
@@ -116,6 +127,7 @@ ADD_TRANSLATOR (Repeat_acknowledge_engraver,
                "",
 
                /* read */
+               "doubleRepeatType "
                "repeatCommands "
                "whichBar ",