bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilypond-book patch #2


From: John Williams
Subject: lilypond-book patch #2
Date: Sat, 19 Mar 2005 20:15:43 -0700 (MST)

It doesn't do much good to link to a png file unless you actually create
the png file.

(This includes the patch to make lilypond-book stop ignoring -f)




--- /usr/bin/lilypond-book      2005-03-10 19:08:41.000000000 -0700
+++ lilypond-book       2005-03-19 20:07:29.329192264 -0700
@@ -1444,11 +1444,14 @@

        file = files[0]
        global process_cmd, format
-       format = guess_format (files[0])
+       if format == 0:
+               format = guess_format (files[0])

        formats = 'ps'
        if format == TEXINFO:
                formats += ',png'
+       if format == HTML:
+               formats += ',png'
        if process_cmd == '':
                process_cmd = lilypond_binary + ' --formats=%s --backend eps ' 
% formats







reply via email to

[Prev in Thread] Current Thread [Next in Thread]