On Mon, May 5, 2008 at 7:25 AM, Peter Hanula <[EMAIL PROTECTED]> wrote:
> Hi everybody.
>
> I'm fairly new to lyx and tex stuff in general and I'm currently
> desperately trying to disable page numbers on all pages until TOC
> (including TOC). I can't use \thispagestyle{empty} on every page,
> because TOC is more than one page long and it seems to affect only
> last page of TOC.
>
> At http://wiki.lyx.org/FAQ/Unsorted#toc4 I found a possible solution
> but \pagestyle{empty} does not do anything anywhere in document for
> reasons which are unknown to me so far.
>
> I tried to modify roman numbering before TOC which I have found here:
> http://wiki.lyx.org/Examples/RomanPageNumbering but I was
> unsuccessful as well.
>
> lyx v1.5.1
> This is TeX, Version 3.141592 (Web2C 7.5.6)
> everything installed from as it is in ubuntu repository :-)
>
> Any suggestions ?
>
In case somebody is interested I found a solution (in this mailing list! :-))
http://www.mail-archive.com/[email protected]/msg45627.html
Basically I added
\addtocontents{toc}{\protect\thispagestyle{empty}}
and I use \thispagestyle{empty} on other pages
Maybe it's a bit crude, but it seems working.