1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
6 \use_default_options false
7 \maintain_unincluded_children false
9 \language_package default
10 \inputencoding default
14 \font_typewriter default
15 \font_default_family default
16 \use_non_tex_fonts false
23 \default_output_format default
25 \bibtex_command default
26 \index_command default
27 \paperfontsize default
39 \paperorientation portrait
48 \paragraph_separation indent
49 \paragraph_indentation default
50 \quotes_language english
53 \paperpagestyle default
54 \tracking_changes false
72 \begin_inset Flex Firstname
75 \begin_layout Plain Layout
82 \begin_inset Flex Surname
85 \begin_layout Plain Layout
94 \begin_layout Abstract
95 This is a small illustration of lyx's features using DocBook.
98 \begin_layout Abstract
99 The abstract can span several paragraphs.
102 \begin_layout Section
103 \begin_inset CommandInset label
112 \begin_layout Standard
113 This file ilustrates the generation of docbook documents with LyX.
116 \begin_layout Standard
117 This will improve as soon as new features are available.
120 \begin_layout Section
124 \begin_layout Standard
125 One of the goals is the support, as much as possible, of layouts used in
126 other textclass, for compatibility purposes.
129 \begin_layout Standard
130 Remember that this is work in progress, I would like to hear any comments,
132 \begin_inset Quotes eld
136 \begin_inset Quotes erd
142 \begin_layout Subsection
146 \begin_layout Standard
147 This is an example with several nested lists.
150 \begin_layout Itemize
155 \begin_layout Enumerate
159 \begin_layout Description
164 \begin_layout Enumerate
170 \begin_layout Itemize
174 \begin_layout Subsection
178 \begin_layout Standard
179 Required steps to have a running lyx.
182 \begin_layout Quotation
183 Be carefull with your own code.
186 \begin_layout Quotation
214 \begin_layout Subsection
218 \begin_layout Standard
219 If a label is the first element in any layout, that label will be merged
222 \begin_inset CommandInset ref
225 reference "first-section"
232 \begin_layout Subsection
236 \begin_layout Standard
237 The only fonts supported are
242 \begin_inset Flex Literal
245 \begin_layout Plain Layout
254 \begin_layout Subsection
258 \begin_layout Standard
259 One of the major changes in the docbook when compared with the linuxdoc
260 support are the figures support.
261 LyX only allows to view eps figures.
262 So you should have one of these if you want to take advantage of this feature.
265 \begin_layout Standard
266 Notice that when the docbook code is exported the filename extension is
268 This enables that when the several backends are processed in sgmltools,
269 the corresponding extensions are added.
270 The default extension are eps for the print and gif for the html backend.
273 \begin_layout Standard
274 \begin_inset Float figure
280 \begin_layout Plain Layout
281 \begin_inset Graphics
282 filename ../doc/clipart/platypus.eps
294 \begin_layout Plain Layout
297 \begin_layout Plain Layout
311 \begin_layout Standard
312 Wide figures are treated as normal figures.
315 \begin_layout Standard
316 \begin_inset Float figure
322 \begin_layout Plain Layout
323 \begin_inset Graphics
324 filename ../doc/clipart/platypus.eps
336 \begin_layout Plain Layout
339 \begin_layout Plain Layout
340 long, very long\SpecialChar \ldots{}
354 \begin_layout Subsection
358 \begin_layout Standard
359 There is also basic support for tables.
360 \begin_inset Float table
366 \begin_layout Plain Layout
369 <lyxtabular version="3" rows="3" columns="5">
370 <features tabularvalignment="middle">
371 <column alignment="center" valignment="top" width="0pt">
372 <column alignment="center" valignment="top" width="0pt">
373 <column alignment="center" valignment="top" width="0pt">
374 <column alignment="center" valignment="top" width="0pt">
375 <column alignment="center" valignment="top" width="0pt">
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" usebox="none">
398 \begin_layout Plain Layout
404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
407 \begin_layout Plain Layout
413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
416 \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" usebox="none">
436 \begin_layout Plain Layout
442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
445 \begin_layout Plain Layout
451 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
454 \begin_layout Plain Layout
460 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
463 \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 multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
483 \begin_layout Plain Layout
489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
492 \begin_layout Plain Layout
498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
501 \begin_layout Plain Layout
507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
510 \begin_layout Plain Layout
524 \begin_layout Plain Layout
527 \begin_layout Plain Layout
541 \begin_layout Standard
542 As it happens with the figures the wide tables are treated as normal tables.
545 \begin_layout Subsection
549 \begin_layout Standard
550 There are some restrictions when using margins.
551 For further information on docbook allowed syntax consult the
552 \begin_inset CommandInset href
554 name "docbook reference manual"
555 target "http://www.oasis-open.org/docbook/documentation/reference/"
562 \begin_layout Quotation
563 It is also possible to insert margin notes inside some environments.
567 \begin_layout Standard
571 \begin_layout Plain Layout
575 \begin_layout Plain Layout
577 second par -> margin note
580 \begin_layout Plain Layout
582 third par -> margin note
591 \begin_layout Quotation
592 Notice that the previous layout is at level 1
596 \begin_layout Plain Layout
597 This comes from a docbook restriction.
598 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
599 "TIP", "WARNING", "BLOCKQUOTE".
602 \begin_layout Plain Layout
603 These environments are easily added to the docbook layout.
608 and so is the follow:
612 \begin_layout Standard
616 \begin_layout Plain Layout
626 \begin_layout Section
630 \begin_layout Standard
631 This is a small list of the remaining tasks:
634 \begin_layout Itemize
635 Expand the number of layouts
639 \begin_layout Itemize
643 \begin_layout Itemize
647 \begin_layout Itemize
651 \begin_layout Itemize
655 \begin_layout Itemize
659 \begin_layout Itemize
664 \begin_layout Itemize
665 Compose other layout files, besides article
669 \begin_layout Enumerate
673 \begin_layout Enumerate
678 \begin_layout Plain Layout
679 I do not expect lyx to deal with colection of books, for now!
687 \begin_layout Enumerate
692 \begin_layout Itemize
697 \begin_layout Enumerate
698 including other lyx files
701 \begin_layout Enumerate
702 more advanced tables support
706 \begin_layout Itemize
710 \begin_layout Standard