<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 8 Feb 2021 at 12:35, Pavel Sanda <<a href="mailto:sanda@lyx.org">sanda@lyx.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Feb 07, 2021 at 08:49:56PM +0100, Thibaut Cuvelier wrote:<br>
> commit 9d4ffac7fbc06893e79a19097ae1b5c762d830e0<br>
> Author: Thibaut Cuvelier <<a href="mailto:tcuvelier@lyx.org" target="_blank">tcuvelier@lyx.org</a>><br>
> Date:   Sun Feb 7 20:33:06 2021 +0100<br>
> <br>
>     ePub: detect and use xsltproc.<br>
> ---<br>
>  lib/configure.py            |    7 +++++--<br>
>  lib/scripts/docbook2epub.py |   38 ++++++++++++++++++++++++++++----------<br>
>  2 files changed, 33 insertions(+), 12 deletions(-)<br>
> <br>
> diff --git a/lib/configure.py b/lib/configure.py<br>
> index 93ad624..47d1034 100644<br>
> --- a/lib/configure.py<br>
> +++ b/lib/configure.py<br>
> @@ -1007,8 +1007,10 @@ def checkConverterEntries():<br>
>          rc_entry = [ r'\converter docbook5      pdf9      "%%"       ""' ])<br>
>      #<br>
>      global java<br>
> -    if java != '':<br>
> -        addToRC('\\converter docbook5 epub "python $$s/scripts/docbook2epub.py \\"' + java + '\\" $$i $$o" ""')<br>
> +    if xsltproc != '':<br>
> +        addToRC('\\converter docbook5 epub "python $$s/scripts/docbook2epub.py none \\"' + xsltproc + '\\" $$i $$o" ""')<br>
> +    elif java != '':<br>
> +        addToRC('\\converter docbook5 epub "python $$s/scripts/docbook2epub.py \\"' + java + '\\" none $$i $$o" ""')<br>
<br>
I am happy to give xsltproc a try under linux. Is the output supposed to give<br>
identical result to saxon -- or is there some realistic way how to tell that<br>
xslproc output is on par with saxon, which you tested already?<br>
<br>
I don't have trained eyes to look on xml/epub and see possible issues.<br>
Pavel<br></blockquote><div><br></div><div>There should not be any significant differences between the XSLT processors. <br></div></div></div>