]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 24 Apr 2005 22:02:34 +0000 (22:02 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 24 Apr 2005 22:02:34 +0000 (22:02 +0000)
ChangeLog
scripts/abc2ly.py

index dd4fe9bf84b5c97cd9c647760e32acbf6d884b61..15b17e2ff0b92f5148ef49707a18af2246c5e3a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-04-22  Laura Conrad <lconrad@laymusic.org>
+       * scripts/abc2ly:
+       second title line append with punctuation dash character;
+       encode abc2ly python strings in utf-8
+       
+2005-04-21  Laura Conrad <lconrad@laymusic.org>
+
+       * scripts/abc2ly fix chords (again)
 2005-04-22  Bernard Hurley  <bernard@fong-hurley.org.uk>
 
        * scm/x11-color.scm: new file
index c17eb39591d307acef7eddc3b664dbf1c1b7e5a6..7f7a24116954b88acd90627f802da3b7719c3892 100644 (file)
@@ -1,5 +1,5 @@
 #!@PYTHON@
-
+# -*- coding: utf-8 -*-
 # once upon a rainy monday afternoon.
 #
 #   ...
@@ -636,7 +636,10 @@ def try_parse_header_line (ln, state):
                        if header.has_key('title'):
                                if a:
                                        if len(header['title']):
-                                               header['title'] = header['title'] + '\\\\\\\\' + a
+                                               # the non-ascii character
+                                               # in the string below is a
+                                               # punctuation dash. (TeX ---)
+                                               header['title'] = header['title'] + ' — ' + a
                                        else:
                                                header['subtitle'] = a
                        else:
@@ -1208,7 +1211,7 @@ def try_parse_chord_delims (str, state):
        ch = ''
        if str[:1] ==']':
                str = str[1:]
-               ch = '>'
+               ch = '>>'
 
        end = 0
        while str[:1] ==')':
@@ -1388,7 +1391,9 @@ for f in files:
        sys.stderr.write ('lilypond output to: `%s\'...' % out_filename)
        outf = open (out_filename, 'w')
 
-       outf.write ('\\version "2.3.25"\n')
+# don't substitute @VERSION@. We want this to reflect
+# the last version that was verified to work.
+       outf.write ('\\version "2.5.20"\n' % version)
 
 #      dump_global (outf)
        dump_header (outf, header)