I need to use any document class, for example the NCC, which is not present in LyX. They propose to make "new.layout" on the basis of class.cls and class.sty files to use such classes. I tried to make the layout file, but with no success:
Code: Select all
# \DeclareLaTeXClass[book, ncclatex.sty]{book (NCC-LaTeX)}
# DescriptionBegin
# 2006/01/17 v1.10 NCC-LaTeX document class (NCC)
# DescriptionEnd
Preamble
\usepackage{ncclatex}
EndPreamble
1) How to make the layout file for LyX 1.6 correctly; must I re-edit full content of ncc.cls, ncclatex.sty etc. in layout file or no (and how to); must I make .inc-file, etc.;
2) Is there a way to don't use the LyX drop-down list of classes presented in document' preferences dialog window and, so, just to write \documentclass in the preambula? May be, it have to mare any "empty" layout file, choose it in drop-down list, but also write essential \documentclass in the preambula? It would be the simplest & the best solution.