On Thu, Jan 18, 2007 at 03:46:22PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> When I translate the section headers using branches, nothing > Martin> appears in the ToC, just the number. Text inside a branch > Martin> inset does not make it to the ToC or nav menu. > > Martin> Attached a fix. With this, the active/selected branch(es) will > Martin> be used to create the ToC entry. > > But this only takes in account the first paragraph of the branch > inset?
Ah yes. But section headers have only one paragraph. (And if you were to put a complete section into a branch inset, your header would again be the first paragraph.) Of course there could be sub-headers in that case... OK, I'll try to do it. > If you want to take in account branches (or more generally > nested textinset), you should do it completely, I can't believe it is > so difficult. I think branches are the main problem. We don't really need to see footnotes and the like in the ToC. But when using branches, e.g., for translating to two languages, all of the section header text will be inside one or the other branch inset. There is nothing left and the ToC entry will be just the number. This is IMHO the only thing that needs fixing. > JMarc - Martin
pgpf5O6TXW1R1.pgp
Description: PGP signature