On Sat, Jun 02, 2007 at 12:26:48AM -0500, Bo Peng wrote:
> When an inset such as InsetInclude does not have a valid
> ParConstIterator (because it does not have valid paragraphs), it has
> to use the iterator of its parent paragraph. This patch implements
> this and add InsetInclude with a caption to nagivation -> list of
> listings.
> 
> To test, look under nagivatio -> list of listings for your
> lstinputlisting with captions.
> 
> Using the same logic, 'list of any sort of inset' can be added easily.
> 
> OK to apply?

> Index: src/TocBackend.h
> ===================================================================
> --- src/TocBackend.h  (revision 18628)
> +++ src/TocBackend.h  (working copy)
> @@ -81,6 +81,30 @@
>  };
>  
>  
> +/// thrown by an inset that does not have a valid ParConstIterator
> +/// so the paragraph containing this inset has to be used
> +class outerTocItem

'OuterTocItem'

Andre'

Reply via email to