]> git.donarmstrong.com Git - lilypond.git/commitdiff
(conv): junk script{Up|Down|Both}.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 22 Aug 2004 16:18:23 +0000 (16:18 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 22 Aug 2004 16:18:23 +0000 (16:18 +0000)
ChangeLog
Documentation/user/notation.itely
scripts/convert-ly.py

index 9475a90ed53cef956cee70a25b43f493712cd62d..ceef3b6a4fd2b0ed7ceff593d593c57aa8dca5e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 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.
index c9c60ed41a2e6b453857b779089950339082b139..8c9768eced679c2f1d8bd6e771afa9b4dd6e9b19 100644 (file)
@@ -2210,7 +2210,9 @@ c\fermata c^\fermata c_\fermata
 @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
@@ -2235,14 +2237,6 @@ they are entered decides which one comes first.
 
 
 
-@refcommands
-
-@cindex @code{\scriptUp}
-@code{\scriptUp}, 
-@cindex @code{\scriptDown}
-@code{\scriptDown}, 
-@cindex @code{\scriptBoth}
-@code{\scriptBoth}.
 
 @seealso
 
index 74c0da0c37915d9c1a6ef9366c9037c41b686054..19c44e350b8f4a39f28bf0ae4fdbface2f9c06e3 100644 (file)
@@ -2154,6 +2154,18 @@ conversions.append (((2, 3, 11), conv,
 
 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,