Originally created by: *anonymous
Originally created by: PhilEHol...@googlemail.com
As stated in the title - remove both grace notes and the instrument name comes back.
harprh = \relative c' {
\grace { s16 } [r1]*4 |
\break
[r1]*4
}
harplh = \relative c' {
\grace { s16 } [r1]*4 |
\break
[r1]*4
}
\score { <<
\new PianoStaff = "harp" <<
\set PianoStaff.instrumentName = "InstName"
\set PianoStaff.shortInstrumentName = "Short"
\new Staff = "rh" { \harprh }
\new Staff = "lh" { \harplh }
>>
>>
}
Originally posted by: dak@gnu.org
That's hardly surprising. The instrument names are set on the first beat while staffs are instantiated 1/16 grace note earlier. If you take a look at our documentation at <URL:http://www.lilypond.org/doc/v2.16/Documentation/notation/writing-parts>, you'll see that we _only_ use context modifications for setting instrument names. We could conceivably add explicit warnings against \set, but people reading the manual would not actually be using \set anyway, so there is no additional audience who is going to do things right with such a warning.
For anyone actually reading and following the current stable manual, no problem should be visible.
The original documentation issue had been issue 2076, and I consider it sufficiently solved. It would be debatable whether this can be called an instance of issue 34 instead, but indeed the timing that is used here would not likely change even when issue 34 was tackled in some manner.
So I am marking this as a duplicate of the already closed issue 2076.
Mergedinto: 2076
Status: Duplicate
Related
Issues: #34