I am writing a layout for a class file.
The corresponding class file specifies several \RequirePackage calls with the [dvips] option, and hence trying to compile the document using pdflatex or any of the other pdf renderers fails.
Unfortunately, pdf output is the default in Lyx. Is there a way to set the default output format to dvi in the layout file?
Best Answer
From Help > Customization:
So in your layout file you could put