]> git.donarmstrong.com Git - lilypond.git/commitdiff
MakeLSR updates
authorPhil Holmes <mail@philholmes.net>
Fri, 2 Nov 2012 17:33:28 +0000 (17:33 +0000)
committerPhil Holmes <mail@philholmes.net>
Fri, 2 Nov 2012 17:38:05 +0000 (17:38 +0000)
35 files changed:
Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly
Documentation/snippets/adding-timing-marks-to-long-glissandi.ly
Documentation/snippets/ancient-fonts.ly
Documentation/snippets/ancient-notation-template----modern-transcription-of-gregorian-music.ly
Documentation/snippets/bar-chords-notation-for-guitar--with-text-spanner.ly
Documentation/snippets/center-text-below-hairpin-dynamics.ly
Documentation/snippets/centering-markup-on-note-heads-automatically.ly
Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly
Documentation/snippets/chant-or-psalms-notation.ly
Documentation/snippets/chords-headword.ly
Documentation/snippets/contexts-and-engravers.snippet-list
Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly [new file with mode: 0644]
Documentation/snippets/fretted-headword.ly
Documentation/snippets/generating-custom-flags.ly
Documentation/snippets/generating-random-notes.ly
Documentation/snippets/glissandi-can-skip-grobs.ly
Documentation/snippets/guitar-slides.ly
Documentation/snippets/incipit.ly
Documentation/snippets/jazz-combo-template.ly
Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly
Documentation/snippets/making-glissandi-breakable.ly
Documentation/snippets/markup-lines.ly
Documentation/snippets/positioning-multi-measure-rests.ly
Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
Documentation/snippets/redefining-grace-note-global-defaults.ly
Documentation/snippets/repeats-headword.ly
Documentation/snippets/score-for-diatonic-accordion.ly
Documentation/snippets/setting-the-double-repeat-default-for-volte.ly
Documentation/snippets/staff-headword.ly
Documentation/snippets/string-number-extender-lines.ly
Documentation/snippets/table-of-contents.ly
Documentation/snippets/tweaking-grace-layout-within-music.ly
Documentation/snippets/using-a-tick-as-the-breath-mark-symbol.ly
Documentation/snippets/using-alternative-flag-styles.ly
Documentation/snippets/using-grace-note-slashes-with-normal-heads.ly

index 99a66a375ba34630e28323e2e7446ccfba1d95cf..92c4fc31e53671bd9c01a1ef563f3aa293f313b9 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index e5fe73a322a4098c76c703154acb11acaae5d933..1abf753a8700680b9421a073054a5316e6b343c3 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 7f211576a0df71e266e785d7676c7707faf268c9..e0d6f54f924baea1bc180d1802631de4cadacc92 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 %% This file is in the public domain.
 \version "2.17.6"
 
index 62967fcda454b1a12606d7834cf6f3a2fa3eada3..489191155fd84643d89394d895dc90e49ca212f2 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index def439e88bc1bb47bc668977964e2224a1c954e3..a1e72321872dae356e64af20db20febb79a7c491 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 0df124d21e273eff58f6c9999aab805f62e4d0f0..b69e4e0dffe29700ddb6bcaa31bda3d7ae2dcb7c 100644 (file)
@@ -30,11 +30,11 @@ hairpinWithCenteredText =
              (par-y (ly:grob-parent grob Y))
              (dir (ly:grob-property par-y 'direction))
              (new-stencil (ly:stencil-aligned-to
-                  (ly:stencil-combine-at-edge
-                    (ly:stencil-aligned-to stencil X CENTER)
-                    Y dir
-                    (ly:stencil-aligned-to (grob-interpret-markup grob text) X CENTER))
-                    X LEFT))
+                          (ly:stencil-combine-at-edge
+                            (ly:stencil-aligned-to stencil X CENTER)
+                            Y dir
+                            (ly:stencil-aligned-to (grob-interpret-markup grob text) X CENTER))
+                            X LEFT))
              (staff-space (ly:output-def-lookup (ly:grob-layout grob) 'staff-space))
              (staff-line-thickness (ly:output-def-lookup (ly:grob-layout grob) 'line-thickness))
              (grob-name (lambda (x) (assq-ref (ly:grob-property x 'meta) 'name)))
index 6f009cec65d32ca202786a76b28b1fe78dde7c18..b5342b4131087cb01e02db78f097b8bbe0e1352d 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 7afdeeeff80b2f1cc887341e211e06546e0cafe6..82d066eac5e22a507ef34f5212f62813fed46c00 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "contexts-and-engravers, midi, real-music"
index f98d9664eeda44ac3914a8bfb3e2a509db9e93df..e20c06202bcbe9da5314478a01ffe35f1f3f33cf 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 6447dcab7645e5ee9aae5ac65ac93ebddf1e1592..c335944a5a10708fc454136b9b5f887bb104c3d2 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 2f4e1103dc2e75b730acd7d8cd49d97518772c52..10ce65167de539119b9dd3a07066ae9c0a797029 100644 (file)
@@ -8,6 +8,7 @@ chant-or-psalms-notation.ly
 creating-blank-staves.ly
 cross-staff-stems.ly
 defining-an-engraver-in-scheme--ambitus-engraver.ly
+displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly
 engravers-one-by-one.ly
 mensurstriche-layout-bar-lines-between-the-staves.ly
 nesting-staves.ly
diff --git a/Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly b/Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly
new file mode 100644 (file)
index 0000000..7a1ff98
--- /dev/null
@@ -0,0 +1,67 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.16.0"
+
+\header {
+  lsrtags = "contexts-and-engravers"
+
+  texidoc = "
+In orchestral scores sometimes single or groups of instruments are
+silent for a while and their staves can be removed for that time (with
+@code{\\removeEmptStaves}).
+
+
+When they play again it is often preferred to show the staves of all
+instruments of such a group. this can be done adding the
+@code{Keep_alive_together_engraver} in the grouper (e.g. a GrandStaff
+or a StaffGroup)
+
+
+In the example the violins are silent in the 2nd system and in the 3rd
+system. Only the first violin plays the last measure but the staff of
+the second violin is also displayed.
+
+"
+  doctitle = "Displaying a whole GrandStaff system if only one of its staves is alive"
+} % begin verbatim
+
+\score {
+  <<
+    \new StaffGroup = "StaffGroup_woodwinds" <<
+      \new Staff = "Staff_flute" \with {
+        instrumentName = "Flute"
+        shortInstrumentName = "Fl"}
+        \relative { \repeat unfold 3 { c'4 c c c | c c c c | c c c c | \break } }
+    >>
+    \new StaffGroup = "StaffGroup_Strings" <<
+      \new GrandStaff = "GrandStaff_violins" <<
+        \new Staff = "StaffViolinI" \with {
+          instrumentName = "Violin I"
+          shortInstrumentName = "Vi I"}
+          \relative c'' { a1 \repeat unfold 7 { s1 } \repeat unfold 12 a16  a4}
+        \new Staff = "StaffViolinII" \with {
+          instrumentName = "Violin II"
+          shortInstrumentName = "Vi II"}
+          \relative { e1 \repeat unfold 8 { s1 } }
+      >>
+      \new Staff = "Staff_cello" \with {
+        instrumentName = "Cello"
+        shortInstrumentName = "Ce"}
+        \relative c { \clef bass \repeat unfold 9 { c1 }}
+    >>
+  >>
+}
+\layout {
+  \context {
+    \GrandStaff
+    \consists Keep_alive_together_engraver
+  }
+  \context {
+    \Staff
+    \RemoveEmptyStaves
+  }
+}
index 9614efa4b14de7717e0363c676432dbf79096286..934925104404873a9f4c76236a56a154d5097ace 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 % INSPIRATIONAL HEADER FOR LILYPOND DOCUMENTATION fretted-strings %
 % Passage from Johann Kaspar Mertz "Opern Revue, Op. 8, no. 17"   %
 % on melodies from Bellini's "Norma"                              %
index ef5a627db4a8fec296ba9b4df08d6b0e9c2cc922..99579b27f46d418c2ab24f4ae7f68c0715550c9e 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index bea3ff4fa60482d1eb0827276751de7e15953179..af7d81868d807c443683a6388c3c3ce47c1af727 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "pitches, really-cool, scheme-language"
index 5f20fe5c6cd14a292f83f5d0a90b85d9c82eacaa..32caca079cb857828d4ccf2ab0a8e9a8597b5eb3 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 4b9ed6550c1bbd6254d63965e81a9a441b0b0708..710f1afb98efb34a7a79ec0da9dc84dc79c00430 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 9490f08ed0d2ed0dab39ad1c322124068e0da215..e6e295348ef7ed41ad5ce2d33bb6f0a0d0f334f9 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index edea6e0fae7897dca3b61c3a2dceee0f37552b4d..ecfa7748bdc13e919798372793763d3d6d8479a0 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index ee317477e582d0118af80527d36f0ca27f0a0a2a..1cbb7416a797ea86cf2112741f9f8caab83b094a 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index d619f42b4f8914592cd8e165188a4844afaecb80..444c98e9b6116c150370a2034d56fd8414fb291c 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 46455f148e3f71b53a94f076dece0a29b4fad5ee..36f6db452b5153b2ed2224a9c6b6891b0c816bc3 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "text"
index 78c98931b37cf89f224906c25f0d0c11877d5d6e..34c688c71b388786cf93f20c7e4c0f05b750512c 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index eb68ddfc3c24394e86b30f3859c1e8d3238285dc..b8590edebfd3ca4a581ffb5bbc4f30bd4e088ae7 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.17.5
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index b769aae6eb183e90d7a7d372f658b8c6d555dde5..ae51b3c9a724eb86c17961aa81e569088609a3f8 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index fa562f980a808c3124ebf197383683cbe5251a48..068f180268e41a033bc1818648169d48ba45b975 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.5"
+\version "2.17.6"
 
 \header {
   lsrtags = "headword"
index a638ceb7fd3be5de50a7b078cc6b826079a7cc02..4cdddcad383f1e17b5cd21d595050336f0b03ce3 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index c469c52e646b35898387fe5941ebf5d6772f6144..f0e503ed5040d3948ea7858eda3436d47d974308 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.5"
+\version "2.17.6"
 
 \header {
   lsrtags = "repeats"
index 1ec43529b8f316345acb9d7fb7fc038dbed3641d..6e81017f846d1341681d00a4d094468feac10a01 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 \include "catalan.ly"
 
index 905afe38d8417b73488af921f66a65179c37dc1b..726e69b778ac901b19d6f6c8e7e59d995fa4dc7b 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index ea6bf4b60964c0d992a8b4b6c017a1b11c7026d2..46cea080dad816e8601330fd51be452f76d33a13 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "paper-and-layout"
index 089c99cde3848cfbea142b44387ef620116ad25b..b7dbf1918de604284a5fcc5b9967b57f1e9c1695 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
index 353b0c6373a0fcef29562dbd0d80c8f7960e7019..27c80491e768055d1220fb950f817090355e4df4 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.17.4
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index fa6557279f980e17f673e0fdd15d7aabd9a6ebfe..3338586384e5c4cf501bda9191a73f166515aafa 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {
index 3bea1acfa9f0ccd4c10fc76128c49774cb03c976..a348603f9abb305b1c98045b939d4dc6cf3a57b2 100644 (file)
@@ -4,7 +4,7 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
 \version "2.17.6"
 
 \header {