>> > I am writing a series of small documents each of which is a part of a 
bigger
>> > publication.  They are all generated using the `article' document class.
>> > Currently each small document is included into a base file and has a title 
on
>> > its first line as a part*.
>> > 
>> > This is all perfect, but I would like to be able to generate a Contents as
>> > part of the base file, but unfortunately the Contents is empty both on the 
printed
>> > page and in the display.
>> According to the latex companion, the *-red version of the sectioning
>> commands do not show up in the table of contents. You have to add
>> them by hand to the toc using Latex:
>> \addcontentsline{toc}{section}{\protect\numberline{}Introduction}
>> I do not know if there is a lyx-variant.

\addcontentsline{toc}{section}{\protect\numberline{}Introduction}
                      ^^^^^^^
 if you want section style in the toc, otherwise chapter, part,....

This question is so frequent that I wonder if it would not be
useful to have starred layouts or classes in which the starred
 {oart|chapter|section|..} titles would be in the toc.
 
Could be a option of standard LaTeX classes as well, but this would mean
a change of standard classes...

-- 
Jean-Pierre

Reply via email to