Re: printing table of contents
On Fri, Jan 9, 2009 at 9:38 AM, John White wrote: > I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9). > I cannot figure out how to put the table of contents in the document before > printing it. TOC works fine for getting around the document (as does > navigate). But when I try to insert it into the document for final > printing, I do not get the table of contents. All I get is the word > "Contents." No other data. > > Any suggestions are appreciated. > > John Have you inserted sections or subsections or subsubsections into your document? These are generally all that are included in the toc, unless you've changed the default behavior in Document->Settings->Numbering & TOC. /Bob
Re: printing table of contents
On Fri, Jan 9, 2009 at 10:14 AM, John White wrote: > > > Bob Lounsbury wrote: >> >> On Fri, Jan 9, 2009 at 9:38 AM, John White wrote: >> >>> >>> I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9). >>> I cannot figure out how to put the table of contents in the document >>> before >>> printing it. TOC works fine for getting around the document (as does >>> navigate). But when I try to insert it into the document for final >>> printing, I do not get the table of contents. All I get is the word >>> "Contents." No other data. >>> >>> Any suggestions are appreciated. >>> >>> John >>> >> >> Have you inserted sections or subsections or subsubsections into your >> document? > > Yes, I have inserted Section*, Subsection*, and Subsubsection*. >> >> These are generally all that are included in the toc, unless >> you've changed the default behavior in Document->Settings->Numbering & >> TOC. >> > > Document->Settings->-Numbering & TOC shows "Yes" for "Appears in TOC." I > have changed nothing > > John Starred stuff does not appear in the TOC. A LaTeX default. To add starred stuff to the toc you would have to insert in ERT just after the section in the text: \addcontentsline{toc}{section}{Section name} \addcontentsline{toc}{subsection}{Subsection name} \addcontentsline{toc}{subsubsection}{Subsubsection name} /Bob
Re: printing table of contents
Bob Lounsbury wrote: Starred stuff does not appear in the TOC. A LaTeX default. To add starred stuff to the toc you would have to insert in ERT just after the section in the text: And FYI: That's the difference between section and section*: The former gets a number and appears in the TOC; the latter gets no number and does not, unless you do that: \addcontentsline{toc}{section}{Section name} \addcontentsline{toc}{subsection}{Subsection name} \addcontentsline{toc}{subsubsection}{Subsubsection name} rh
Re: printing table of contents
I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9). You helped me with the table of contents. Now I have another problem, this time with indexes. When I print out the document, indexed, the index only goes about half-way across the page. The right half of the page is blank. This means the page number is below the index text. I need the page number to be at the right of the page when the index is printed. Any ideas on how to get the index text when printed to spread across the full page will be most appreciated. Thank you. John Bob Lounsbury wrote: On Fri, Jan 9, 2009 at 9:38 AM, John White wrote: I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9). I cannot figure out how to put the table of contents in the document before printing it. TOC works fine for getting around the document (as does navigate). But when I try to insert it into the document for final printing, I do not get the table of contents. All I get is the word "Contents." No other data. Any suggestions are appreciated. John Have you inserted sections or subsections or subsubsections into your document? These are generally all that are included in the toc, unless you've changed the default behavior in Document->Settings->Numbering & TOC. /Bob
Re: printing table of contents
On Tue, Jan 20, 2009 at 3:35 AM, John White wrote: > I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9). You > helped me with the table of contents. Now I have another problem, this time > with indexes. When I print out the document, indexed, the index only goes > about half-way across the page. The right half of the page is blank. This > means the page number is below the index text. I need the page number to be > at the right of the page when the index is printed. Any ideas on how to get > the index text when printed to spread across the full page will be most > appreciated. > > Thank you. > > John Probably would have been better to start a new thread. I haven't messed with indices much, and I'm not quite understanding what the problem is. Maybe you could post a screen shot or a small lyx example file showing the incorrect behavior and describe the expected behavior. /Bob