Hi,

I managed to use lilypond in single lyx
 documents in LyX 2.0.0beta4 and 2.0 r1.
Now, when I use those files containing 
lilypond code as children in a master document
(lilypond module is selected in the master 
document settings), I get the following error:

"
LaTeX Error: Environment lilypond undefined.
Undefined control sequence.
LaTeX Error: \begin{document} ended by \end{lilypond}.
LaTeX Error: Environment lilypond undefined.
Undefined control sequence.
"

I tried using \begin{lilypond} and \end{lilypond} 
as ERT in the master document 
and got the folowwing error message:

"An error occurred while running:
lilypond-book --safe --pdf --latex
-program=pdflatex --lily-output-dir=ly-pdf"

Any idea what I should do to be
able to use lilypond in children lyx documents ?

Thank you,
Sylvain

Reply via email to