[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Design suggestion -- was: Re: more stupid questions
From: |
Werner LEMBERG |
Subject: |
Re: Design suggestion -- was: Re: more stupid questions |
Date: |
Tue, 17 Jun 2003 21:33:47 +0200 (CEST) |
> 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