On 09/08/2011 10:54 AM, Uwe Stöhr wrote:
Am 09.08.2011 11:02, schrieb Julien Rioux:

10. In http://wiki.lyx.org/LyX/NewInLyX20#lb it is told that Lilypond
support is already described. Where?

The module is described in the example file lilypond.lyx.

Thanks, I found it now. This file is perfect and I'll add it to the
specific manuals. I also now added you as author because you deserve the
honor ;-) and change a bit the formatting to fulfill our documentation
style rules.


It's not necessary to add my name, but ok.

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!

When I first need to export it as lytex and then start Lilypond-book to
make a PDF out of it, Windows forbid this because Lilypond tries to
write files in the installation directory which is not allowed in
Windows. I'll test further and inform the Lilypond developers if this is
indeed the only problem. (The Lilypond Windows installation is btw. in
general not clean, for example the examples files cannot be executed.)


Thanks Uwe, it's great that you try it out on windows and provide feedback. I am not sure why it fails at starting lilypond-book. Yes, this program tries to create a lot of files, but it should be happening in the temporary directory anyway. It isn't very different from running latex itself. Thus I think that the problem is not the generated files, but rather something else that we miss. What do you get if you do 'lilypond-book --version' from command line?

Oh wait, lilypond-book is a python script. For windows we probably need to spawn the python interpreter explicitly.

Previewing also fails.


This is probably only a consequence that LyX fails at starting lilypond-book, as above.

I also see that we need to search for Lilypond while installing LyX.
I'll add this feature to the merged installer the next days and will
have a closer look why Lilypond-book fails.


Is this so that the path to lilypond.exe would be added automatically to LyX's PATH? Probably a good idea.

regards Uwe

Thanks,
Regards,
Julien

Reply via email to