[LyX/master] ePub: detect and use xsltproc.

Thibaut Cuvelier tcuvelier at lyx.org
Sat Feb 13 18:35:29 UTC 2021

On Sat, 13 Feb 2021 at 00:05, Pavel Sanda <sanda at lyx.org> wrote:

> On Fri, Feb 12, 2021 at 11:18:38PM +0100, Thibaut Cuvelier wrote:
> > Are your two files correctly uploaded? 7Zip tells me that the CRC check
> > failed for the xsltproc file (and indeed there is at least one missing
> > character in its index.xhtml). Here are the SHA-256 of the two ePub
> files,
> > computed by 7Zip (I downloaded them multiple times to be sure the error
> > should not come from my side):
> > Saxon: 3BD5DC8B92F263ED0E8397C95BD39BEA3388E6BFDC3307F7ABA634B81DCD94D5
> > xsltproc:
> 58B94B38558DF9CA724F894AD5E479D1D9C314D5E9A857C5B7C828A69FA74EB6
> Hm, no this is not what it should have been:
>  $ sha256sum *epub
> 99bbc4701306261ef426fc76379dff360087d6830fd8a8213b816dc79c68bac7
> Intro.saxon.epub
> 6e5152a77c3d1b0ec16fdf5829f7c8c7380b98781b2f0ff4a9b8543d7dd31fa2
> Intro.xsltproc.epub
> In case mailman is playing dirty tricks with us, could you try:
> https://filebin.net/lvw2i6t8jona3u12

The files on filebin are indeed much better! No content seems to be

I checked thoroughly the two ePub files. The only differences I could see
were in the IDs that were used for sections and other elements. Each XSLT
processor is still consistent with itself, so there is no real difference
between the two files. However, that means that automatically checking if
both have the same output will be harder than expected…
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210213/6e3dc1a5/attachment.html>

More information about the lyx-devel mailing list