On 11-12-04 02:37 AM, Xavier Scheuer wrote:
Dear bug squad, could you add this doc improvement request to the
tracker, as asked by James in this thread?  Thanks!
http://lists.gnu.org/archive/html/lilypond-devel/2011-12/msg00041.html

In NR 1.6.3 Writing parts>  Instrument names , it should be recommended
to use

  \new Staff \with {
    instrumentName = #"Bassoon"
  }

and _not_ (advise against)

  \set Staff.instrumentName = #"Violin "

for the following reason: one _must_ use  \with {…}  to avoid the
instrument name _not to be printed!_ if a parallel voice starts with a
\grace .

This is not an "hypothetical issue", we got at least half a dozen
messages from users experiencing this "issue" (although they did
exactly what is said in the documentation) on the French users mailing
list.

Could you please change the doc, NR 1.6.3 Writing parts>  Instrument
names , accordingly?

Thanks in advance.

Here is a snippet showing the relevance of this issue (typically what
a lambda user would encounter).

%%%%

\version "2.15.20"

\score {
  <<
    \new Staff \with {
      instrumentName = #"OK"
    } {
      c'1
    }
    \new Staff \with {
      instrumentName = #"OK"
    } {
      \grace b8 c'1
    }
  >>
}

\score {
  <<
    \new Staff {
      \set Staff.instrumentName = #"NOT PRINTED!!"
      c'1
    }
    \new Staff {
      \set Staff.instrumentName = #"NOT OK"
      \grace b8 c'1
    }
  >>
}

%%%%

Cheers,
Xavier



Thanks, added as Issue 2076 <http://code.google.com/p/lilypond/issues/detail?id=2076>: Doc: improve NR 1.6.3 Instrument names (better to use \with ), to stay in practice!

Cheers,
Colin C.

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to