]> git.lyx.org Git - lyx.git/blob - lib/layouts/docbook.layout
read the ChangeLog... no huge changes .. but some might get reversed...
[lyx.git] / lib / layouts / docbook.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareDocBookClass[article]{SGML (DocBook article)}
3 # DocBook textclass definition file. 
4 # Author : Jose' Matos <jamatos@lyx.org>
5
6 # Input general definitions
7 Input stdclass.inc
8
9 OutputType              docbook
10
11 MaxCounter              Counter_Section
12 SecNumDepth             3
13 TocDepth                3
14
15 #docbook specific definitions
16 Style Standard
17   LatexType             Paragraph
18   LatexName             para
19 End
20
21 # Quote style definition
22 Style Quotation
23   LatexType             Environment
24   LatexName             blockquote
25   LatexParam            para
26 End
27
28 # Title style definition
29 Style Title
30   LatexType             Command
31   LatexName             artheader
32   LatexParam            "1|"
33 End
34
35 # Section style definition
36 Style Section
37   LatexType             Command
38   LatexName             sect1
39   LatexParam            "1|"
40 End
41
42 # Subsection style definition
43 Style Subsection
44   LatexType             Command
45   LatexName             sect2
46   LatexParam            "2|"
47 End
48
49 # Subsubsection style definition
50 Style Subsubsection
51   LatexType             Command
52   LatexName             sect3
53   LatexParam            "3|"
54 End
55
56 # Paragraph style definition
57 Style Paragraph
58   LatexType             Command
59   LatexName             sect4
60   LatexParam            "4|"
61 End
62
63 # Subparagraph style definition
64 Style Subparagraph
65   LatexType             Command
66   LatexName             sect5
67   LatexParam            "5|"
68 End
69
70 # Enumerate style definition
71 Style Enumerate
72   LatexType             Item_Environment
73   LatexName             orderedlist
74 End
75
76 # Itemize style definition
77 Style Itemize
78   LatexType             Item_Environment
79   LatexName             itemizedlist
80 End
81
82 # Description style definition
83 Style Description
84   LatexType             Item_environment
85   LatexName             variablelist
86 End
87
88 # Verbatim style definition
89 Style Literal
90   LatexType             Environment
91   LatexName             literallayout
92   Font
93     Latex               Latex
94   EndFont
95 End
96
97 # Code style definition
98 Style Code
99   CopyStyle             LyX-Code
100   LatexType             Environment
101   LatexName             programlisting
102   Preamble
103   EndPreamble
104   Font
105     Latex               Latex
106   EndFont
107 End
108
109 # Author style definition
110 Style Author
111   LatexType             Environment
112   LatexName             author
113   KeepEmpty             1
114 End
115
116 # first name style definition
117 Style FirstName
118   Margin                Static
119   LatexType             Paragraph
120   LatexName             firstname
121   ParIndent             MM
122   ParSkip               0.4
123   Align                 Center
124   AlignPossible         Center
125   LabelType             No_Label
126 End
127
128 # surname style definition
129 Style Surname
130   Margin                Static
131   LatexType             Paragraph
132   LatexName             surname
133   ParIndent             MM
134   ParSkip               0.4
135   Align                 Center
136   AlignPossible         Center
137   LabelType             No_Label
138 End
139
140 # Date style definition
141 Style Date
142   LatexType             Paragraph
143   LatexName             date
144 End
145
146 # Abstract style definition
147 Style Abstract
148   LatexType             Environment
149   LatexName             abstract
150   LatexParam            para
151 End 
152
153 # SGML style definition
154 Style SGML
155   CopyStyle             LaTeX
156 End
157
158 # There are no chapters or parts in an docbook article.
159 NoStyle Chapter
160 NoStyle Chapter*
161 NoStyle Part
162 NoStyle Part*
163 NoStyle LaTeX
164 NoStyle LyX-Code
165 NoStyle Address
166 NoStyle Right_Address
167 NoStyle LaTeX_Title
168 NoStyle Verse
169 NoStyle Section*
170 NoStyle Subsection*
171 NoStyle Subsubsection*
172 NoStyle Paragraph*
173 NoStyle Subparagraph*
174
175 Style LyX-Code
176   ObsoletedBy           Code
177 End