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.

I implemented this now:
http://www.lyx.org/trac/changeset/39479

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

Reply via email to