DocBook: implement CALS tables

Thibaut Cuvelier tcuvelier at lyx.org
Wed Jul 15 14:20:37 UTC 2020


On Mon, 13 Jul 2020 at 09:30, Jürgen Spitzmüller <spitz at lyx.org> wrote:

> Format increase should be done in the same commit than lyx2lyx (at
> least adding an empty definition. Otherwise LyX will complain that it
> cannot convert documents.
>

Here is an updated version of the patch, with conversion routines. However,
it doesn't look right, as LyX now generates this error when opening a
document (I took doc/Development.lyx):

LyX: Unknown TextClass tag `\docbook_table_output' [around line 1 of file
> ~\AppData\Local\Temp\lyx_tmpdir.EpQUxUwunUIo\c
> onvertncyrVl.layout current token: '\docbook_table_output' context: '']
> TextClass.cpp (396): Unable to convert internal layout information to
> format 82
> Warning: Read Error
> ----------------------------------------
> Error reading internal layout information
>

This patch is the culprit, as there is no such error without it. However, I
don't understand the message: why is there a note about layouts? I did not
change anything about layouts, did I?

(The LYX_ALIGN_DECIMAL part has just been committed, and is now excluded
from what I'm attaching.) I still have in mind the update of
Development.lyx :).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200715/51b9af42/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-CALS-tables-in-DocBook.patch
Type: application/octet-stream
Size: 22455 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200715/51b9af42/attachment-0001.obj>


More information about the lyx-devel mailing list