Hi,
I'm having problems when using TitleLatexCommand in my .layout file.

I use the command \coverpage instead of \maketitle to generate the title page. This command is defined in my .sty file (included in the Preamble section of the layout file).

Everything goes well until I specify "TitleLatexCommand coverpage" in my layout file. When doing this, LyX can't create/convert a document to my own class named ezbook (a customized book class that uses ezstyle.sty). it raises the following error message:
"The document could not be converted into the document class ezbook."

When loading a .lyx file that uses ezbook class (but done prior adding TitleLatexCommand to the layout file), LyX crashes after saying: "Using the default document class, because the class ezbook could not be loaded."

I thought I had done something the wrong way, but it's strange that removing TitleLatexCommand line solve this (it solves the problem of crashing the app, but of course, it doesn't solve using a custom title command :)

Any one could help?

A.D.

Reply via email to