On Fri, 7 Feb 2025 at 10:36, Pavel Sanda <sa...@lyx.org> wrote: > 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? >
I did that in 7606da5e. > BTW I also see in User Guide A.1.15 mention of DocBook SGML export, that's > probably obsolete now? I updated this part of the guide in f86b0bfd; it could be a candidate to backporting to 2.4 (although the commit is much longer than expected to the change in file format).
-- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel