]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
* lily/lily-guile.cc (robust_scm2double): new function. Use throughout.
[lilypond.git] / buildscripts / mutopia-index.py
index dc8cbe54a4bd061b5b037072419367d727fc5d02..1e0d594394192edd99f64dc0058e41eff081cb5a 100644 (file)
@@ -58,13 +58,13 @@ are also included in the distribution. The output is completely
 generated from the <tt>.ly</tt> source file, without any further touch
 up.
 
-<p>The PostScript files were generated using TeX and dvips at 600 dpi.
+<p>
+
 The pictures are 90 dpi anti-aliased snapshots of the printed output.
-The images are in PNG format, and should be viewable with any current
-browser.
+If you want a better impression of the appearance, do print out one of
+the PDF or PostScript files; they use scalable fonts, and should look
+good at any resolution.
 
-<p>If you want a better impression of the appearance, do print out one of
-the postscript files.
 """
 
 headertext_nopics= r"""
@@ -88,7 +88,7 @@ def read_lilypond_header (fn):
                        return dict
 
        while s:
-               m = re.search (r"""\s*(\S+)\s*=\s*([^;]+)\s*;""", s)
+               m = re.search (r'''\s*(\S+)\s*=\s*"([^"]+)"''', s)
                if m == None:
                        s = ''
                else:
@@ -137,9 +137,7 @@ def gen_list(inputs, filename):
                (base, ext2) = os.path.splitext (base)          
                ext = ext2 + ext
                
-               print '%s, ' % ex
                header = read_lilypond_header(ex)
-               
                def read_dict(s, default, h =header):
                                try:
                                        ret = h[s]
@@ -214,7 +212,5 @@ allfiles = []
 for d in dirs:
        allfiles = allfiles + find ('*.ly.txt', d)
 
-print allfiles
-
 gen_list (allfiles, outfile)