On 09/28/2010 11:13 AM, David Hopkins wrote:
I am trying to create a document that customized cls file (modified
from article.cls).  However, I cannot get the table of contents to be
created ... neither with he Lyx option Insert-->List/TOC-->Table of
Contents nor using \tableofcontents via ERT.

My document starts with a large ERT section to add cover pages and
other required pages.  If I add (via the GUI) the TOC,  I do not get
anything at all even though I get the 'grey' box "Table of Contents"
and if I click on it, I get the side panel which shows Table of
Contents as having two entries.  I've even tried adding
\addcontentsline{toc}{section}{Introduction}  after the Section title.
However, while I can get a pdf, I still don't get a TOC. I have
similar issues with \listoftables and \listoffigures.

With the second approach, I get two Erros, they are both: LaTex Error:
Something's wrong--perhaps a missing /item

Any ideas how I can the TOC to work?

I think we'd need to see an example file, with your custom layout.

Richard


Reply via email to