On Sun, 31 Aug 2003 04:35 pm, you wrote:
> Hi everyone,
>
> I'm having trouble adding an unnumbered chapter (chapter*) to the table of
> contents.
>
> I have tried the suggestion in the Lyx Tips & Tricks, which was to add -
> \addcontentsline{toc}{chapter}{My unnumbered Chapter}
> just after the start of the chapter. This does not seem to work.
>
> This is an excerpt from my document -
>
> \layout Chapter*
> \addcontentsline{toc}{Chapter}{References}
> References
>
> Can anyone offer any suggestions why this might not be working? Indeed, is
> it possible to add unnumbered chapters/sections etc to the TOC?
>
> Regards,
> Alistair

This did the trick - 

\layout Chapter*

Reference
\begin_inset ERT
status Open

\layout Standard

\backslash
addcontentsline{toc}{chapter}{References}
\end_inset

Sorry to bug you guys, I just figured it out after I asked the question. I was 
adding the line directly to the Lyx file rather than putting it in an ERT 
box. 

-- Alistair

Reply via email to