On Wed, 2002-10-23 at 17:47, Jean-Marc Lasgouttes wrote: > >>>>> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > > Darren> Dear list, OK now I'm getting worried! > > Darren> That ERT at the top of my document, \pagestyle{empty}, wasn't > Darren> being noticed by view->dvi so I added the carriage return > Darren> inside the ERT as before when it was working. > > Darren> All looked good, but LaTeX run gave 2 errors in the paragraphs > Darren> below. > > Darren> It's as if an extra '}' is being seen by LaTeX below, at the > Darren> end of two paragraphs. These paragraphs are sections with > Darren> guarded returns (they form the title page). > > 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. See attached file. > JMarc Darren
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme times \graphics default \paperfontsize 12 \spacing onehalf \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 2.5cm \topmargin 2cm \rightmargin 2.5cm \bottommargin 2cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \align center \series bold \begin_inset ERT status Collapsed \layout Standard \backslash pagestyle{empty} \end_inset hello \the_end