Hi Maarten, thank you for the fast reply.
I confirm that your modification removes the error, but the document output ignores the style sheet. Is this because I am using the Book classfile and is there a workaround? Thanks, Sarjoun On 4/25/06, Martin Vermeer <[EMAIL PROTECTED]> wrote: > On Tue, Apr 25, 2006 at 04:09:55PM -0400, Sarjoun Skaff wrote: > > Hi, > > ... > > > This leads me to assume that classes have to be modified to work with LyX, > > is this correct? > > No. Existing classes work unmodified, provided you build the corresponding > .layout file for them. > > > If yes, why didn't the documentation say so? I have spent > > an enormous amount of energy just trying to understand if I could directly > > use an IEEE class provided by a conference. Now I think that the answer is > > no. > > I expect the answer is yes... and I even expect that we have an existing > layout file that would work with just minimal modifications. > > > > Problem with title pages > > ======================== > > I was able to format a title page for my proposal document written with the > > Article class. I added the following to the preamble: > > \usepackage[T1]{fontenc} > > \usepackage{myTitlePage}, > > > > where myTitlePage.sty is adapted from Herbert Voss's style page > > (http://www.lyx.org/cgi-bin/viewcvs.cgi/www-user/help/titlepage/Attic/myTitl > > ePage.sty?rev=1.2). > > > > However, I am unable to use this style file for my thesis, probably because > > I'm using the Book class. I get the following error: LaTeX Error: > > [EMAIL PROTECTED] undefined. The same problem happens when I use the Report > > class, > > but disappears if I use the Article class. > > Confirmed. > > A quick fix is to replace \renewcommand on line 17 by \newcommand. > (Yes, I'm sorry, you have to know a little LaTeX programming language > for this :-( ) > > - Martin > > > >