1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
6 \use_default_options false
11 \font_typewriter default
12 \font_default_family default
19 \paperfontsize default
28 \paperorientation portrait
31 \paragraph_separation indent
33 \quotes_language english
36 \paperpagestyle default
37 \tracking_changes false
54 \begin_inset Flex CharStyle:Firstname
57 \begin_layout Plain Layout
64 \begin_inset Flex CharStyle:Surname
67 \begin_layout Plain Layout
76 \begin_layout Abstract
77 This is a small illustration of lyx's features using DocBook.
80 \begin_layout Abstract
81 The abstract can span several paragraphs.
85 \begin_inset CommandInset label
94 \begin_layout Standard
95 This file ilustrates the generation of docbook documents with LyX.
98 \begin_layout Standard
99 This will improve as soon as new features are available.
102 \begin_layout Section
106 \begin_layout Standard
107 One of the goals is the support, as much as possible, of layouts used in
108 other textclass, for compatibility purposes.
111 \begin_layout Standard
112 Remember that this is work in progress, I would like to hear any comments,
114 \begin_inset Quotes eld
118 \begin_inset Quotes erd
124 \begin_layout Subsection
128 \begin_layout Standard
129 This is an example with several nested lists.
132 \begin_layout Itemize
137 \begin_layout Enumerate
141 \begin_layout Description
146 \begin_layout Enumerate
152 \begin_layout Itemize
156 \begin_layout Subsection
160 \begin_layout Standard
161 Required steps to have a running lyx.
164 \begin_layout Quotation
165 Be carefull with your own code.
168 \begin_layout Quotation
196 \begin_layout Subsection
200 \begin_layout Standard
201 If a label is the first element in any layout, that label will be merged
204 \begin_inset CommandInset ref
207 reference "first-section"
214 \begin_layout Subsection
218 \begin_layout Standard
219 The only fonts supported are
224 \begin_inset Flex CharStyle:Literal
227 \begin_layout Plain Layout
236 \begin_layout Subsection
240 \begin_layout Standard
241 One of the major changes in the docbook when compared with the linuxdoc
242 support are the figures support.
243 LyX only allows to view eps figures.
244 So you should have one of these if you want to take advantage of this feature.
247 \begin_layout Standard
248 Notice that when the docbook code is exported the filename extension is
250 This enables that when the several backends are processed in sgmltools,
251 the corresponding extensions are added.
252 The default extension are eps for the print and gif for the html backend.
255 \begin_layout Standard
256 \begin_inset Float figure
262 \begin_layout Plain Layout
263 \begin_inset Graphics
264 filename ../doc/clipart/platypus.eps
276 \begin_layout Plain Layout
279 \begin_layout Plain Layout
293 \begin_layout Standard
294 Wide figures are treated as normal figures.
297 \begin_layout Standard
298 \begin_inset Float figure
304 \begin_layout Plain Layout
305 \begin_inset Graphics
306 filename ../doc/clipart/platypus.eps
318 \begin_layout Plain Layout
321 \begin_layout Plain Layout
322 long, very long\SpecialChar \ldots{}
336 \begin_layout Subsection
340 \begin_layout Standard
341 There is also basic support for tables.
342 \begin_inset Float table
348 \begin_layout Plain Layout
351 <lyxtabular version="3" rows="3" columns="5">
353 <column alignment="center" valignment="top" width="0pt">
354 <column alignment="center" valignment="top" width="0pt">
355 <column alignment="center" valignment="top" width="0pt">
356 <column alignment="center" valignment="top" width="0pt">
357 <column alignment="center" valignment="top" width="0pt">
359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
362 \begin_layout Plain Layout
368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
371 \begin_layout Plain Layout
377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
380 \begin_layout Plain Layout
386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
389 \begin_layout Plain Layout
395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
398 \begin_layout Plain Layout
406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
409 \begin_layout Plain Layout
415 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
418 \begin_layout Plain Layout
424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
427 \begin_layout Plain Layout
433 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
436 \begin_layout Plain Layout
442 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
445 \begin_layout Plain Layout
453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
456 \begin_layout Plain Layout
462 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
465 \begin_layout Plain Layout
471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
474 \begin_layout Plain Layout
480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
483 \begin_layout Plain Layout
489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
492 \begin_layout Plain Layout
506 \begin_layout Plain Layout
509 \begin_layout Plain Layout
523 \begin_layout Standard
524 As it happens with the figures the wide tables are treated as normal tables.
527 \begin_layout Subsection
531 \begin_layout Standard
532 There are some restrictions when using margins.
533 For further information on docbook allowed syntax consult the
534 \begin_inset CommandInset href
536 name "docbook reference manual"
537 target "http://www.oasis-open.org/docbook/documentation/reference/"
544 \begin_layout Quotation
545 It is also possible to insert margin notes inside some environments.
549 \begin_layout Standard
553 \begin_layout Plain Layout
557 \begin_layout Plain Layout
559 second par -> margin note
562 \begin_layout Plain Layout
564 third par -> margin note
573 \begin_layout Quotation
574 Notice that the previous layout is at level 1
578 \begin_layout Plain Layout
579 This comes from a docbook restriction.
580 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
581 "TIP", "WARNING", "BLOCKQUOTE".
584 \begin_layout Plain Layout
585 These environments are easily added to the docbook layout.
590 and so is the follow:
594 \begin_layout Standard
598 \begin_layout Plain Layout
608 \begin_layout Section
612 \begin_layout Standard
613 This is a small list of the remaining tasks:
616 \begin_layout Itemize
617 Expand the number of layouts
621 \begin_layout Itemize
625 \begin_layout Itemize
629 \begin_layout Itemize
633 \begin_layout Itemize
637 \begin_layout Itemize
641 \begin_layout Itemize
646 \begin_layout Itemize
647 Compose other layout files, besides article
651 \begin_layout Enumerate
655 \begin_layout Enumerate
660 \begin_layout Plain Layout
661 I do not expect lyx to deal with colection of books, for now!
669 \begin_layout Enumerate
674 \begin_layout Itemize
679 \begin_layout Enumerate
680 including other lyx files
683 \begin_layout Enumerate
684 more advanced tables support
688 \begin_layout Itemize
692 \begin_layout Standard