1 #LyX 1.4.0cvs 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
26 \paperpagestyle default
27 \tracking_changes false
36 \begin_inset Note Note
39 \begin_layout Standard
41 Here goes the information about the article:
44 \begin_layout Standard
49 \begin_layout Standard
54 \begin_layout Standard
59 \begin_layout Standard
64 \begin_layout Standard
69 \begin_layout Standard
92 \begin_inset CharStyle Firstname
95 \begin_layout Standard
103 \begin_inset CharStyle Surname
106 \begin_layout Standard
116 \begin_layout Abstract
118 This is a small illustration of lyx's features using DocBook.
121 \begin_layout Abstract
123 The abstract can span several paragraphs.
126 \begin_layout Section
129 \begin_inset LatexCommand \label{first-section}
136 \begin_layout Standard
138 This file ilustrates the generation of docbook documents with LyX.
141 \begin_layout Standard
143 This will improve as soon as new features are available.
146 \begin_layout Section
151 \begin_layout Standard
153 One of the goals is the support, as much as possible, of layouts used in
154 other textclass, for compatibility purposes.
157 \begin_layout Standard
159 Remember that this is work in progress, I would like to hear any comments,
161 \begin_inset Quotes eld
165 \begin_inset Quotes erd
171 \begin_layout Subsection
176 \begin_layout Standard
178 This is an example with several nested lists.
181 \begin_layout Itemize
187 \begin_layout Enumerate
192 \begin_layout Description
198 \begin_layout Enumerate
205 \begin_layout Itemize
210 \begin_layout Subsection
215 \begin_layout Standard
217 Required steps to have a running lyx.
220 \begin_layout Quotation
222 Be carefull with your own code.
225 \begin_layout Quotation
260 \begin_layout Subsection
265 \begin_layout Standard
267 If a label is the first element in any layout, that label will be merged
270 \begin_inset LatexCommand \ref[first-section]{first-section}
277 \begin_layout Subsection
282 \begin_layout Standard
284 The only fonts supported are
289 \begin_inset CharStyle Literal
292 \begin_layout Standard
302 \begin_layout Subsection
307 \begin_layout Standard
309 One of the major changes in the docbook when compared with the linuxdoc
310 support are the figures support.
311 LyX only allows to view eps figures.
312 So you should have one of these if you want to take advantage of this feature.
315 \begin_layout Standard
317 Notice that when the docbook code is exported the filename extension is
319 This enables that when the several backends are processed in sgmltools,
320 the corresponding extensions are added.
321 The default extension are eps for the print and gif for the html backend.
324 \begin_layout Standard
327 \begin_inset Float figure
333 \begin_layout Standard
336 \begin_inset Graphics
337 filename ../doc/platypus.eps
349 \begin_layout Caption
359 \begin_layout Standard
361 Wide figures are treated as normal figures.
364 \begin_layout Standard
367 \begin_inset Float figure
373 \begin_layout Standard
376 \begin_inset Graphics
377 filename ../doc/platypus.eps
389 \begin_layout Caption
400 \begin_layout Subsection
405 \begin_layout Standard
407 There is also basic support for tables.
408 \begin_inset Float table
414 \begin_layout Standard
418 <lyxtabular version="3" rows="3" columns="5">
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" width="0pt">
423 <column alignment="center" valignment="top" leftline="true" width="0pt">
424 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
429 \begin_layout Standard
435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
438 \begin_layout Standard
445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
448 \begin_layout Standard
455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
458 \begin_layout Standard
465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
468 \begin_layout Standard
477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
480 \begin_layout Standard
487 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
490 \begin_layout Standard
497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
500 \begin_layout Standard
507 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
510 \begin_layout Standard
517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
520 \begin_layout Standard
527 <row topline="true" bottomline="true">
528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
531 \begin_layout Standard
538 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
541 \begin_layout Standard
547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
550 \begin_layout Standard
557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
560 \begin_layout Standard
567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
570 \begin_layout Standard
585 \begin_layout Caption
595 \begin_layout Standard
597 As it happens with the figures the wide tables are treated as normal tables.
600 \begin_layout Subsection
605 \begin_layout Standard
607 There are some restrictions when using margins.
608 For further information on docbook allowed syntax consult the
609 \begin_inset LatexCommand \url[docbook reference manual]{http://www.oasis-open.org/docbook/documentation/reference/}
616 \begin_layout Quotation
618 It is also possible to insert margin notes inside some environments.
625 \begin_inset Marginal
628 \begin_layout Standard
633 \begin_layout Standard
635 second par -> margin note
638 \begin_layout Standard
640 third par -> margin note
649 \begin_layout Quotation
651 Notice that the previous layout is at level 1
655 \begin_layout Standard
657 This comes from a docbook restriction.
658 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
659 "TIP", "WARNING", "BLOCKQUOTE".
662 \begin_layout Standard
664 These environments are easily added to the docbook layout.
669 and so is the follow:
676 \begin_inset Marginal
679 \begin_layout Standard
690 \begin_layout Section
695 \begin_layout Standard
697 This is a small list of the remaining tasks:
700 \begin_layout Itemize
702 Expand the number of layouts
706 \begin_layout Itemize
711 \begin_layout Itemize
716 \begin_layout Itemize
721 \begin_layout Itemize
726 \begin_layout Itemize
731 \begin_layout Itemize
737 \begin_layout Itemize
739 Compose other layout files, besides article
743 \begin_layout Enumerate
748 \begin_layout Enumerate
754 \begin_layout Standard
756 I do not expect lyx to deal with colection of books, for now!
764 \begin_layout Enumerate
770 \begin_layout Itemize
776 \begin_layout Enumerate
778 including other lyx files
781 \begin_layout Enumerate
783 more advanced tables support
787 \begin_layout Itemize
792 \begin_layout Standard