Hi,

see for more details: https://latex.org/forum/viewtopic.php?t=36140

where "milka" replied that this looks like a bug.


I had to update to newer LyX version and it looks like the "DocBook 5" export causes some troubles on my side.

Before: LyX Doc -> DocBook export to SGML -> conversion to html
Now: LyX Doc -> DocBook export to XML-> conversion to html

The embedded code (\begin_layout Plain Layout...) in the document contained since long time relate to info/revision and so on did not proper survive but is required for the box
https://www.deepspace6.net/projects/ipv6calc.html

Old set worked at least with 2.3.7
https://github.com/pbiering/ipv6calc/tree/4.2.2/doc

New set need some tweaks for 2.4.2.1
https://github.com/pbiering/ipv6calc/blob/4.3.0/doc/

Tweak#1: require to add in front of

        \begin_layout Right Address
        pb at bieringer dot de
        \end_layout

that leads at least to that the "Plain Layout" section survives the XML export at least as comment - otherwise it will not occur in XML export at all

=> see https://latex.org/forum/viewtopic.php?t=36140

Run export:
        lyx --export docbook5 ipv6calc.lyx


Tweak#2: using Perl to reactivate the content

=> see https://latex.org/forum/viewtopic.php?t=36140

Then the conversion to HTML is proper working and the revision history box appears in HTML.


Run conversion:
        xsltproc -o ipv6calc.html db2xhtml-ipv6calc.xsl ipv6calc.xml


Thank you in advance.

Regards,
        Peter

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to