covnersion rule.
* scm/chord-name.scm (set-chord-name-style): new function.
(new-chord-name-brew-molecule): revise to interpret markup only
(new-chord->markup): cleanuppish rewrite. To be called from the
new engraver.
* lily/new-chord-name-engraver.cc: new engraver: call Chord ->
Markup earlier, during interpreting.
* input/test/{banter,jazz,american}-chords.ly (scheme): update
style settings. Rename to chord-names-*.ly
str = re.sub (r'([^_^-])\\(%s)\b' % origstr, r'\1-\\\2', str)
return str
conversions.append (((1,7,6), conv, 'note\\script -> note-\script'))
+
+
+if 1:
+ def conv(str):
+ str = re.sub (r"\\property *ChordNames *\. *ChordName *\\(set|override) *#'style *= *#('[a-z]+)",
+ r"#(set-chord-name-style \2)", str)
+ str = re.sub (r"\\property *ChordNames *\. *ChordName *\\revert *#'style",
+ r"", str)
+ return str
+ conversions.append (((1,7,10), conv, "\property ChordName #'style -> #(set-chord-name-style 'style)"))
+
################################