|
From: | dak |
Subject: | Re: feta-accordion.mf, convertrules.py, musicxml2ly.py: sanitize accordion symbol names (issue1908041) |
Date: | Sun, 01 Aug 2010 12:41:56 +0000 |
http://codereview.appspot.com/1908041/diff/2001/3003 File python/convertrules.py (right): http://codereview.appspot.com/1908041/diff/2001/3003#newcode3044 python/convertrules.py:3044: str = re.sub (r'(\\musicglyph\s*#"accordion\.)([a-zA-Z]+)"', On 2010/07/29 19:29:40, Neil Puttock wrote:
Could be more generic, since it won't convert scheme markup:
(markup #:musicglyph "...")
or
(make-musicglyph-markup "...")
On the assumption that the accordion strings are weird enough not to be entered by accident, I made corresponding rules. http://codereview.appspot.com/1908041/show
[Prev in Thread] | Current Thread | [Next in Thread] |