On Wed, 2006-09-06 at 15:00 +0200, Lorenzo Paulatto wrote:

> Dear LyX users,
> I have a small problem I wasn't able to solve myself: I have a docume
> ("book" class) structured in the following way:
> + sec*: Abstract
> + Table of Contents
> + cha: Chapter 1
> + ...
> + cha*: Appendix
> + ...
> 
> Using some \addcontentsline{toc}{section}{...}} I was able to include in
> the TOC even the un-numbered chapters and sections, but I found no way
> to include the TOC it itself.
> 
> If I add a \addcontentline just *before* the \tableofcontents it is
> indexed in the previous page, and of course if I put it just *after* the
> \tableofcontents it is indexed in the last page of the TROc wich is
> three pages long.
> 
> 
> This problem won't bother me much if the abstract was *after* the TOC,
> but with the current layout it feels like a hole in the TOC and I'll
> really like to fix it.
> 
> I have passed through several latex manuals, but I wasn't able to find a
> solution; do you have any hint?
> 
> Bye and thanks
> 
> 


Lorenzo,

Put in your latex preamble, under Document>Settings>Latex Preamble:

\usepackage{tocbibind}

This will include the toc, lof, and lot into your toc.

Bob Lounsbury

Reply via email to