May I ask for the reason of this change. I think it's very convenient to have this kind of shortcut, especially for scripts, where two different layout objects are involved, depending on the type of script.
/Mats
Han-Wen Nienhuys wrote:
CVSROOT: /cvsroot/lilypond Module name: lilypond Branch: Changes by: Han-Wen Nienhuys <[EMAIL PROTECTED]> 04/08/22 16:18:23
Modified files:
. : ChangeLog Documentation/user: notation.itely scripts : convert-ly.py
Log message: (conv): junk script{Up|Down|Both}.
CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.2483&tr2=1.2484&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/user/notation.itely.diff?tr1=1.86&tr2=1.87&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/scripts/convert-ly.py.diff?tr1=1.195&tr2=1.196&r1=text&r2=text
Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.2483 lilypond/ChangeLog:1.2484
--- lilypond/ChangeLog:1.2483 Sun Aug 22 16:15:57 2004
+++ lilypond/ChangeLog Sun Aug 22 16:18:23 2004
@@ -1,5 +1,7 @@
2004-08-22 Han-Wen Nienhuys <[EMAIL PROTECTED]>
+ * 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.
Index: lilypond/Documentation/user/notation.itely
diff -u lilypond/Documentation/user/notation.itely:1.86 lilypond/Documentation/user/notation.itely:1.87
--- lilypond/Documentation/user/notation.itely:1.86 Sun Aug 22 16:15:57 2004
+++ lilypond/Documentation/user/notation.itely Sun Aug 22 16:18:23 2004
@@ -2210,7 +2210,9 @@
@cindex coda
@cindex varcoda
[EMAIL PROTECTED],raggedright]{script-chart.ly}
+Here is a chart showing all scripts available,
+
[EMAIL PROTECTED]
The vertical ordering of scripts is controlled with the
@@ -2235,14 +2237,6 @@
[EMAIL PROTECTED]
-
[EMAIL PROTECTED] @code{\scriptUp}
[EMAIL PROTECTED], [EMAIL PROTECTED] @code{\scriptDown}
[EMAIL PROTECTED], [EMAIL PROTECTED] @code{\scriptBoth}
[EMAIL PROTECTED]
@seealso
Index: lilypond/scripts/convert-ly.py
diff -u lilypond/scripts/convert-ly.py:1.195 lilypond/scripts/convert-ly.py:1.196
--- lilypond/scripts/convert-ly.py:1.195 Sun Aug 22 11:04:07 2004
+++ lilypond/scripts/convert-ly.py Sun Aug 22 16:18:23 2004
@@ -2154,6 +2154,18 @@
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,
_______________________________________________ Lilypond-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-cvs
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel