On 31/08/10 14:47, Etienne Snyman wrote:
Dear LyX-people

This is my first time posting on the list as a new LyX user, so please
excuse any stupid mistakes I might make or stupid questions I might ask!
:-) For the record, I am using LyX 1.6.5 on Ubuntu 10.04.

I would like to write music theory content for music students, and it
seems that LyX natively supports the import of Lilypond files. However,
since attempting to do so, I have not had any success. I was unable to find
a reference to it in the installed LyX documentation.

If anyone could help me to incorporate Lilypond code into a LyX document,
I will be willing to send you some free fake digital non-existent
chocolates via imagination mail. Or, if any subsequent versions of LyX have
similar support, I would be even more grateful.

Thanks

Etienne

Hi Etienne!

Do you want to write Lilypond code directly in LyX, and have LyX automatically run the necessary 'lilypond-book' script in order to generate LaTeX code that can be compiled to PDF?

Or do you just want to include/link an external Lilypond file?

I successfully did the latter as follows:

Go to the menu item: Insert -> File -> External Material

Then select Lilypond on the Template drop-down menu on the File tab. Select the *.ly file in the File: field. The other tabs allow you to adjust e.g. size and rotation.

Within LyX I then see a grey box with the text "Lilypond typeset music". The music is of course present in PDF files produced with LyX.

In this case you'd still have to edit your lilypond files externally.

Or did you have something else in mind?

I'm using LyX 1.6.7 and my Lilypond is v2.12.3.

Torquil

Reply via email to