summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2000-11-03 13:00:39 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2000-11-03 13:00:39 +0100
commitc931e40e0b37f87c2b7c27aa5a2a0633b371d962 (patch)
tree15635ed086a7f827797e856ee02d866e304831fa /scripts
parent7a558267cfbc5a90bf87a80ce9bcfed087692064 (diff)
patch::: 1.3.103.jcn1
1.3.103.jcn1 ============ * Added tex/dynamics.tex and tex/number.tex to ensure feta fonts are fine. * Fulfilled long standing promise: fixed arpeggios in vicinity of collisions (removed a ';' thus re-adding rhythmic-head support :-). * Removed non-ascii characters from contributed Chord name code. * Finished rewrite of auto-beam. * Small bugfix for lilypond-mode.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/convert-mudela.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/convert-mudela.py b/scripts/convert-mudela.py
index c6d70e2e4c..d20850de47 100644
--- a/scripts/convert-mudela.py
+++ b/scripts/convert-mudela.py
@@ -544,12 +544,24 @@ if 1:
if re.search ('\\\\textscript "[^"]* *"[^"]*"', str):
sys.stderr.write ('\nNot smart enough to convert to new \\textscript markup text')
- str = re.sub ('\\textscript +\("[^"]*"\)', '\\textscript #\1', str)
+ str = re.sub ('\\textscript +("[^"]*")', '\\textscript #\\1', str)
return str
conversions.append ((1,3,97), conv, 'ChordName -> ChordNames')
+if 1:
+ def conv (str):
+ str = re.sub ('beamAutoEnd_([0-9]*) *= *(#\\([^)]*\\))', 'AutoBeam \\push #\'(end 1 \\1 * *) = \\2', str)
+ str = re.sub ('beamAutoBegin_([0-9]*) *= *(#\\([^)]*\))', 'AutoBeam \\push #\'(begin 1 \\1 * *) = \\2', str)
+ str = re.sub ('beamAutoEnd *= *(#\\([^)]*\\))', 'AutoBeam \\push #\'(end * * * *) = \\1', str)
+ str = re.sub ('beamAutoBegin *= *(#\\([^)]*\\))', 'AutoBeam \\push #\'(begin * * * *) = \\1', str)
+
+
+ return str
+
+ conversions.append ((1,3,102), conv, 'beamAutoEnd -> AutoBeam \\push (end * * * *)')
+
############################