On Tue, 2006-03-07 at 09:52 +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Shouldn't be too hard. Already sectioning commands for XML > Martin> contain a CommandDepth parameter. This could be used on the > Martin> LaTeX side too. > > We have TocLevel for numbered sections. > > Martin> output_docbook contains a routine to search forward to the > Martin> next same-depth-or-shallower sectioning command. Grabbing > Martin> those paragraphs and moving them as a block up or down should > Martin> be simple (and inexpensive after Abdel's paragraph patch) > > The problem is to avoid displaying the non-header-paragraphs in the > document. > > What would be _much_ easier however is to make this possible through > the ToC dialog. Does anybody know how this worked in KLyX?
Sure... but you still need to implement the underlying operations. Looking at TOC, it seems that we just have to add some more operations to ToCItem in toc.[Ch]. And buttons to the dialog. (Did klyx have outlining? That confirms that it cannot be so hard.) - Martin
signature.asc
Description: This is a digitally signed message part