From 58815a53a32eee525520624ab1db292cb8314dfc Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 22 Aug 2004 16:18:23 +0000 Subject: [PATCH] (conv): junk script{Up|Down|Both}. --- ChangeLog | 2 ++ Documentation/user/notation.itely | 12 +++--------- scripts/convert-ly.py | 12 ++++++++++++ 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9475a90ed5..ceef3b6a4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-08-22 Han-Wen Nienhuys + * 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. diff --git a/Documentation/user/notation.itely b/Documentation/user/notation.itely index c9c60ed41a..8c9768eced 100644 --- a/Documentation/user/notation.itely +++ b/Documentation/user/notation.itely @@ -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 diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index 74c0da0c37..19c44e350b 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -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, -- 2.39.5