On Thu, Feb 06, 2025 at 11:53:46PM +0000, Thibaut Cuvelier wrote: > commit 554eb63d3967fb88a38452114265d8a1bd5fee04 > Author: Thibaut Cuvelier <tcuvel...@lyx.org> > Date: Fri Feb 7 00:52:18 2025 +0100 > > InsetERT: recognise whenever the contents looks sufficiently like XML to > attempt outputting it as raw XML. > > This behaviour is closer to what LyX 2.3 and previous handled ERTs for > DocBook: they were always output as SGML. This no longer makes sense for the > new DocBook support (you can export basically any document to DocBook and > have reasonable output, while previously you had to use a DocBook template), > but this heuristic should capture most previous use cases. (If the ERT is > just XML: output it. Otherwise, it's probably not meant to be output as-is -- > LaTeX, text, etc.)
Could you document this ERT heuristic feature in the manuals? BTW I also see in User Guide A.1.15 mention of DocBook SGML export, that's probably obsolete now? Thanks, Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel