LyXNew documentclass in LyX (LyX 1.6) — how to? Problems...

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
neGODnick
Posts: 35
Joined: Mon Jun 16, 2008 9:31 pm

New documentclass in LyX (LyX 1.6) — how to? Problems...

Post by neGODnick »

Hi!

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
Could anybody tell me:

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.
Do not move your cursor near double underlined links — they are POPUP-ADs!!!
Избегайте попадания курсора на «ссылки» с двойным подчёркиванием — это ВСПЛЫВАЮЩАЯ РЕКЛАМА!!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

neGODnick
Posts: 35
Joined: Mon Jun 16, 2008 9:31 pm

Re: New documentclass in LyX (LyX 1.6) — how to? Problems...

Post by neGODnick »

Do not move your cursor near double underlined links — they are POPUP-ADs!!!
Избегайте попадания курсора на «ссылки» с двойным подчёркиванием — это ВСПЛЫВАЮЩАЯ РЕКЛАМА!!!
Post Reply