LilyPond to ePub: how to run LilyPond on the DocBook output?
Pavel Sanda
sanda at lyx.org
Tue Sep 21 18:38:05 UTC 2021
On Tue, Sep 21, 2021 at 06:06:08PM +0200, Thibaut Cuvelier wrote:
> On Tue, 21 Sept 2021 at 13:13, Pavel Sanda <sanda at lyx.org> wrote:
>
> > On Tue, Sep 21, 2021 at 01:37:02AM +0200, Thibaut Cuvelier wrote:
> > > How can we achieve this? I did not see anything related to calling
> > LilyPond
> > > on the existing LaTeX files either, so I can't copy this??? Any help
> > would be
> > > appreciated!
> >
> > I do not know details of using lilypond, but clearly we have lilypond-book
> > used
> > as converter (look it up in lib/configure.py) so maybe it's just question
> > of adding
> > one conversion line for docbook?
> >
>
> The main disadvantage of this solution is that it would require every user
> to have a lilypond binary somewhere to produce ePub, as all steps of a
> conversion are always performed (if I'm not mistaken). Or is it acceptable
> to run LilyPond always if it's available (even if it doesn't do anything)
> and to skip this step if it's not available?
If I understanding correctly how lilypond is to be used I see two options:
- Create new output target Lilypond (Docbook) for people specifically interested into lilypnd
- Silently detect in docbook2epub.py if 1) lilypond is needed 2) lilypond is available
and run necessary conversion behind the users back
Pavel
More information about the lyx-devel
mailing list