1 #LyX 1.4.0cvs 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 \begin_layout Standard
37 Here goes the information about the article:
40 \begin_layout Standard
45 \begin_layout Standard
50 \begin_layout Standard
55 \begin_layout Standard
60 \begin_layout Standard
65 \begin_layout Standard
76 \added_space_top vfill \added_space_bottom vfill
96 \begin_layout Standard
98 The author name is always composed of:
101 \begin_layout Standard
106 \begin_layout Standard
111 \begin_layout Standard
113 It is always possible to have more than one author.
125 \begin_inset FirstName
128 \begin_layout Standard
139 \begin_layout Standard
149 \begin_layout Abstract
151 This is a small illustration of lyx's features using DocBook.
154 \begin_layout Abstract
156 The abstract can span several paragraphs.
159 \begin_layout Section
162 \begin_inset LatexCommand \label{first-section}
169 \begin_layout Standard
171 This file ilustrates the generation of docbook documents with LyX.
174 \begin_layout Standard
176 This will improve as soon as new features are available.
179 \begin_layout Section
184 \begin_layout Standard
186 One of the goals is the support, as much as possible, of layouts used in
187 other textclass, for compatibility purposes.
190 \begin_layout Standard
192 Remember that this is work in progress, I would like to hear any comments,
194 \begin_inset Quotes eld
198 \begin_inset Quotes erd
204 \begin_layout Subsection
209 \begin_layout Standard
211 This is an example with several nested lists.
214 \begin_layout Itemize
220 \begin_layout Enumerate
225 \begin_layout Description
231 \begin_layout Enumerate
238 \begin_layout Itemize
243 \begin_layout Subsection
248 \begin_layout Standard
250 Required steps to have a running lyx.
253 \begin_layout Quotation
255 Be carefull with your own code.
258 \begin_layout Quotation
293 \begin_layout Subsection
298 \begin_layout Standard
300 If a label is the first element in any layout, that label will be merged
303 \begin_inset LatexCommand \ref[first-section]{first-section}
310 \begin_layout Subsection
315 \begin_layout Standard
317 The only fonts supported are
325 \begin_layout Standard
335 \begin_layout Subsection
340 \begin_layout Standard
342 One of the major changes in the docbook when compared with the linuxdoc
343 support are the figures support.
344 LyX only allows to view eps figures.
345 So you should have one of these if you want to take advantage of this feature.
348 \begin_layout Standard
350 Notice that when the docbook code is exported the filename extension is
352 This enables that when the several backends are processed in sgmltools,
353 the corresponding extensions are added.
354 The default extension are eps for the print and gif for the html backend.
357 \begin_layout Standard
360 \begin_inset Float figure
365 \begin_layout Standard
368 \begin_inset Graphics
369 filename ../doc/platypus.eps
381 \begin_layout Caption
391 \begin_layout Standard
393 Wide figures are treated as normal figures.
396 \begin_layout Standard
399 \begin_inset Float figure
404 \begin_layout Standard
407 \begin_inset Graphics
408 filename ../doc/platypus.eps
420 \begin_layout Caption
431 \begin_layout Subsection
436 \begin_layout Standard
438 There is also basic support for tables.
439 \begin_inset Float table
444 \begin_layout Standard
445 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center
448 <lyxtabular version="3" rows="3" columns="5">
450 <column alignment="center" valignment="top" leftline="true" width="0pt">
451 <column alignment="center" valignment="top" leftline="true" width="0pt">
452 <column alignment="center" valignment="top" leftline="true" width="0pt">
453 <column alignment="center" valignment="top" leftline="true" width="0pt">
454 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
459 \begin_layout Standard
465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
468 \begin_layout Standard
475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
478 \begin_layout Standard
485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
488 \begin_layout Standard
495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
498 \begin_layout Standard
507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
510 \begin_layout Standard
517 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
520 \begin_layout Standard
527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
530 \begin_layout Standard
537 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
540 \begin_layout Standard
547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
550 \begin_layout Standard
557 <row topline="true" bottomline="true">
558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
561 \begin_layout Standard
568 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
571 \begin_layout Standard
577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
580 \begin_layout Standard
587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
590 \begin_layout Standard
597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
600 \begin_layout Standard
615 \begin_layout Caption
625 \begin_layout Standard
627 As it happens with the figures the wide tables are treated as normal tables.
630 \begin_layout Subsection
635 \begin_layout Standard
637 There are some restrictions when using margins.
638 For further information on docbook allowed syntax consult the
639 \begin_inset LatexCommand \url[docbook reference manual]{http://www.oasis-open.org/docbook/documentation/reference/}
646 \begin_layout Quotation
648 It is also possible to insert margin notes inside some environments.
655 \begin_inset Marginal
658 \begin_layout Standard
663 \begin_layout Standard
665 second par -> margin note
668 \begin_layout Standard
670 third par -> margin note
679 \begin_layout Quotation
681 Notice that the previous layout is at level 1
685 \begin_layout Standard
687 This comes from a docbook restriction.
688 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
689 "TIP", "WARNING", "BLOCKQUOTE".
692 \begin_layout Standard
694 These environments are easily added to the docbook layout.
699 and so is the follow:
706 \begin_inset Marginal
709 \begin_layout Standard
720 \begin_layout Section
725 \begin_layout Standard
727 This is a small list of the remaining tasks:
730 \begin_layout Itemize
732 Expand the number of layouts
736 \begin_layout Itemize
741 \begin_layout Itemize
746 \begin_layout Itemize
751 \begin_layout Itemize
756 \begin_layout Itemize
761 \begin_layout Itemize
767 \begin_layout Itemize
769 Compose other layout files, besides article
773 \begin_layout Enumerate
778 \begin_layout Enumerate
784 \begin_layout Standard
786 I do not expect lyx to deal with colection of books, for now!
794 \begin_layout Enumerate
800 \begin_layout Itemize
806 \begin_layout Enumerate
808 including other lyx files
811 \begin_layout Enumerate
813 more advanced tables support
817 \begin_layout Itemize
822 \begin_layout Standard