Thank's Thomas that solves my problem.. I think I will have to change from a set of PDF manuals to the html version. I searched all the files for "Fret" and "N.C." selecting the "any of the words option". This may have found the reference but could have been lost in a cascade of hits.
Searching for \set noChordSymbol finds all the lines containing \set. It is a bit hit and miss searching for an answer much easier to search when you know the answer. Search for noChordSymbol finds the answer. >-----Original Message----- >From: Thomas Morley [mailto:[email protected]] >Sent: Sunday, January 31, 2016 7:14 PM >To: Peter Gentry >Cc: lilypond-user >Subject: Re: Fret Diagrams > >Hi Peter, > >2016-01-31 19:29 GMT+01:00 Peter Gentry <[email protected]>: >> This may be trivial but searches of themanuals etc have not >born fruit. >> >> How do you prevent the markup N.C. appearing where there is a note >> rest. In fact N.C. does not always appear sometimes once in >a bar sometimes twice for no immediately apparent reason. > >searching for N.C. in Notation Reference give an immediate >hit, pointing to >http://www.lilypond.org/doc/v2.19/Documentation/notation/displa >ying-chords#printing-chord-names > >Where you can read: >Rests passed to a ChordNames context will cause the >noChordSymbol markup to be displayed. > >So: >It has nothing to do with Fret Diagrams, but ChordNames. >Everywhere you wrote rests the noChordSymbol appears for each rest. > >> >> If r1 is replaced by R1 then no "N.C." markup. > >R1 is a MultiMeasureRest not a Rest, so noChordSymbol is not printed. >Some for spacers, btw. > >Maybe we should extend the example from the NR to demonstrate >how to change noChordSymbol. > >Here your shortened example with some possibilities: > > >m = > \chordmode { > e1:7 | > s1 | > r1 | > a2 g | > c2:dim7 a:7 | > d1 | > \set noChordSymbol = "foo" > r1 | > \set noChordSymbol = "" > r2 r4 g | > R1 > } > ><< > \new ChordNames \with { noChordSymbol = "--x--" }\m > \new Staff \m >>> > > >HTH, > Harm _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
