Am 06.12.2017 um 20:40 schrieb Jacques
Peron:
Here is a modified version, that calls `lilypond`
only when needed by computing a md5 hash of the content.
A good idea.
What about making a package out of that and putting
it on CTAN ? It would be more universal than lyluatex, so I
think many could be interrested. And why not put it on a public
repository, to have bug reports and feature requests ?
Well, I think lilypond-user is a good place to publish code related
to a lilypond/latex interface. Yes, it would be possible to make a
latex .sty file and publish it on CTAN - but there are projects that
are more important to me right now. Before I'd think of putting a
style based on this code on CTAN, at least the following problems
should be solved:
- Extended error handling is necessary.
- A check if write18 really is available should be implemented.
- A check for supported ghostscript / lilypond versions should
be implemented.
- We must adapt command lines to the ghostscript / lilypond
versions found.
- Support also win/mac platforms.
- Support of pure latex.
- Optionally synchronize global-staff-size to the design size of
the latex document class.
- Some code to optionally synchronize fonts and fontsizes used
by latex and lilypond would be nice.
- It should be possible to automatically deleted temporary
files.
- Everything should be properly documented.
- ...
Nothing of that is complicated, but it takes some time.
Knut
|