]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-instr-name.ly
* scripts/convert-ly.py (conv): remove \notes.
[lilypond.git] / input / regression / multi-measure-rest-instr-name.ly
index 9607523904fb5d753156ade7567ce289890cfe75..a84e2c27a9df1742041e856242567676d090d4a4 100644 (file)
@@ -1,20 +1,27 @@
-\version "2.1.23"
-\header { texidoc = "This combines instrument names and multimeasure rests (there was an
-interesting bug in 1.3.98). " }
+\version "2.3.4"
+\header {
+
+    texidoc = "There are both long and short instrument names.
+Engraving instrument names should not be confused by the
+multimeasure rests. "
+
+}
 
 \score{
-       \context Staff <<
-             \set Staff.instrument = "instrument"
-             \set Staff.instr = "instr"
-             \notes{c''1 \break R1 }
-           >>
-        \paper {
-           \translator { \StaffContext
+    \context Staff <<
+       \set Staff.instrument = "instrument"
+       \set Staff.instr = "instr"
+       {c''1 \break R1 }
+    >>
+    \paper {
+       raggedright = ##t
+       \context {
+           \Staff
            \consists Instrument_name_engraver
 
-           }
-         }
-       \paper { raggedright = ##t }
        }
+    }
+}
+