1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
10 \paperfontsize default
17 \paperorientation portrait
20 \paragraph_separation indent
22 \quotes_language english
25 \paperpagestyle default
26 \tracking_changes false
32 \begin_layout Standard
36 \begin_layout Standard
40 \begin_inset Note Note
43 \begin_layout Standard
45 Here goes the information about the article:
53 \begin_layout Standard
58 \begin_layout Standard
63 \begin_layout Standard
68 \begin_layout Standard
73 \begin_layout Standard
78 \begin_layout Standard
101 \begin_inset CharStyle Firstname
104 \begin_layout Standard
112 \begin_inset CharStyle Surname
115 \begin_layout Standard
125 \begin_layout Abstract
127 This is a small illustration of lyx's features using DocBook.
130 \begin_layout Abstract
132 The abstract can span several paragraphs.
135 \begin_layout Section
138 \begin_inset LatexCommand \label{first-section}
145 \begin_layout Standard
147 This file ilustrates the generation of docbook documents with LyX.
150 \begin_layout Standard
152 This will improve as soon as new features are available.
155 \begin_layout Section
160 \begin_layout Standard
162 One of the goals is the support, as much as possible, of layouts used in
163 other textclass, for compatibility purposes.
166 \begin_layout Standard
168 Remember that this is work in progress, I would like to hear any comments,
170 \begin_inset Quotes eld
174 \begin_inset Quotes erd
180 \begin_layout Subsection
185 \begin_layout Standard
187 This is an example with several nested lists.
190 \begin_layout Itemize
196 \begin_layout Enumerate
201 \begin_layout Description
207 \begin_layout Enumerate
214 \begin_layout Itemize
219 \begin_layout Subsection
224 \begin_layout Standard
226 Required steps to have a running lyx.
229 \begin_layout Quotation
231 Be carefull with your own code.
234 \begin_layout Quotation
269 \begin_layout Subsection
274 \begin_layout Standard
276 If a label is the first element in any layout, that label will be merged
279 \begin_inset LatexCommand \ref[first-section]{first-section}
286 \begin_layout Subsection
291 \begin_layout Standard
293 The only fonts supported are
298 \begin_inset CharStyle Literal
301 \begin_layout Standard
311 \begin_layout Subsection
316 \begin_layout Standard
318 One of the major changes in the docbook when compared with the linuxdoc
319 support are the figures support.
320 LyX only allows to view eps figures.
321 So you should have one of these if you want to take advantage of this feature.
324 \begin_layout Standard
326 Notice that when the docbook code is exported the filename extension is
328 This enables that when the several backends are processed in sgmltools,
329 the corresponding extensions are added.
330 The default extension are eps for the print and gif for the html backend.
333 \begin_layout Standard
336 \begin_inset Float figure
342 \begin_layout Standard
345 \begin_inset Graphics
346 filename ../doc/platypus.eps
358 \begin_layout Caption
368 \begin_layout Standard
370 Wide figures are treated as normal figures.
373 \begin_layout Standard
376 \begin_inset Float figure
382 \begin_layout Standard
385 \begin_inset Graphics
386 filename ../doc/platypus.eps
398 \begin_layout Caption
409 \begin_layout Subsection
414 \begin_layout Standard
416 There is also basic support for tables.
417 \begin_inset Float table
423 \begin_layout Standard
427 <lyxtabular version="3" rows="3" columns="5">
429 <column alignment="center" valignment="top" leftline="true" width="0pt">
430 <column alignment="center" valignment="top" leftline="true" width="0pt">
431 <column alignment="center" valignment="top" leftline="true" width="0pt">
432 <column alignment="center" valignment="top" leftline="true" width="0pt">
433 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
438 \begin_layout Standard
444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
447 \begin_layout Standard
454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
457 \begin_layout Standard
464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
467 \begin_layout Standard
474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
477 \begin_layout Standard
486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
489 \begin_layout Standard
496 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
499 \begin_layout Standard
506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
509 \begin_layout Standard
516 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
519 \begin_layout Standard
526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
529 \begin_layout Standard
536 <row topline="true" bottomline="true">
537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
540 \begin_layout Standard
547 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
550 \begin_layout Standard
556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
559 \begin_layout Standard
566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
569 \begin_layout Standard
576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
579 \begin_layout Standard
594 \begin_layout Caption
604 \begin_layout Standard
606 As it happens with the figures the wide tables are treated as normal tables.
609 \begin_layout Subsection
614 \begin_layout Standard
616 There are some restrictions when using margins.
617 For further information on docbook allowed syntax consult the
618 \begin_inset LatexCommand \url[docbook reference manual]{http://www.oasis-open.org/docbook/documentation/reference/}
625 \begin_layout Quotation
627 It is also possible to insert margin notes inside some environments.
631 \begin_layout Standard
635 \begin_layout Standard
639 \begin_inset Marginal
642 \begin_layout Standard
652 \begin_layout Standard
654 second par -> margin note
657 \begin_layout Standard
659 third par -> margin note
668 \begin_layout Quotation
670 Notice that the previous layout is at level 1
674 \begin_layout Standard
676 This comes from a docbook restriction.
677 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
678 "TIP", "WARNING", "BLOCKQUOTE".
681 \begin_layout Standard
683 These environments are easily added to the docbook layout.
688 and so is the follow:
692 \begin_layout Standard
696 \begin_layout Standard
700 \begin_inset Marginal
703 \begin_layout Standard
719 \begin_layout Section
724 \begin_layout Standard
726 This is a small list of the remaining tasks:
729 \begin_layout Itemize
731 Expand the number of layouts
735 \begin_layout Itemize
740 \begin_layout Itemize
745 \begin_layout Itemize
750 \begin_layout Itemize
755 \begin_layout Itemize
760 \begin_layout Itemize
766 \begin_layout Itemize
768 Compose other layout files, besides article
772 \begin_layout Enumerate
777 \begin_layout Enumerate
783 \begin_layout Standard
785 I do not expect lyx to deal with colection of books, for now!
793 \begin_layout Enumerate
799 \begin_layout Itemize
805 \begin_layout Enumerate
807 including other lyx files
810 \begin_layout Enumerate
812 more advanced tables support
816 \begin_layout Itemize
821 \begin_layout Standard