1 #This file was created by <jamatos> Wed Sep 29 16:07:48 1999
2 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
15 \paperorientation portrait
18 \paragraph_separation indent
20 \quotes_language english
24 \paperpagestyle default
29 \begin_inset Info Here goes the information about the article:
40 \added_space_top vfill \added_space_bottom vfill
53 \begin_inset Info The author name is always composed of:
57 It is always possible to have more than one author.
76 This is a small illustration of lyx's features using DocBook.
79 The abstract can span several paragraphs.
83 \begin_inset LatexCommand \label{first-section}
90 This file ilustrates the generation of docbook documents with LyX.
93 This will improve as soon as new features are available.
99 One of the goals is the support, as much as possible, of layouts used in
100 other textclass, for compatibility purposes.
103 Remember that this is work in progress, I would like to hear any comments,
105 \begin_inset Quotes eld
109 \begin_inset Quotes erd
118 This is an example with several nested lists.
143 Required steps to have a running lyx.
146 Be carefull with your own code.
173 If a label is the first element in any layout, that label will be merged
176 \begin_inset LatexCommand \ref[first-section]{first-section}
186 The only fonts supported are
192 <literal>SGML</literal>
200 One of the major changes in the docbook when compared with the linuxdoc
201 support are the figures support.
202 LyX only allows to view eps figures.
203 So you should have one of these if you want to take advantage of this feature.
206 Notice that when the docbook code is exported the filename extension is
208 This enables that when the several backends are processed in sgmltools,
209 the corresponding extensions are added.
210 The default extension are eps for the print and gif for the html backend.
217 \begin_inset Figure size 56 85
218 file ../doc/platypus.eps
234 Wide figures are treated as normal figures.
237 \begin_float wide-fig
241 \begin_inset Figure size 56 85
242 file ../doc/platypus.eps
261 There is also basic support for tables.
264 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
325 As it happens with the figures the wide tables are treated as normal tables.
331 There are some restrictions when using margins.
332 For further information on docbook allowed syntax consult the
333 \begin_inset LatexCommand \url[docbook reference manual]{http://www.oasis-open.org/docbook/documentation/reference/}
340 It is also possible to insert margin notes inside some environments.
351 second par -> margin note
354 third par -> margin note
359 Notice that the previous layout is at level 1
360 \begin_float footnote
363 This comes from a docbook restriction.
364 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
365 "TIP", "WARNING", "BLOCKQUOTE".
368 These environments are easily added to the docbook layout.
370 and so is the follow:
386 This is a small list of the remaining tasks:
389 Expand the number of layouts
412 Compose other layout files, besides article
420 \begin_float footnote
424 I do not expect lyx to deal with colection of books, for now!
437 including other lyx files
440 more advanced tables support