2005-03-27 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * buildscripts/mutopia-index.py (headertext): add h1 header and
+ utf-8 charset meta field.
+
* input/GNUmakefile: prune example list.
* scm/framework-tex.scm (convert-to-ps): add -ofoo.ps to dvips
headertext= r"""
+<h1>LilyPond samples</h1>
+
+
<p>You're looking at a page with some LilyPond samples. These files
are also included in the distribution. The output is completely
generated from the <tt>.ly</tt> source file, without any further touch
list = open(filename, 'w')
else:
list = sys.stdout
- list.write ('<html><head><title>Rendered Examples</title>\n')
- list.write ('<style type="text/css">\n')
- list.write ('hr { border:0; height:1; color: #000000; background-color: #000000; }\n')
- list.write ('</style></head>\n')
+ list.write ('''<html><head><title>Rendered Examples</title>
+<style type="text/css">
+hr { border:0; height:1; color: #000000; background-color: #000000; }\n
+</style>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+</head>''')
list.write ('<body bgcolor=white>\n')
(format (current-error-port) (_ "Converting to `~a'...")
(string-append base ".dvi"))
(newline (current-error-port))))
- (ly:system cmd)))
+ (ly:system cmd))
(define-public (convert-to-dvi book name)
(let* ((curr-extra-mem