Jürgen Spitzmüller <sp...@lyx.org> writes: > Ben M. wrote: >> Yes, but any extra packages should be specified in the preamble. >> Since there are many ERT for which a preview is possible, shouldn't >> LyX give users the option? > > Yes, I think we should implement a preview option for InsetFlex (or > collapsables in general) that can be enabled on a layout basis or for > individual insets.
A general remark: I would really prefer such features to be implemented at InsetText level (or in a new intermediate inset if need be). Collapsable insets are just insets that are collapsable, and yet they implement many features that are not relevant (inset layouts for example). Actually, I plan to move the InsetLayout stuff to be base inset class (but without the layout_ member) in the next weeks. JMarc