Re: Can't turn off numbering in TOC
On 21 Nov 2007, Juergen Spitzmueller wrote: > Anthony Campbell wrote: > > > I'd already tried that. It ought to work but even when I set the page > > style to be "empty" it still prints the page number on the first page of > > the contents list. > > \addtocontents{toc}{\protect\thispagestyle{empty}} > in ERT *before* the TOC inset. > > > I'm wondering if this is a bug. The only solution I can see is to copy > > the whole contents list out as a normal page and use that. > > No, it's no bug (maybe an unimplemented feature). > > Jürgen Thanks, that fixes it. Anthony -- Anthony Campbell - [EMAIL PROTECTED] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles)
Re: Can't turn off numbering in TOC
Anthony Campbell wrote: > I'd already tried that. It ought to work but even when I set the page > style to be "empty" it still prints the page number on the first page of > the contents list. \addtocontents{toc}{\protect\thispagestyle{empty}} in ERT *before* the TOC inset. > I'm wondering if this is a bug. The only solution I can see is to copy > the whole contents list out as a normal page and use that. No, it's no bug (maybe an unimplemented feature). Jürgen
Re: Can't turn off numbering in TOC
On Nov 21, 2007 2:53 AM, Anthony Campbell <[EMAIL PROTECTED]> wrote: > > Set the page style to be "empty" in the document dialogue. Then, at the > > beginning of your main text, reset the pagestyle using an ERT box. > > > > Alan > > > > I'd already tried that. It ought to work but even when I set the page > style to be "empty" it still prints the page number on the first page of > the contents list. > > I'm wondering if this is a bug. The only solution I can see is to copy > the whole contents list out as a normal page and use that. > > > Anthony If my memory is correct this is because the settings in the document dialogue affect all pages exempt the chapter page and the first page of the toc is considered a chapter page. To change this behavior you'll need modify the chapter page style or if you only want to change the look of the toc then there are latex packages for this. You can search around on ctan.org, I think the package I would use is tocloft, which is specifically written for modification of the toc, lof, and lot. I'm sure there are other packages to, but this is the package I used to modify the toc for my thesis. Good Luck Cheers, Bob
Re: Can't turn off numbering in TOC
On 21 Nov 2007, Typhoon wrote: > On Tue, 20 Nov 2007 17:35:26 + > Anthony Campbell <[EMAIL PROTECTED]> wrote: > > > On 20 Nov 2007, Steve Litt wrote: > > > On Tuesday 20 November 2007 08:33, Anthony Campbell wrote: > > > > I'm using the Book class. I want to turn off the page numbering > > > > for TOC. The Contents list extends over two pages. > > > > > > > > I've put \thispagestyle{empty} after Tableofcontents, but the > > > > Table appears with "3" on the first page though the second page > > > > is empty. I think the problem arises because there are two pages; > > > > when there was only one it was OK. > > > > > > > > Is there any way to achieve this? If not, I'll just have to make > > > > the thing manually. > > Set the page style to be "empty" in the document dialogue. Then, at the > beginning of your main text, reset the pagestyle using an ERT box. > > Alan > I'd already tried that. It ought to work but even when I set the page style to be "empty" it still prints the page number on the first page of the contents list. I'm wondering if this is a bug. The only solution I can see is to copy the whole contents list out as a normal page and use that. Anthony -- Anthony Campbell - [EMAIL PROTECTED] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles)
Re: Can't turn off numbering in TOC
On Tue, 20 Nov 2007 17:35:26 + Anthony Campbell <[EMAIL PROTECTED]> wrote: > On 20 Nov 2007, Steve Litt wrote: > > On Tuesday 20 November 2007 08:33, Anthony Campbell wrote: > > > I'm using the Book class. I want to turn off the page numbering > > > for TOC. The Contents list extends over two pages. > > > > > > I've put \thispagestyle{empty} after Tableofcontents, but the > > > Table appears with "3" on the first page though the second page > > > is empty. I think the problem arises because there are two pages; > > > when there was only one it was OK. > > > > > > Is there any way to achieve this? If not, I'll just have to make > > > the thing manually. Set the page style to be "empty" in the document dialogue. Then, at the beginning of your main text, reset the pagestyle using an ERT box. Alan > > > > > > Anthony > > > > From LyX menu: > > > > Document->Settings->Numbering&TOC > > > > Set numbering as appropriate. > > > > SteveT > > > No, I was talking about the page number at the bottom of the Table of > Contents, not the content. But, as a matter of interest, I tried > altering the numbering you mention and it didn't make any difference > to anything as far as I can see. > > Anthony > > -- > Anthony Campbell - [EMAIL PROTECTED] > Microsoft-free zone - Using Linux Gnu-Debian > http://www.acampbell.org.uk (blog, book reviews, > on-line books and sceptical articles) > >
Re: Can't turn off numbering in TOC
On 20 Nov 2007, Steve Litt wrote: > On Tuesday 20 November 2007 08:33, Anthony Campbell wrote: > > I'm using the Book class. I want to turn off the page numbering for TOC. > > The Contents list extends over two pages. > > > > I've put \thispagestyle{empty} after Tableofcontents, but the Table > > appears with "3" on the first page though the second page is empty. > > I think the problem arises because there are two pages; when there was > > only one it was OK. > > > > Is there any way to achieve this? If not, I'll just have to make the > > thing manually. > > > > Anthony > > From LyX menu: > > Document->Settings->Numbering&TOC > > Set numbering as appropriate. > > SteveT No, I was talking about the page number at the bottom of the Table of Contents, not the content. But, as a matter of interest, I tried altering the numbering you mention and it didn't make any difference to anything as far as I can see. Anthony -- Anthony Campbell - [EMAIL PROTECTED] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles)
Re: Can't turn off numbering in TOC
On Tuesday 20 November 2007 08:33, Anthony Campbell wrote: > I'm using the Book class. I want to turn off the page numbering for TOC. > The Contents list extends over two pages. > > I've put \thispagestyle{empty} after Tableofcontents, but the Table > appears with "3" on the first page though the second page is empty. > I think the problem arises because there are two pages; when there was > only one it was OK. > > Is there any way to achieve this? If not, I'll just have to make the > thing manually. > > Anthony From LyX menu: Document->Settings->Numbering&TOC Set numbering as appropriate. SteveT