> Feed the .tex unchanged thoug lilypond-book to latex. It should
> contain something like \usepackage{lilypond}. When latex reaches a
> lilypond-environment, it should write out a nice message and then
> pass everything inside the environment to stdout. lilypond-book
> takes this output and feeds it to lilypond. Whenever lily finds a
> box which dosn't contain native lilypond elements (e.g. Notes, bars,
> etc.) passes this code back to lilypond-book, which feeds it to
> latex. latex should create this box inside a register and compute
> the dimensions. After doing so it passes the dimensions back to
> lilypond-book which feeds it back to lilypond. Now lilypond has the
> exact size without having to know how to deal with the TeX code.
> After processing lilpond gives the produced tex code back to latex
> via lilypond-book.
I fully second that -- I've also suggested such a mechanism long ago.
Werner
_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel