Is this a report of a problem in the docs, or a problem in
something you wrote yourself?
Any language includes must go after other builtin lilypond
includes. I can't find the string "Fretboard" in any of our
snippets, so I suspect the code below was written by you. If you
fix the order, it should work.
Cheers,
- Graham
On Sun, Apr 25, 2010 at 03:40:38PM +0000, Trevor Skeggs wrote:
> The Snippet List extract for a simple lead-sheet template
> ( melody, lyrics, chords and fret diagrams ) is not practical
> because it produces only trivial 3-note fretboard diagrams
> (the three lowest guitar strings are always marked as unused).
>
> - - - - - - - - - - -
>
> The Snippet included in Notation Reference 2.12.3
> (pages 230/231) uses ' predefined-guitar-fretboards.ly ' :
>
> \version "2.12.2"
> \include "english.ly"
> \header { title = "Fretboard Bug" }
>
> \include "predefined-guitar-fretboards.ly"
> mychords = \chordmode { c1 f g }
> <<
> \context ChordNames {\mychords }
> \context FretBoards {\mychords }
> >>
>
> - - - - - - - - - - -
>
> However, this produces the following compilation error message:
>
> # -*-compilation-*-
> Processing `I:/LilyPond/Vocal/fretboard snippet.ly'
> Parsing...
> C:/Program Files/My
> Progs/Music/LilyPond/usr/share/lilypond/current/ly/predefined-guitar-ninth-
> fretboards.ly:28:36:
> error: syntax error, unexpected STRING
> \storePredefinedDiagram \chordmode {
> cis:9}
>
> - - - - - - - - - - -
>
> Notice that there is no c#9 requested in the required chord list!
>
> The continental format "cis" gives the game away, and when
> '\include "english.ly" ' is commented-out, the snippet works.
>
>
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-lilypond
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond