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