bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error using Fretboard in English


From: Graham Percival
Subject: Re: Error using Fretboard in English
Date: Sun, 25 Apr 2010 16:58:19 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

[Prev in Thread] Current Thread [Next in Thread]