1 #LyX 1.3 created this file. For more info see http://www.lyx.org/
15 \use_numerical_citations 0
16 \paperorientation portrait
19 \paragraph_separation indent
21 \quotes_language english
25 \paperpagestyle default
35 Here goes the information about the article:
58 \added_space_top vfill \added_space_bottom vfill
76 The author name is always composed of:
85 It is always possible to have more than one author.
98 This is a small illustration of lyx's features using DocBook.
101 The abstract can span several paragraphs.
105 \begin_inset LatexCommand \label{first-section}
112 This file ilustrates the generation of docbook documents with LyX.
115 This will improve as soon as new features are available.
121 One of the goals is the support, as much as possible, of layouts used in
122 other textclass, for compatibility purposes.
125 Remember that this is work in progress, I would like to hear any comments,
127 \begin_inset Quotes eld
131 \begin_inset Quotes erd
140 This is an example with several nested lists.
165 Required steps to have a running lyx.
168 Be carefull with your own code.
195 If a label is the first element in any layout, that label will be merged
198 \begin_inset LatexCommand \ref[first-section]{first-section}
208 The only fonts supported are
217 <literal>SGML</literal>
226 One of the major changes in the docbook when compared with the linuxdoc
227 support are the figures support.
228 LyX only allows to view eps figures.
229 So you should have one of these if you want to take advantage of this feature.
232 Notice that when the docbook code is exported the filename extension is
234 This enables that when the several backends are processed in sgmltools,
235 the corresponding extensions are added.
236 The default extension are eps for the print and gif for the html backend.
240 \begin_inset Float figure
248 \begin_inset Graphics
249 filename ../doc/platypus.eps
266 Wide figures are treated as normal figures.
270 \begin_inset Float figure
278 \begin_inset Graphics
279 filename ../doc/platypus.eps
300 There is also basic support for tables.
301 \begin_inset Float table
307 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center
310 <lyxtabular version="3" rows="3" columns="5">
312 <column alignment="center" valignment="top" leftline="true" width="0pt">
313 <column alignment="center" valignment="top" leftline="true" width="0pt">
314 <column alignment="center" valignment="top" leftline="true" width="0pt">
315 <column alignment="center" valignment="top" leftline="true" width="0pt">
316 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
367 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
383 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
391 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
399 <row topline="true" bottomline="true">
400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
408 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
453 As it happens with the figures the wide tables are treated as normal tables.
459 There are some restrictions when using margins.
460 For further information on docbook allowed syntax consult the
461 \begin_inset LatexCommand \url[docbook reference manual]{http://www.oasis-open.org/docbook/documentation/reference/}
468 It is also possible to insert margin notes inside some environments.
473 \begin_inset Marginal
481 second par -> margin note
484 third par -> margin note
491 Notice that the previous layout is at level 1
497 This comes from a docbook restriction.
498 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
499 "TIP", "WARNING", "BLOCKQUOTE".
502 These environments are easily added to the docbook layout.
505 and so is the follow:
510 \begin_inset Marginal
525 This is a small list of the remaining tasks:
528 Expand the number of layouts
551 Compose other layout files, besides article
564 I do not expect lyx to deal with colection of books, for now!
578 including other lyx files
581 more advanced tables support