From 260fc5333d7386daf6ebd93821c9fcbbd9a0d3fa Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sat, 22 Mar 2003 00:34:28 +0000 Subject: [PATCH] (make_lilypond_file): convert lilypond-file to lilypond block directly, without going through begin/end lilypond text. --- ChangeLog | 6 ++++++ buildscripts/mf-to-table.py | 2 +- scripts/lilypond-book.py | 24 +++++++----------------- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7aa98f67d9..4206a6986f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-03-22 Han-Wen Nienhuys + + * scripts/lilypond-book.py (make_lilypond_file): convert + lilypond-file to lilypond block directly, without going through + begin/end lilypond text. + 2003-03-21 Juergen Reuter diff --git a/buildscripts/mf-to-table.py b/buildscripts/mf-to-table.py index d11bb5ce90..0de6e06d59 100644 --- a/buildscripts/mf-to-table.py +++ b/buildscripts/mf-to-table.py @@ -161,7 +161,7 @@ def write_fontlist (file, global_info, charmetrics): """) for m in charmetrics: escapedname=re.sub('_','\\\\\\\\_', m['name']) - file.write ('s^\\markup { \\musicglyph #"%s" "%s" }\n' % (m['name'], escapedname)) + file.write (' s^\\markup { \\char #%d "%s" }\n' % (m['code'], escapedname)) file.write (r""" } \paper{ diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 3cc1fe3495..362df5df45 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -341,9 +341,6 @@ output_dict= { 'html' : { - 'output-lilypond': ''' -%s -''', 'output-filename' : r'''