Am Mon, 8 Feb 2021 16:18:17 +0100 schrieb Thibaut Cuvelier <tcuvel...@lyx.org>:
> On Mon, 8 Feb 2021 at 12:35, Pavel Sanda <sa...@lyx.org> wrote: > > > On Sun, Feb 07, 2021 at 08:49:56PM +0100, Thibaut Cuvelier wrote: > > > commit 9d4ffac7fbc06893e79a19097ae1b5c762d830e0 > > > Author: Thibaut Cuvelier <tcuvel...@lyx.org> > > > Date: Sun Feb 7 20:33:06 2021 +0100 > > > > > > ePub: detect and use xsltproc. > > > --- > > > lib/configure.py | 7 +++++-- > > > lib/scripts/docbook2epub.py | 38 > > ++++++++++++++++++++++++++++---------- > > > 2 files changed, 33 insertions(+), 12 deletions(-) > > > > > > diff --git a/lib/configure.py b/lib/configure.py > > > index 93ad624..47d1034 100644 > > > --- a/lib/configure.py > > > +++ b/lib/configure.py > > > @@ -1007,8 +1007,10 @@ def checkConverterEntries(): > > > rc_entry = [ r'\converter docbook5 pdf9 "%%" > > ""' ]) > > > # > > > global java > > > - if java != '': > > > - addToRC('\\converter docbook5 epub "python > > $$s/scripts/docbook2epub.py \\"' + java + '\\" $$i $$o" ""') > > > + if xsltproc != '': > > > + addToRC('\\converter docbook5 epub "python > > $$s/scripts/docbook2epub.py none \\"' + xsltproc + '\\" $$i $$o" ""') > > > + elif java != '': > > > + addToRC('\\converter docbook5 epub "python > > $$s/scripts/docbook2epub.py \\"' + java + '\\" none $$i $$o" ""') > > > > I am happy to give xsltproc a try under linux. Is the output supposed to > > give > > identical result to saxon -- or is there some realistic way how to tell > > that > > xslproc output is on par with saxon, which you tested already? > > > > I don't have trained eyes to look on xml/epub and see possible issues. > > Pavel > > > > There should not be any significant differences between the XSLT > processors. Would be nice to create 2 formats e.g. Epub1, Epub2. Epub1 created with xsltproc, Epub2 with java. Kornel
pgpKs7XU0UPQY.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel