On Wed, Oct 23, 2002 at 10:19:55PM +0930, Darren Freeman wrote:
> > Darren> This is really freaking me out, man. Have a go for yourselves.
> > Darren> Can you insert TeX as the first thing in a document, in the
> > Darren> standard environment (bold if it matters). Try what I tried:
> > Darren> \pagestyle{empty}.
> > 
> > Putting an ERT in font change is asking for trouble in general. Could
> > you post your example file?
> 
> I just made one for you. Just create a new doc, type something and make
> it bold, centred. Insert an ERT before the writing and type
> \pagestyle{empty} into it. View it, the ERT is ignored. Make it
> \thispagestyle{empty} and it will now work.
> 
> Breaking the ERT onto its own line (first line) and the text on the
> second doesn't fix it, same with un-bold-ing the ERT which was
> incorrectly inserted as bold *before* some bold text.

Of course it doesn't work.
You put the \pagestyle{empty} command inside two groups:
1. \begin{center} .. \end{center}, and
2. \textbf{...}

You should put the ERT inset in a paragraph of its own, not in bold, 
and the paragraph should not be centered.

Reply via email to