I, too,
have copied code from documentation that caused incomprehensible
errors messages eventually tracked to the wrong single quote character.
Very annoying. I've thought it unique to my technique. Can the
documentation be fixed? Or, better, can Lily be fixed to accept all
single quote characters interchangeably?
- Bruce
Hi Jim,
I just tried the "Notes only" template and got an error that I commonly
get when I copy and paste from the Lilypond manual - it doesn't like the
" ’ " character that is in the
manual. I have to manually delete them and reinsert " ' ". Then it typesets
fine. Below is the "Notes only" template with the modification, which works
fine on my installation of Lilypond 2.7.3 on OS 10.4.
\version "2.6.0"
melody = \relative c'
{
\clef treble
\key c \major
\time 4/4
a4 b c d
}
\score
{
\new Staff \melody
\layout
{
}
\midi { \tempo 4=60 }
}
- John
When I copy and paste from the first template
example and then copy and paste my chosen notes I get
error: syntax error, unexpected STRING
\new Staff
\melody
When I delete those parts I get
A lovely pdf file no error messages and no midi
even though I now have at the end
\score {
\layout { }
\midi { \tempo 4=60 }
}
So the example template in this instance does not
seem to work at I expect.
Which is why I asked- what's the minimum?
Jay