name = 'mutopia-index'
-# find.py -- deprecated in python 2.0
import fnmatch
import os
These files are also included in the distribution. The output is
completely generated by LilyPond, without any touch up by humans.
-<p>The PostScript files were generated using TeX and dvips. The pictures
-are 90dpi anti-aliased snapshots of the printed output. The images
-are in PNG format, and should be viewable with any current browser.
+<p>The PostScript files were generated using TeX and dvips at 600 dpi.
+The pictures are 90dpi anti-aliased snapshots of the printed output.
+The images are in PNG format, and should be viewable with any current
+browser.
<p>If you want a better impression of the appearance, do print out one of
the postscript files.
if file_exist_b(filename):
l.write ('<li><a href="%s">%s</a>' % (filename, desc))
size=os.stat(filename)[stat.ST_SIZE]
- l.write (' (%s %dk)' % (type, (size + 512) / 1024))
+ kB=(size + 512) / 1024
+ if kB:
+ l.write (' (%s %dkB)' % (type, kB))
+ else:
+ l.write (' (%s %dcharacters)' % (type, size))
pictures = ['jpeg', 'png', 'xpm']
l.write ('\n')
if not file_exist_b (f):
break
list_item(f, 'See a picture of page %d' % pageno, 'png')
+ list_item(base + '.pdf', 'Print ', 'PDF')
list_item(base + '.ps.gz', 'Print ', 'gzipped PostScript')
list_item(base + '.midi', 'Listen', 'MIDI')
list.write ("</ul>\n");