1 #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
15 \use_numerical_citations 0
18 \paperorientation portrait
21 \paragraph_separation indent
23 \quotes_language english
27 \paperpagestyle default
34 \begin_inset Note Note
37 \begin_layout Standard
39 Here goes the information about the article:
42 \begin_layout Standard
47 \begin_layout Standard
52 \begin_layout Standard
57 \begin_layout Standard
62 \begin_layout Standard
67 \begin_layout Standard
90 \begin_inset CharStyle Firstname
93 \begin_layout Standard
101 \begin_inset CharStyle Surname
104 \begin_layout Standard
114 \begin_layout Abstract
116 This is a small illustration of lyx's features using DocBook.
119 \begin_layout Abstract
121 The abstract can span several paragraphs.
124 \begin_layout Section
127 \begin_inset LatexCommand \label{first-section}
134 \begin_layout Standard
136 This file ilustrates the generation of docbook documents with LyX.
139 \begin_layout Standard
141 This will improve as soon as new features are available.
144 \begin_layout Section
149 \begin_layout Standard
151 One of the goals is the support, as much as possible, of layouts used in
152 other textclass, for compatibility purposes.
155 \begin_layout Standard
157 Remember that this is work in progress, I would like to hear any comments,
159 \begin_inset Quotes eld
163 \begin_inset Quotes erd
169 \begin_layout Subsection
174 \begin_layout Standard
176 This is an example with several nested lists.
179 \begin_layout Itemize
185 \begin_layout Enumerate
190 \begin_layout Description
196 \begin_layout Enumerate
203 \begin_layout Itemize
208 \begin_layout Subsection
213 \begin_layout Standard
215 Required steps to have a running lyx.
218 \begin_layout Quotation
220 Be carefull with your own code.
223 \begin_layout Quotation
258 \begin_layout Subsection
263 \begin_layout Standard
265 If a label is the first element in any layout, that label will be merged
268 \begin_inset LatexCommand \ref[first-section]{first-section}
275 \begin_layout Subsection
280 \begin_layout Standard
282 The only fonts supported are
287 \begin_inset CharStyle Literal
290 \begin_layout Standard
300 \begin_layout Subsection
305 \begin_layout Standard
307 One of the major changes in the docbook when compared with the linuxdoc
308 support are the figures support.
309 LyX only allows to view eps figures.
310 So you should have one of these if you want to take advantage of this feature.
313 \begin_layout Standard
315 Notice that when the docbook code is exported the filename extension is
317 This enables that when the several backends are processed in sgmltools,
318 the corresponding extensions are added.
319 The default extension are eps for the print and gif for the html backend.
322 \begin_layout Standard
325 \begin_inset Float figure
331 \begin_layout Standard
334 \begin_inset Graphics
335 filename ../doc/platypus.eps
347 \begin_layout Caption
357 \begin_layout Standard
359 Wide figures are treated as normal figures.
362 \begin_layout Standard
365 \begin_inset Float figure
371 \begin_layout Standard
374 \begin_inset Graphics
375 filename ../doc/platypus.eps
387 \begin_layout Caption
398 \begin_layout Subsection
403 \begin_layout Standard
405 There is also basic support for tables.
406 \begin_inset Float table
412 \begin_layout Standard
416 <lyxtabular version="3" rows="3" columns="5">
418 <column alignment="center" valignment="top" leftline="true" width="0pt">
419 <column alignment="center" valignment="top" leftline="true" width="0pt">
420 <column alignment="center" valignment="top" leftline="true" width="0pt">
421 <column alignment="center" valignment="top" leftline="true" width="0pt">
422 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
427 \begin_layout Standard
433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
436 \begin_layout Standard
443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
446 \begin_layout Standard
453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
456 \begin_layout Standard
463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
466 \begin_layout Standard
475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
478 \begin_layout Standard
485 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
488 \begin_layout Standard
495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
498 \begin_layout Standard
505 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
508 \begin_layout Standard
515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
518 \begin_layout Standard
525 <row topline="true" bottomline="true">
526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
529 \begin_layout Standard
536 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
539 \begin_layout Standard
545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
548 \begin_layout Standard
555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
558 \begin_layout Standard
565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
568 \begin_layout Standard
583 \begin_layout Caption
593 \begin_layout Standard
595 As it happens with the figures the wide tables are treated as normal tables.
598 \begin_layout Subsection
603 \begin_layout Standard
605 There are some restrictions when using margins.
606 For further information on docbook allowed syntax consult the
607 \begin_inset LatexCommand \url[docbook reference manual]{http://www.oasis-open.org/docbook/documentation/reference/}
614 \begin_layout Quotation
616 It is also possible to insert margin notes inside some environments.
623 \begin_inset Marginal
626 \begin_layout Standard
631 \begin_layout Standard
633 second par -> margin note
636 \begin_layout Standard
638 third par -> margin note
647 \begin_layout Quotation
649 Notice that the previous layout is at level 1
653 \begin_layout Standard
655 This comes from a docbook restriction.
656 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
657 "TIP", "WARNING", "BLOCKQUOTE".
660 \begin_layout Standard
662 These environments are easily added to the docbook layout.
667 and so is the follow:
674 \begin_inset Marginal
677 \begin_layout Standard
688 \begin_layout Section
693 \begin_layout Standard
695 This is a small list of the remaining tasks:
698 \begin_layout Itemize
700 Expand the number of layouts
704 \begin_layout Itemize
709 \begin_layout Itemize
714 \begin_layout Itemize
719 \begin_layout Itemize
724 \begin_layout Itemize
729 \begin_layout Itemize
735 \begin_layout Itemize
737 Compose other layout files, besides article
741 \begin_layout Enumerate
746 \begin_layout Enumerate
752 \begin_layout Standard
754 I do not expect lyx to deal with colection of books, for now!
762 \begin_layout Enumerate
768 \begin_layout Itemize
774 \begin_layout Enumerate
776 including other lyx files
779 \begin_layout Enumerate
781 more advanced tables support
785 \begin_layout Itemize
790 \begin_layout Standard