lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond ./ChangeLog Documentation/user/notatio...


From: Mats Bengtsson
Subject: Re: lilypond ./ChangeLog Documentation/user/notatio...
Date: Mon, 23 Aug 2004 10:22:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

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 <address@hidden> 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   <address@hidden>
+ * 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
address@hidden,raggedright]{script-chart.ly}
+Here is a chart showing  all scripts available,
+
address@hidden
The vertical ordering of scripts is controlled with the
@@ -2235,14 +2237,6 @@
address@hidden
-
address@hidden @code{\scriptUp}
address@hidden, address@hidden @code{\scriptDown} address@hidden, address@hidden @code{\scriptBoth}
address@hidden
@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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]