]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-book.py
release: 1.3.120
[lilypond.git] / scripts / lilypond-book.py
index 0634dad0ab9a61c9be72a7610dc87427964613e0..bd0e3c822e6a64d1c6d1bc87f229c4581826ca3f 100644 (file)
@@ -1015,9 +1015,9 @@ def fix_epswidth (chunks):
        for c in chunks:
                if c[0] == 'lilypond' and 'eps' in c[2]:
                        body = re.sub (r"""\\lilypondepswidth{(.*?)}""", find_eps_dims, c[1])
-                       # why do we junk opts, todo, basename?
-                       new_chunk = (('lilypond', body))
-               newchunks.append (c)
+                       newchunks.append(('lilypond', body, c[2], c[3], c[4]))
+               else:
+                       newchunks.append (c)
        return newchunks