]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/etf2ly.py
Add '-dcrop' option to ps and svg backends
[lilypond.git] / scripts / etf2ly.py
index 1bd2699b8d63605f9f19c092960a1ef4631075e8..24dc562871abdb74590cde5cb8cd8063969fcde0 100644 (file)
@@ -576,7 +576,7 @@ class Staff:
                     last_time = g.timesig
 
                 if 'start' in g.repeats:
-                    e = e + ' \\bar "|:" ' 
+                    e = e + ' \\bar ".|:" '
 
 
                 # we don't attempt voltas since they fail easily.
@@ -608,7 +608,7 @@ class Staff:
             if g:
                 gap = rat_add (gap, g.length ())
                 if 'stop' in g.repeats:
-                    k = k + ' \\bar ":|" '
+                    k = k + ' \\bar ":|." '
                 
         k = '%sglobal = { %s }\n\n ' % (self.staffid (), k)
         return k
@@ -1131,11 +1131,13 @@ class Etf_file:
 
         
         while c and c.number <> endno:
-            thread.append (c)
+            d = c # hack to avoid problem with scripts/build/grand-replace.py
+            thread.append (d)
             c = c.next
 
         if c: 
-            thread.append (c)
+            d = c # hack to avoid problem with scripts/build/grand-replace.py
+            thread.append (d)
         
         return thread
 
@@ -1186,7 +1188,7 @@ def warranty ():
 
 %s
 %s
-''' % ( _ ('Copyright (c) %s by') % '2001--2010',
+''' % ( _ ('Copyright (c) %s by') % '2001--2015',
         '\n  '.join (authors),
         _ ('Distributed under terms of the GNU General Public License.'),
         _ ('It comes with NO WARRANTY.')))