+2005-02-15 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/convert-ly.py: new slur dash patch by Bertalan Fodor.
+
2005-02-12 Han-Wen Nienhuys <hanwen@xs4all.nl>
* scm/define-grob-properties.scm (all-user-grob-properties):
@code{\slurDown},
@cindex @code{\slurNeutral}
@code{\slurNeutral},
+@cindex @code{\slurDashed}
+@code{\slurDashed},
@cindex @code{\slurDotted}
@code{\slurDotted},
@cindex @code{\slurSolid}
CONTRIBUTORS
+Bertalan Fodor
Christian Hitz
Erlend Aasland
Arno Waschk
% There's also dash, but setting dash period/length should be fixed.
slurDashed = {
- \override Slur #'dash-period = #1
+ \override Slur #'dash-period = #0.75
\override Slur #'dash-fraction = #0.4
}
slurDotted = {
- \override Slur #'dash-period = #1
+ \override Slur #'dash-period = #0.75
\override Slur #'dash-fraction = #0.1
}
slurSolid = {
conv,
'ly:find-glyph-by-name -> ly:font-get-glyph, remove - from glyphnames.'))
+def conv (str):
+ str = re.sub (r"\\override\s+(Voice\.)?Slur #'dashed\s*=\s*#\d*(\.\d+)?",
+ r"\\slurDashed", str)
+ return str
+
+conversions.append (((2, 5, 12),
+ conv,
+ '\set Slur #\'dashed = #X -> \slurDashed'))
+
################################
# END OF CONVERSIONS