On Mon, Oct 22, 2001 at 08:04:28PM +0200, ben wrote: > Hi, Hi Ben, I think this discussion is better suited for the lyx-devel so I have move it to here.
> I would like that when a table is created the SGML output can contain a > <thead>, especially when long tables are used. I have done that. The same for tfoot. Notice that we have the restrictions that are ineherent to the latex longtable model: * one head row * one firsthead row * one foot row * one last foot row While in the docbook model you can have how many head rows and foot rows you want to. My solution as to enable both (if present) firsthead and head rows to be present in the header, by this order, and foot and last foot to be present in the footer. This should be more than enough for most of the cases. That is you can have at most two rows in the header and the footer. Honestly this should cover most of the cases where you need, so I will not concern anymore about it. Notice one special feature that makes sense and is copied from the latex model, you can specify the same row as header and footer. LyX will copy it both to the header and to the footer as it makes sense. The only case where this will give problems is when you have an anchor defined in that row, but then the only solution I give is "Don't do this", or else copy the row if you really want to. So this is a feature and not a bug before anyone asks. ;-) > In the GUI, long table heads can be defined (so something can be done > for docbook) but there's nothing for normal tables. Maybe it should be > provided too. This will only work if you define a long table, else you get a normal table. I don't think that normal tables should get this. That's the same as the case I have consider in another thread, I don't want LyX to be too smart and define things for me. If I want a long table I get a long table, if I want a normal table I get a normal table. > What do you think ? Probably it will never be implemented. ;-) > BG -- José