From lyx-users Mon Mar 16 08:56:11 2009 From: Johannes Asal Date: Mon, 16 Mar 2009 08:56:11 +0000 To: lyx-users Subject: Re: Lilypond integration Message-Id: X-MARC-Message: https://marc.info/?l=lyx-users&m=123719646610039 Piero Faustini writes: > > I understand what are your needs, because almost identical as mine. > I had to discard lilypond-book because it was too difficoult to integrate with > LyX. I must admit I didn't try too much: but I use a lot of multiple-pass > packages such BibLaTeX (a sort of enhanced bibTeX), indexes and so on, so I > think it would be difficuolt to have everything work without problems, and > almost impossible to have a working instant preview of the whole doc. > It seems that a theory book (as a musicological research on librettoes) > doesn't need a lot of long music examples, so the advantages of lilypond-book > (basically: ability to draw music snipetts in different environments) are not > so important. > This is what I use: I have a directory of musical examples in .ly files, which > have a simple code that have all the white space cut. (can't find the thread > where this was discussed, I will post it later). > I use Insert - File - External material - Lilypond file. It can give instant > preview (and allows direct link to the predefined Lilypond editor, if you find > some error) so is ALMOST as having the code directly in the LyX doc. > If you need multiple lines examples, this can be hard to achieve if you need > lines to cross between pages, but I think a solution can be found. Stay tuned. > Hope it was clear > > Thanks for your answer. I was checking the nabble forum so I didn't read your posts. I think the External material solution is not optimal, as it forces you to interrupt your creative process. You need to switch to another application and create a lilypond file, then go back to lyx and import it. Of course you could prepare all the files before starting to write the text, but who knows exactly what kind of musical examples he will need in his book? I'm not really sure, what would be the best solution. But what I'm sure about is that there should be a solution. Not even Finale or Sibelius provide real support for writing musicological documents. Considering the price you have to pay for them, that's a real shame.