lyx_mirror/lib/layouts/dtk.layout
Jürgen Spitzmüller 9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
	- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
	- implement Requires tag for layouts.
	- increase layouts format to 6.
* src/Paragraph.cpp:
	- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
	- add some packages needed by modules.
	- remove Preamble method for InsetLayout. This is now done
	  in InsetFlex::validate.
* src/BufferParams.cpp (validate):
	- request required features for the class.
* src/insets/InsetLayout.h:
	- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
	- implement validate method and request required features and preamble snippets.

* lib/layouts/*.{layout,module,inc}:
	- increase layouts format to 6.
	- use Requires tags in some modules (more can be done later).

* lib/doc/Customization.lyx:
	- document Requires tag.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00

55 lines
1.3 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[dtk]{article (Die TeXnische Komoedie)}
# This is the definition file for
# Die TeXnische Komoedie (dtk),
# the journal of the German TeX User Group http://www.dante.de.
# Author : Herbert Voss <voss@lyx.org> 2001/08/13
Format 6
Columns 1
Sides 2
SecNumDepth -1 # no counting
TocDepth -1
ClassOptions
FontSize default # only 10pt in fact of A5
PageStyle "" # controlled by class
End
DefaultFont # only for screen
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy # no special latex env
ParSkip 0.5 # default
ParSep 0.5 # default
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdinsets.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
NoStyle Chapter
NoStyle Chapter*
Input stdtitle.inc
Input stdstruct.inc
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc