On 12/08/2011 11:27 AM, Uwe Stöhr wrote:
Am 09.08.2011 17:12, schrieb Julien Rioux:
Please give it a try.
I can export it to Lilypond book (LaTeX) format but not view it as PDF.
I get:
D:\LyXSVN\LyX2.0.x\src\support\Systemcall.cpp(238): Systemcall:
'lilypond-book --safe --pdf --latex-program=pdflatex
--lily-output-dir=ly-pdf "lilypond.lytex"' did not start!
I solved this now. The problem is that one cannot simply call
"lilypond-book". This is a python script and no executable, therefore
one needs to start it with python. Furthermore one executables are
automatically found if they are in LyX's PATH variable, therefore one
has to give the full path to lilypond-book.py.
Right, this is what I said in the part of the email which you elided.
I implemented this now:
http://www.lyx.org/trac/changeset/39479
This might work for your installation but we should think of a better
fix. Strings like \"C:\\Program Files
(x86)\\LilyPond\\usr\\bin\\lilypond-book.py\" are not portable.
So now lilypond-book is correctly executed when viewing the lilypond.lyx
example file as PDF (pdflatex). But there are ia bug in LilyPond: I get
during the compilation:
Missing set(['ec/lily-5e700a3e.txt', 'ec/lily-5e700a3e.ly',
'ec/lily-5e700a3e-sy stems.count'])
Removing `D:\LyXSVN\LyX2.0.x\lib\examples\lilypond.tex'
And indeed, there are folders "ec1" to "ec5" but no folder named "ec".
I also get this when using lilypond-book with the command line, so
definitively no LyX problem. Can you please take over and report it to
the LilyPond people or can't you reproduce thiswith Lilypond 2.14.2?
regards Uwe
Sorry, I cannot reproduce. The example file compiles perfectly to both
dvi and pdf.
Cheers,
Julien