Fw: Re: Possibly bug with export to epub
Thibaut Cuvelier
dourouc05 at gmail.com
Fri Nov 15 00:57:42 UTC 2024
>
> Am 12.11.2024 09:43:14 schrieb José Matos <jaomatos at gmail.com>:
> @Thibaut could this be related with the same issue that you committed
> today?
>
> No: the error I fixed should apply to all documents on a given system
(this problem either appears for all documents on a given machine or none,
which doesn't seem to be the case).
On Tue, 12 Nov 2024 at 10:40, Bernd Nitzschmann <bernd.nitzschmann at gmail.com>
wrote:
> ... and the log file...
>
This log seems to be about generating a PDF, not an ePub (and only with
warnings, no error, as far as I could see).
If the document is too complex for ePub generation, you will see, near the
beginning of the log, things like "<Left Column>: tag not supported" coming
straight from the XSLT sheets we use to transform DocBook into ePub. You
would then have to find these layouts and switch to something else.
(You can also send an excerpt or your whole document to either the list or
directly to myself so I can have a look and maybe implement it. Many
document classes and modules have missing mappings to DocBook because they
would need quite a lot of bespoke code and format changes, so it's unlikely
I could improve the situation for the next 2.4.)
This makes me think that we could search for these elements and offer an
explicit warning when generating the DocBook file, although the problem is
much worse with subsequent processing like ePub. (The problem appears when
outputting the XML tag for a LyX layout that has no DocBook mapping, in
which case we revert to using the layout name -- the resulting XML document
could be valid and users could retrieve the content without too much work
if they are well-versed in DocBook.)
> [image: a8a0aa9c-a530-42b3-b904-4d3b54e40b8c]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241115/87d5ba96/attachment.htm>
More information about the lyx-devel
mailing list