Martin Vermeer wrote: > Angus, > > I notice that subfigure is not supported yet in the external material > inset.
It never will. > It shouldn't be very hard to add, the way it looks now. We need a new inset which shouldn't be very hard to write. InsetSubfigure. > One very simple way for doing this is the following: > > 1) Define, in a layout file widely included (e.g., stdlayouts.inc) a > layout "subfigure" of latextype command and latexname subfigure. > > 2) Give this layout an optional argument (the subcaption text to be) > > 3) Include as the main content of the paragraph the "external material" > inset. > > Like this in ascii art: > > [Figure float] > +-------------------------------------------------------------------+ > |(subfigure para style) [OptArg] [Xfig: myfigure 1] | > | [The subfigure 1 caption] | > |(subfigure para style) [OptArg] [Xfig: myfigure 2] | > | [The subfigure 2 caption] | > | | > |(caption para style) The figure main caption | > +-------------------------------------------------------------------+ > > This is a little cludgy but very straightforward. I foresee a problem > with the "caption hack" though in text.C :-( Which we should perhaps > re-think. > > What do you think? Sounds like a plan to me, but I tend to be less ruthless about hacks than some ;-) -- Angus