]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.129
authorfred <fred>
Wed, 27 Mar 2002 00:48:51 +0000 (00:48 +0000)
committerfred <fred>
Wed, 27 Mar 2002 00:48:51 +0000 (00:48 +0000)
input/bugs/score-dynamics.ly
input/regression/allfontstyle.ly
input/regression/bar-number.ly
input/regression/bar-scripts.ly
mutopia/J.S.Bach/Duette/viola-part.ly
mutopia/J.S.Bach/Duette/violino-part.ly
mutopia/J.S.Bach/Duette/violoncello-part.ly
mutopia/J.S.Bach/Solo-Cello-Suites/solo-cello-suite-ii.ly

index 2c4a6500e122e3c182d039c0bc68c7990d1b065f..9389c525a9a6b7ca4aa23ef3410ccc63ca6a7dca 100644 (file)
@@ -16,104 +16,79 @@ contrabasso = \notes\relative c'' {
   c2\pp c d1 e
 }
 
-flautiStaff =  \notes \context VoiceCombineStaff = flauti <
- \context VoiceCombineVoice=oneBassi \End
- \context VoiceCombineVoice=twoBassi \End
-  \context VoiceCombineVoice=Flauti \partcombine VoiceCombineVoice
-    \context VoiceCombineThread=oneFlauti \violoncello
-    \context VoiceCombineThread=twoFlauti \contrabasso
+flautiStaff =  \notes \context Staff = flauti <
+ \context Voice=oneBassi \End
+ \context Voice=twoBassi \End
+  \context Voice=Flauti \partcombine Voice
+    \context Thread=oneFlauti \violoncello
+    \context Thread=twoFlauti \contrabasso
 >
 
+staffCombineProperties = {
+       \property Voice.devNullThread = #'unisolo
+       \property Voice.soloADue = ##t
+       \property Voice.soloText = #""
+       \property Voice.soloIIText = #""
+       % This is non-conventional, but currently it is
+       % the only way to tell the difference.
+       \property Voice.aDueText = #"\\`a2"
+       \property Voice.splitInterval = #'(1 . 0)
+       \property Voice.changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
+}
 
 \score {
   <
   \flautiStaff
 
   \context PianoStaff = bassi_group \notes <
-    \context StaffCombineStaff=oneBassi \End
-    \context StaffCombineStaff=twoBassi \End
+    \context Staff=oneBassi \End
+    \context Staff=twoBassi \End
 
-    \context StaffCombineStaff=oneBassi \partcombine StaffCombineStaff
-      \context StaffCombineVoice=oneBassi \violoncello
-      \context StaffCombineVoice=twoBassi \contrabasso
+    \context Staff=oneBassi \partcombine Staff
+      \context Voice=oneBassi { \staffCombineProperties \violoncello }
+      \context Voice=twoBassi { \staffCombineProperties \contrabasso }
  >
 
 >
-  \paper{
+ >
+  \paper {
     % \paperSixteen
-
-    %textheight = 290.0\mm;
-    %linewidth = 195.0\mm;
-    textheight = 285.0\mm;
-    linewidth = 190.0\mm;
-
-    \translator{ \HaraKiriStaffContext }
-    %
-    % The Voice combine hierarchy
-    %
+    linewidth = 80 * \staffspace;
+    textheight = 200 * \staffspace;
     \translator{
       \ThreadContext
-      \name "VoiceCombineThread";
       \consists "Rest_engraver";
     }
     \translator{
       \VoiceContext
-      \name "VoiceCombineVoice";
+      \remove "Rest_engraver";    
+
+      % The staff combine (bassi part) needs a
+      % thread_devnull_engraver here.
+      % Instead of maintaining two separate hierarchies,
+      % we switch add it, but switch it off immideately.
+      % The staff combine parts switch it on.
+      devNullThread = #'never
+      \consists "Thread_devnull_engraver";
+
       soloText = #"I."
       soloIIText = #"II."
-      \remove "Rest_engraver";
-      \accepts "VoiceCombineThread";
+      soloADue = ##f
     }
     \translator{
       \HaraKiriStaffContext
       \consists "Mark_engraver";
-      \name "VoiceCombineStaff";
-      \accepts "VoiceCombineVoice";
-    }
-
-    %
-    % The Staff combine hierarchy
-    %
-    \translator{
-      \ThreadContext
-      \name "StaffCombineThread";
-    }
-    \translator{
-      \VoiceContext
-      \name "StaffCombineVoice";
-      \accepts "StaffCombineThread";
-      \consists "Thread_devnull_engraver";
-    }
-    \translator {
-      \HaraKiriStaffContext
-      \name "StaffCombineStaff";
-      \accepts "StaffCombineVoice";
-
-      soloADue = ##t
-      soloText = #""
-      soloIIText = #""
-      % This is non-conventional, but currently it is
-      % the only way to tell the difference.
-      aDueText = #"\\`a2"
-      splitInterval = #'(1 . 0)
-      changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
     }
     \translator {
-      \StaffGroupContext
-      \accepts "VoiceCombineStaff";
-      \accepts "StaffCombineStaff";
-    }
-    \translator{ \HaraKiriStaffContext }
-
-    \translator {
-      %\ScoreContext
       \OrchestralScoreContext
-      \accepts "VoiceCombineStaff";
-      \accepts "StaffCombineStaff";
-      TimeSignature \override #'style = #'C
-      skipBars = ##t 
+      skipBars = ##t
+      % Hmm
+      currentBarNumber = #218
       BarNumber \override #'padding = #3
       RestCollision \override #'maximum-rest-count = #1
+      marginScriptHorizontalAlignment = #1
+      TimeSignature \override #'style = #'C
     }
+    \translator { \HaraKiriStaffContext }
   }
 }
+
index 8c48cd1780fc580b3966d527ddb173f16b29bccb..d25e2391c68185a8b3759b0eda4720fdf36b1641 100644 (file)
@@ -12,6 +12,6 @@
                         f4-\ff^""^"Largo" \mark "B"; g 
        }
        \paper { linewidth = -1.0;
-       \translator { \BarNumberingStaffContext}
+       % \translator {\BarNumberingStaffContext} }
        }
 }
index 502045ed54e0e45a5beca02bb120bcbcab2142ce..e0617c0acc46273d4b41d448e1158a2488486070 100644 (file)
@@ -12,8 +12,6 @@ texidoc="Bar number settable and padding adjustable.";
   }
   \paper {
     linewidth = 40*\staffspace;
-    \translator {
-      \BarNumberingStaffContext
-    }
+    % \translator { \BarNumberingStaffContext }
   }
 }
index 644550de3f8f88af9056c38616633a81304fefd0..7808e156f1a5379719d2e31bd75d22b7737a316a 100644 (file)
@@ -24,7 +24,8 @@ grstaff =  \notes \context GrandStaff <
 >
 
 scpaper =  \paper {\translator {\OrchestralScoreContext}}
-stpaper =  \paper{ \translator {\BarNumberingStaffContext }}
+% stpaper =  \paper{ \translator {\BarNumberingStaffContext }}
+stpaper =  \paper{ }
 
 scscore =  \score { \grstaff \paper {
 \scpaper
index ef7760a61a28230f1b1c07d9928c3eb8562d65c3..acec5f0502a67dbf1cbbbec73a580c9c5ea4243c 100644 (file)
@@ -18,7 +18,7 @@ copyright =    "Public Domain";
 \score{
   \violaIStaff
   \paper{
-    \translator { \BarNumberingStaffContext }
+    %\translator { \BarNumberingStaffContext }
   }
   \midi{
 %urg, real/duration
@@ -36,7 +36,7 @@ copyright =    "Public Domain";
   \violaIiStaff
   \paper{
 %    castingalgorithm=0.0;
-    \translator { \BarNumberingStaffContext }
+    %\translator { \BarNumberingStaffContext }
     %\translator { \ScoreContext skipBars = 1; }
   }
   \midi{
index 1e72b403be3613cc20622e8565043f95b0a7379a..4f535e7fd85e030046f4b362072cf7ee20aa5f10 100644 (file)
@@ -18,7 +18,7 @@ copyright =    "Public Domain";
 \score{
   \violinoIStaff
   \paper{
-    \translator { \BarNumberingStaffContext }
+    %\translator { \BarNumberingStaffContext }
   }
   \midi{
 %    \tempo 4. = 69;
@@ -34,7 +34,7 @@ copyright =    "Public Domain";
 \score{
   \violinoIiStaff
   \paper{
-    \translator { \BarNumberingStaffContext }
+    %\translator { \BarNumberingStaffContext }
 %    castingalgorith=0;
   }
   \midi{
index 26449b6eca8041dedca7cbe5d2068d5d577d6c8d..ba58376170048a1b7b2ec9f3e3c5bebc11710233 100644 (file)
@@ -18,7 +18,7 @@ copyright =    "Public Domain";
 \score{
   \violoncelloIStaff
   \paper{
-    \translator { \BarNumberingStaffContext }
+    %\translator { \BarNumberingStaffContext }
   }
   \midi{
 %urg, real/duration
@@ -36,7 +36,7 @@ copyright =    "Public Domain";
   \violoncelloIiStaff
   \paper{
     %castingalgorithm=0.;
-    \translator { \BarNumberingStaffContext }
+    %\translator { \BarNumberingStaffContext }
   }
   \midi{
 %    \tempo 2 = 96;
index b592904068479ed0f607f038123718e8e46e2c4c..04f1bf6d1ffd97c393cdad3adb01cc3b7abbe43d 100644 (file)
@@ -2,7 +2,7 @@
 
 \paper {
 linewidth = 180.\mm;
-\translator { \BarNumberingStaffContext }
+\translator { \BarNumberingStaffContext }
 }
 
 % \include "prelude-" + \instr + ".ly";