I run Lyx, Lilypond and Frescobaldi.  I still use Noteedit to write Lilypond 
files, although development has stopped.  I have no reason to import Lilypond 
into Lyx, but under "Converters" I did notice that there are commands for 
Noteedit and Lilypond files.

Frescobaldi no longer depends on Kate, as its predecessor did.  It is 
basically an editor and processor for .ly files.  Importing probably needs 
something different.  Since the usable output from Lilypond is PostScript or 
PDF, perhaps the OP needs to look at importing those.

Doug.

On Tuesday 17 March 2009 10:09:25 am Piero Faustini wrote:
> Johannes Asal <johannes.a...@...> writes:
> > 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?
>
> Sure. If "creative process" continuity is your need, that's pretty
> important. But I thought that creating a musical example IS a different
> task than write some text. If you just need to put in the FLOW of text some
> musical symbols to create - for example - a simple rhythm pattern or some
> harmony analysis, check the package Harmony: but not "music" at all.
>
> If you think you can stand "import" you can do like this:
> 1. have a plain and blank .ly file always ready in the document directory.
> Let's call it "blank.ly"
> 2. Put it in the document with Insert etc. etc.
> 3. Rightclick on it and Select EDIT EXTERNALLY (MUCH BETTER if you have a
> proper tool already working, as I have, for example Lilypondtool + jEdit)
> 4. Edit file but save it with a new name, and just quit external editor
> 5. click on the example box and just select the new .ly file you just
> created (otherwise it would still point to "blank.ly")
> 6. If preview is ON, you now should see the example in the proper place,
> and edit "externally" whenever you need it.
>
> If you have hundreds of VERY tiny examples (such a pair of chords or a
> simple melody) the process could be annoying, and you were right.
>  But if your examples are just "small" (or rather medium-size), and not
> hundreds, this method have a great advantage: you can see a preview (in
> your default editor) AND a preview in LyX (otherwise, I think, you CAN'T
> have, and you should rely on your unassisted .ly writing skills - I
> couldn't do so!!!)
>
> > 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
>
> Finale? Sibelius? never heard oh that, should be some exotic programs ;)
>
> Lilypond-book IS the solution for your needs, but we LyX-Lilypond users
> need to tweak harder to have it work without problems.
> But, I repeat, even when we find a way to use lilypond-book, I would
> continue to use in many case the IMPORT solution - By the way, it IS NOT a
> import: you do not import anything at all, you just USE lilypond files.
> Importing would be bad, using is great: you could manually add some stuff
> like a "copyright" line in every .ly file without compiling, and touch
> NOTHING in your LyX doc, and everything would work perfect at next LyX
> compiling.
> It's just a matter of keep .ly code in external files.
>
> Hope to have helped you.
> These days I'm very busy, but in a pair of weeks I'm going to work on the
> lilypond-book thing. I quote you "there should be a solution".
> Bye
> Piero


Reply via email to