I've been trying to get a quotation to appear on a separate page after the title page in a document I just started, and was frustrated to find that, while using what appeared to be the exact same series of commands, the new document returned errors when I attempted to view the PDF.

With any text between the date environment and the \mainmatter command or the next environment, Lyx would consider \mainmatter or the \part environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the noun style in the title environment, the following commands would be recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached mimimal sample files. Works.lyx uses the noun style in the title environment, Error.lyx does not. Try to export to PDF using View > PDF (pdflatex).

I'm using LyX/Aqua 1.3.5.

Ben


Attachment: Error.lyx
Description: Binary data

Attachment: Works.lyx
Description: Binary data

Reply via email to