On Tue, 30 Oct 2001, Asger K. Alstrup Nielsen wrote:
> 5. If the user clicks on this document, LyX will invoke NoteEdit with
> execvp, which basically amounts to this call:
>
> system("noteedit music.not &")
>
... you know: A presupposition is the KDE-environmant is correctly set ...
>
> noteedit --export-lilypond music.not
>
>
> Obviosuly, if we could convert from NoteEdit format directly to
> a suitable LaTeX chunk, that would be ideal as well, because then
> we would not rely on Lilypond. I'm a music sheet typesetting
> ignorant, and don't know if MusicTeX is as good as Lilypond.
> From my limited reading on the internet, I just understood that
> Lilypond looked better than MusicTeX, but maybe I have misunderstood
> something.
Indeed, LilyPond is better because it has musical knowledge. MusiXTeX
is rather a (turtle-) graphic description and the output quality highly depends
on the typesetter (Noteedit in this case). And Noteedit does not produce
the best quality in all cases. So MusiXTeX is more suitable for a human
typesetter how can inititate a trial-and-error loop.
On the other hand: The LilyPond processing takes a lot of time. A (La)TeX
user certainly expects faster processing. Furthermore it needs a
very correctly installed environment. This can cause problems
with "system()" or "execv()" call... (?)
>
> Basically, what we need is some way of converting a NoteEdit .not file
BTW: The .not files are in MUP file format with some extentions ...
> to a piece of LaTeX that is suitable for direct insertion into the body
> of a LaTeX document. We want the most beautiful result, but other than
> that, we do not care if Lilypond is used or not. Also, it's no problem
> if we have to invoke Lilypond ourselves, or not.
>
> Is it more clear now?
Yes it is! I think the best way is to produce a different program from
only a subset of the Noteedit source files. This has 3 advantages:
1.) faster loading time;
2.) less memory (escially the memory allocation and shared library
search wastes a lot of time);
3.) Independence of KDE/QT;
I think it is possible to supply a "--export-lilypond" and a "--export-musixtex"
option.
--
J.Anders, Chemnitz, GERMANY ([EMAIL PROTECTED])