2004-08-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scripts/convert-ly.py (conv): junk script{Up|Down|Both}.
+
* lily/horizontal-bracket.cc (print): use
Tuplet_bracket::make_bracket, so it supports bracket-flare,
edge-eight and shorten-pair.
@cindex coda
@cindex varcoda
-@lilypondfile[quote,raggedright]{script-chart.ly}
+Here is a chart showing all scripts available,
+
+@lilypondfile[quote]{script-chart.ly}
The vertical ordering of scripts is controlled with the
-@refcommands
-
-@cindex @code{\scriptUp}
-@code{\scriptUp},
-@cindex @code{\scriptDown}
-@code{\scriptDown},
-@cindex @code{\scriptBoth}
-@code{\scriptBoth}.
@seealso
def conv (str):
str = re.sub (r'\\newpage', r'\\pageBreak', str)
+ str = re.sub (r'\\scriptUp', r'''{
+ \\override TextScript #'direction = #1
+ \\override Script #'direction = #1
+} ''', str)
+ str = re.sub (r'\\scriptDown', r'''{
+ \\override TextScript #'direction = #-1
+ \\override Script #'direction = #-1
+} ''', str)
+ str = re.sub (r'\\scriptBoth', r'''{
+ \\revert TextScript #'direction
+ \\override Script #'direction
+} ''', str)
return str
conversions.append (((2, 3, 12), conv,