>>Old-Delivered-To: [EMAIL PROTECTED]
>>X-OB-Received: from unknown (205.158.62.55) by wfilter.us4.outblaze.com; 22 
>>Aug 2006 13:12:42 -0000
>>From: "raman vaj" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Date: Tue, 22 Aug 2006 08:12:59 -0500
>>Subject: Added bibliography to TOC when NOT using a bibtex file
>>X-Originating-Server: ws1-3.us4.outblaze.com
>>
>>Dear  Lyx Users,
>>
>>  I have included the bibliography for my document using the bibliography fe
>>ature from the format menu. I would like to know how to include this biblio
>>graphy in my table of contents. I have seen an option of addign the bibliog
>>raphy to the TOC when it is a bibtex file, but not when the bibliography is
>>  done like this.
>>
>>It is a little bit urgent ( have a deadline in 2 days!!!)  so a fast reply 
>>would be really appreciated.

You may try to copy this in your preamble 
(it is simply the report class bibliography environment,
edited to send the chapter* name in the toc and tune the running headers 
properly).
 
It assumes that you want it to look like a chapter, and that it's OK
to have the running headers as \bibname in small capitals.
If not, remove the \textsc commands in the [EMAIL PROTECTED] command.

HTH

-- 
Jean-Pierre


\renewenvironment{thebibliography}[1]
     {\chapter*{\bibname
\addcontentsline{toc}{chapter}{\protect\numberline{}\bibname}%
       [EMAIL PROTECTED]
      [EMAIL PROTECTED]@[EMAIL PROTECTED]
           [EMAIL PROTECTED]
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            [EMAIL PROTECTED]@code
            \usecounter{enumiv}%
            [EMAIL PROTECTED]@empty
            [EMAIL PROTECTED]@enumiv}}%
      \sloppy
      \clubpenalty4000
      [EMAIL PROTECTED] \clubpenalty
      \widowpenalty4000%
      [EMAIL PROTECTED]


Reply via email to