]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 25 May 2003 21:51:24 +0000 (21:51 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 25 May 2003 21:51:24 +0000 (21:51 +0000)
19 files changed:
ChangeLog
Documentation/user/refman.itely
input/regression/hara-kiri-pianostaff.ly
input/regression/hara-kiri-short.ly
input/regression/pc-mmrest.ly
input/test/ancient-font.ly
input/test/coriolan-margin.ly
input/test/equaliser.ly
input/test/gregorian-scripts.ly
input/test/hara-kiri-switch.ly
input/test/hara-kiri.ly
input/test/mensural-ligatures.ly
input/test/orchestscore.ly
input/test/part-combine-moments.ly
input/test/part-combine-score.ly
input/test/part-combine-staff.ly
input/test/vaticana.ly
ly/engraver-init.ly
scripts/convert-ly.py

index e61776292b84f2cb8d0dc6bef13c3fa3135059dc..61d67494e99baea58458b3685d3260e212d6fa80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,7 +56,7 @@
 2003-05-23  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
        * ly/engraver-init.ly (HaraKiriStaffContext): use
-       FrenchStaffContext instead.
+       RemoveEmptyStaffContext instead.
 
        * Documentation/user/refman.itely: updates
 
index 64f600bc6a7b049173a87a4f39fec578e027da1f..6d9be20cc14d6fd37302347b860885f6d5a4f02c 100644 (file)
@@ -3995,16 +3995,15 @@ This saves some space. This style is called `French Score'.
 
 @syntax
 
-This is supported through the @code{FrenchStaff}. This staff is
+This is supported through the @code{RemoveEmptyStaff}. This staff is
 removed when it turns out empty (or containing multimeasure rests)
 after the line-breaking process.
 
-
 For @internalsref{Lyrics}, @internalsref{LyricsVoice},
 @internalsref{ChordNames} and @internalsref{FiguredBass}, this is
 switched on by default. For normal staffs, it is available as a
 specialized @internalsref{Staff} context, with the name variable
-@code{\FrenchStaffContext}.  Observe how the second staff in this
+@code{\RemoveEmptyStaffContext}.  Observe how the second staff in this
 example disappears in the second line.
 
 @lilypond[verbatim]
@@ -4015,7 +4014,7 @@ example disappears in the second line.
   >
   \paper {
     linewidth = 6.\cm 
-    \translator { \FrenchStaffContext }
+    \translator { \RemoveEmptyStaffContext }
   }
 }
 @end lilypond
@@ -4047,7 +4046,7 @@ output.
 @cindex Petrucci
 @cindex mensural
 
-[TODO: write introduction on ancient notation]
+@c [TODO: write introduction on ancient notation]
 
 @menu
 * Ancient note heads::          
index ae41668526ca3f30fa8dd81de0412793fdac7ffc..4f69b459dd559e1db1f5d875f3c3562100070f8e 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header {
 texidoc = "Hara kiri should not upset fixed distance alignment like in pianostaff. In this example the middle staff is harakiried."
 }
@@ -12,7 +12,7 @@ texidoc = "Hara kiri should not upset fixed distance alignment like in pianostaf
  >
  \paper {
   \translator {
-   \HaraKiriStaffContext
+   \RemoveEmptyStaffContext
   }
  }
 }
index 0f5398f7060783f775bb0a5ce87122489ae6ab60..98745ecb5072e02a4c516e8a1cbb18343b290fde 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header{
 texidoc="
 Hara kiri staves kill themselves if they are empty.  This example really
@@ -39,7 +39,7 @@ zagers =  \context StaffGroup <
        \paper{
                linewidth = 80.0\mm
 
-               \translator { \HaraKiriStaffContext }
+               \translator { \RemoveEmptyStaffContext }
 %uh?
 
        }
index 77ba918c1f471884ec99299e47fb0bb6bbbb6cc8..a1c7ec844f6b87cbe96e6a96679f0a8c910c25b1 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header {
 texidoc="Multi measure rests of second voice should not disappear."
 }
@@ -47,7 +47,7 @@ two = \notes \relative c'' {
       \consists Bar_engraver
     }
     \translator {
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
       \remove Multi_measure_rest_engraver
       \remove Bar_engraver
     }
index 977124e4d67dcb671742bb1b5ce1d5f58c6a5b0d..406d1a35c0507f85ef941ae0f95fd39dca622420 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header {
     title      = "ancient font test"
     date       = "2002"
@@ -284,7 +284,7 @@ lowerStaff =  \context MensuralStaff = lowerStaff <
            clefOctavation = #0 
        }
        \translator {
-           \HaraKiriStaffContext
+           \RemoveEmptyStaffContext
            \accepts MensuralVoice
            \accepts GregorianVoice
         }
index 1995ce579840de91431c15f7bfe88db3a0551d36..0b15c0045ca45d8b212003767f244e89aac2c1ea 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 
 
 % Ugh, we need to override some LaTeX titling stuff
@@ -134,7 +134,7 @@ violoncello = \notes \relative c' {
        indent=100.0\mm
        linewidth=150.0\mm
     \translator {
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
     }
     \translator {
       \OrchestralScoreContext
index 2337e8a98fd33f4c77248fce95f4da9e95371a1c..8f7670635ea3aa2942502c420018dc99ee3268e7 100644 (file)
@@ -2,7 +2,7 @@
 \header {
 texidoc = "The full orchestra plays a notes, where groups stop one after another. USe this to tune equalizer settings. "
 }
-\version "1.7.18"
+\version "1.7.19"
 
 flauti = \notes \relative c' {
   \property Staff.midiInstrument = #"flute"
@@ -142,7 +142,7 @@ violoncello = \notes \relative c' {
        indent=100.0\mm
        linewidth=150.0\mm
     \translator {
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
     }
   }
   \midi {
index 7e8683a02220c548300b342233205fd5395c8d8e..0584fd8cbbbafd67b8ad99b9e67337079e7cfc3f 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header {
     title      = "Gregorian Scripts"
     date       = "2003"
@@ -92,7 +92,7 @@ cantus = \notes \relative c' {
       Custos \set #'adjust-if-on-staffline = ##t
     }
     \translator {
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
       \accepts VaticanaVoice
     }
     \translator {
index 16bbe2b3d7f5ca7c8d92ccffee4ef63b2eb29d64..1a8d8111c97344fdb0adf108bd45c78d92ca4363 100644 (file)
@@ -2,7 +2,7 @@
 \header {
 texidoc = "some instruments (notably: cello and double bass) are alternatively written on one and two staves. This is the way to do it:"
 }
-\version "1.7.18"
+\version "1.7.19"
 
 
 voiceOne =  \notes \relative c'' {
@@ -49,7 +49,7 @@ grandstaff =  \context GrandStaff = one <
                linewidth=80.0\mm
 
                \translator { \VoiceContext autoBeaming = ##f }
-               \translator { \HaraKiriStaffContext }
+               \translator { \RemoveEmptyStaffContext }
                \translator { \OrchestralScoreContext skipBars = ##t }
        }
 }
index d0cd7fd7cb9344991de59979a57a103036b1d2d5..7256c2052a524693d36da3b0b3e2d1a1bde48a01 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 
 \header {
 texidoc = "Hara kiri staves disappear when empty "
@@ -90,7 +90,7 @@ zagers =  \context GrandStaff <
        >
        \paper{
                linewidth = 100.0\mm
-               \translator { \HaraKiriStaffContext }
+               \translator { \RemoveEmptyStaffContext }
 %uh?
                \translator { \OrchestralScoreContext }
 %              \translator { \OrchestralPartStaffContext }
index 726b59648341e786073d11161934ea84172d83cc..216cc72c9e4924981111fc2f8a0f7c3b9b209230 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header {
     title      = "mensural ligature test"
     date       = "2002"
@@ -70,7 +70,7 @@ voice = \notes \transpose c c' {
            clefOctavation = #-0
        }
        \translator {
-           \HaraKiriStaffContext
+           \RemoveEmptyStaffContext
            \accepts MensuralVoice
         }
        \translator {
index 7c217714c550fe8a4cb6b7e14f7cb8058a7ef124..76ff1a0ab6acb257013ba4d82dec76c6f109b014 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header{
   latexpackages="graphicx"
 }
@@ -108,7 +108,7 @@ c1 | c2 c | c c | R1*5
       RestCollision \override #'maximum-rest-count = #1
       %% FIXME marginScriptHorizontalAlignment = #1
     }
-    \translator { \HaraKiriStaffContext
+    \translator { \RemoveEmptyStaffContext
     }
   }
 }
index 696e75f9a87bb85cb8e519b7b06eccae87395688..43d0a7f67e6aedcf3c8b54e4f88bd3854c5c716a 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 
 \score{
        \context PianoStaff <
@@ -21,7 +21,7 @@
                textheight = 295.0\mm
                linewidth = 180.0\mm
 
-               \translator{ \HaraKiriStaffContext }
+               \translator{ \RemoveEmptyStaffContext }
                %
                % The Voice combine hierarchy
                %
@@ -39,7 +39,7 @@
                        \accepts "VoiceCombineThread"
                }
                \translator{
-                       \HaraKiriStaffContext
+                       \RemoveEmptyStaffContext
                        \consists "Mark_engraver"
                        \name "VoiceCombineStaff"
                        \accepts "VoiceCombineVoice"
@@ -59,7 +59,7 @@
                        \consists "Thread_devnull_engraver"
                }
                \translator {
-                       \HaraKiriStaffContext
+                       \RemoveEmptyStaffContext
                        \name "StaffCombineStaff"
                        \accepts "StaffCombineVoice"
 
@@ -76,7 +76,7 @@
                        \accepts "VoiceCombineStaff"
                        \accepts "StaffCombineStaff"
                }
-               \translator{ \HaraKiriStaffContext }
+               \translator{ \RemoveEmptyStaffContext }
 
                \translator {
                        \ScoreContext
index eec15c2c2ed02d64812bd86f30337f1911541fbf..32db7e531644444de28b8922179fbe26339bfcfc 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 
 \header {
 texidoc="Template for part-combining orchestral scores"
@@ -216,7 +216,7 @@ archiGroup =  \context StaffGroup = archi_group <
     textheight = 285.0\mm
     linewidth = 190.0\mm
 
-    \translator{ \HaraKiriStaffContext }
+    \translator{ \RemoveEmptyStaffContext }
     %
     % The Voice combine hierarchy
     %
@@ -234,7 +234,7 @@ archiGroup =  \context StaffGroup = archi_group <
       \accepts "VoiceCombineThread"
     }
     \translator{
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
       \consists "Mark_engraver"
       \name "VoiceCombineStaff"
       \accepts "VoiceCombineVoice"
@@ -254,7 +254,7 @@ archiGroup =  \context StaffGroup = archi_group <
       \consists "Thread_devnull_engraver"
     }
     \translator {
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
       \name "StaffCombineStaff"
       \accepts "StaffCombineVoice"
 
@@ -272,7 +272,7 @@ archiGroup =  \context StaffGroup = archi_group <
       \accepts "VoiceCombineStaff"
       \accepts "StaffCombineStaff"
     }
-    \translator{ \HaraKiriStaffContext }
+    \translator{ \RemoveEmptyStaffContext }
 
     \translator {
       %\ScoreContext
index d56664f0e69da1346f6fe5b1686f127b7f0f7cdb..02ec43a4666c24b41dff88c3915f3a71cdff2102 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 
 \score{
        \context PianoStaff <
@@ -31,7 +31,7 @@
                textheight = 295.0\mm
                linewidth = 180.0\mm
 
-               \translator{ \HaraKiriStaffContext }
+               \translator{ \RemoveEmptyStaffContext }
                %
                % The Voice combine hierarchy
                %
@@ -49,7 +49,7 @@
                        \accepts "VoiceCombineThread"
                }
                \translator{
-                       \HaraKiriStaffContext
+                       \RemoveEmptyStaffContext
                        \consists "Mark_engraver"
                        \name "VoiceCombineStaff"
                        \accepts "VoiceCombineVoice"
@@ -69,7 +69,7 @@
                        \consists "Thread_devnull_engraver"
                }
                \translator {
-                       \HaraKiriStaffContext
+                       \RemoveEmptyStaffContext
                        \name "StaffCombineStaff"
                        \accepts "StaffCombineVoice"
 
@@ -86,7 +86,7 @@
                        \accepts "VoiceCombineStaff"
                        \accepts "StaffCombineStaff"
                }
-               \translator{ \HaraKiriStaffContext }
+               \translator{ \RemoveEmptyStaffContext }
 
                \translator {
                        \ScoreContext
index 082f851269281823c1e043ba178caddd877c58d2..6bd55a18a43a8c37a8f48a20b860cbea4a7c62e5 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.19"
 \header {
     title      = "vaticana ligature test"
     date       = "2003"
@@ -75,7 +75,7 @@ verba = \context Lyrics = verba \lyrics {
       Custos \set #'adjust-if-on-staffline = ##t
     }
     \translator {
-      \HaraKiriStaffContext
+      \RemoveEmptyStaffContext
       \accepts VaticanaVoice
     }
     \translator {
index 6172fbaa1edea8c170174547cf39446d1fe04dcf..805b3757b092c9f93b90a23cb0a589aede3446ce 100644 (file)
@@ -362,7 +362,7 @@ ChordNamesContext = \translator {
 }
 
 
-FrenchStaffContext = \translator {
+RemoveEmptyStaffContext = \translator {
        \StaffContext
        \remove "Axis_group_engraver"
        \consistsend "Hara_kiri_engraver"
@@ -373,7 +373,7 @@ FrenchStaffContext = \translator {
        Beam \override #'auto-knee-gap = #'()
 }
 
-HaraKiriStaffContext = \translator { \FrenchStaffContext }
+HaraKiriStaffContext = \translator { \RemoveEmptyStaffContext }
 
 ScoreContext = \translator {
        \type Score_engraver
index 822207cf9d7af8d5ebff49f3c9fd581636ea41d8..ec66a08af67c6e0e7fc7549f6a3d1617836c9cf6 100644 (file)
@@ -1188,12 +1188,12 @@ if 1:
 
 if 1:
        def conv(str):
-               if re.search( r'\\GraceContext'):
+               if re.search( r'\\GraceContext', str):
                        sys.stderr.write ("GraceContext has been removed")
                        sys.stderr.write ("please use #(add-to-grace-init .. )")
                        raise FatalConversionError()
 
-               str = re.sub ('HaraKiriStaffContext', 'FrenchStaffContext', str)
+               str = re.sub ('HaraKiriStaffContext', 'RemoveEmptyStaffContext', str)
                return str
        
        conversions.append (((1,7,19), conv,"remove GraceContext"))