Wow, that's getting strange ...
I don't see any issues with your input and output, so I can't say
anything anymore.
My next (and last) resort would be to guess about a peculiar
installation issue. So the next thing I'd suggest (but maybe someone
else still has more to say) is to uninstall LilyPond, get a new version
(2.17.8 is already somewhat dated) and try it again.
Good luck
Urs
Am 16.10.2013 22:55, schrieb Phil Burfitt:
Hi Urs,
----- Original Message -----
From: Urs Liska
To: Phil Burfitt ; [email protected]
Sent: Wednesday, October 16, 2013 9:29 PM
Subject: Re: Lilypond command-line --include (was Frescobaldi 2.0.11)
Hm, I don't if that matters, but I would place the include option _before_
the filename.
Otherwise everything looks correct to me. Strange.
But it's definitely not a Frescobaldi issue anymore.
Best
Urs
lilypond -I "C:\TEMP" test.ly
GNU LilyPond 2.17.8
Processing `test.ly'
Parsing...
test.ly:3:9: error: cannot find file: `functions.ly'
(search path: `C:/Program
Files/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program
Files/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program
Files/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program
Files/LilyPond/usr/share/lilypond/current/scm;C:/Program
Files/LilyPond/usr/share/lilypond/current/ps;C:/Program
Files/LilyPond/usr/share/lilypond/current/ly;C:/TEMP;')
\include
"functions.ly"
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps'...
Converting to `./test.pdf'...
fatal error: failed files: "test.ly"
This time there are no warnings at the end, and C:\TEMP _is_ included in the
search path unlike the previous examples and frescobaldi verbose engrave. Still
giving fatal error though.
Adding a call to a function in functions.ly in my minimal example however shows
that functions.ly is still not being found...
\version "2.17.8"
\include "functions.ly"
\score {
\relative c'' { \stringNumbersOff c d e f }
}
lilypond -I "C:\TEMP" test.ly
GNU LilyPond 2.17.8
Processing `test.ly'
Parsing...
test.ly:3:9: error: cannot find file: `functions.ly'
(search path: `C:/Program
Files/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program
Files/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program
Files/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program
Files/LilyPond/usr/share/lilypond/current/scm;C:/Program
Files/LilyPond/usr/share/lilypond/current/ps;C:/Program
Files/LilyPond/usr/share/lilypond/current/ly;C:/TEMP;')
\include
"functions.ly"
test.ly:6:24: error: unknown escaped string: `\stringNumbersOff'
\relative c'' {
\stringNumbersOff c d e f }
test.ly:6:24: error: syntax error, unexpected STRING
\relative c'' {
\stringNumbersOff c d e f }
test.ly:6:8: error: errors found, ignoring music expression
\relative c'' { \stringNumbersOff c d e f }
fatal error: failed files: "test.ly"
Phil.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user