On Wed, 13 Oct 2021 at 15:07, Pavel Sanda <sa...@lyx.org> wrote: > On Wed, Oct 13, 2021 at 02:33:47PM +0200, Thibaut Cuvelier wrote: > > The only solution I could find is to use the existing mechanism to > generate > > preview images. This way, the LaTeX code is transformed into an > > intelligible form (i.e. an image), while still keeping the original LaTeX > > code if someone wants to modify the image without access to the original > > LyX document (this property is quite important to me). > > Just to be sure - do I understand correctly that what you aim for is to > take > any piece of ERT, run preview-inset-like machinery, get it's output as an > image > and include it in docbook output? >
No, that's not for any ERT, it's only for insets that opt into this mechanism. In particular, for the linguistic trees, there are no ERT involved. It's not automatic at all.
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel