1 #LyX 2.1 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
16 \font_default_family default
17 \use_non_tex_fonts false
23 \default_output_format pdf
25 \bibtex_command default
26 \index_command default
27 \paperfontsize default
32 \use_package amsmath 0
33 \use_package amssymb 0
36 \use_package mathdots 1
37 \use_package mathtools 0
39 \use_package stackrel 0
40 \use_package stmaryrd 0
41 \use_package undertilde 0
43 \cite_engine_type default
47 \paperorientation portrait
57 \paragraph_separation indent
58 \paragraph_indentation default
59 \quotes_language english
62 \paperpagestyle default
63 \tracking_changes false
81 \begin_inset Flex Firstname
84 \begin_layout Plain Layout
91 \begin_inset Flex Surname
94 \begin_layout Plain Layout
103 \begin_layout Abstract
104 This is a small illustration of lyx's features using DocBook.
107 \begin_layout Abstract
108 The abstract can span several paragraphs.
111 \begin_layout Section
112 \begin_inset CommandInset label
121 \begin_layout Standard
122 This file ilustrates the generation of docbook documents with LyX.
125 \begin_layout Standard
126 This will improve as soon as new features are available.
129 \begin_layout Section
133 \begin_layout Standard
134 One of the goals is the support, as much as possible, of layouts used in
135 other textclass, for compatibility purposes.
138 \begin_layout Standard
139 Remember that this is work in progress, I would like to hear any comments,
141 \begin_inset Quotes eld
145 \begin_inset Quotes erd
151 \begin_layout Subsection
155 \begin_layout Standard
156 This is an example with several nested lists.
159 \begin_layout Itemize
164 \begin_layout Enumerate
168 \begin_layout Description
173 \begin_layout Enumerate
179 \begin_layout Itemize
183 \begin_layout Subsection
187 \begin_layout Standard
188 Required steps to have a running lyx.
191 \begin_layout Quotation
192 Be carefull with your own code.
195 \begin_layout Quotation
223 \begin_layout Subsection
227 \begin_layout Standard
228 If a label is the first element in any layout, that label will be merged
231 \begin_inset CommandInset ref
234 reference "first-section"
241 \begin_layout Subsection
245 \begin_layout Standard
246 The only fonts supported are
251 \begin_inset Flex Literal
254 \begin_layout Plain Layout
263 \begin_layout Subsection
267 \begin_layout Standard
268 One of the major changes in the docbook when compared with the linuxdoc
269 support are the figures support.
270 LyX only allows to view eps figures.
271 So you should have one of these if you want to take advantage of this feature.
274 \begin_layout Standard
275 Notice that when the docbook code is exported the filename extension is
277 This enables that when the several backends are processed in sgmltools,
278 the corresponding extensions are added.
279 The default extension are eps for the print and gif for the html backend.
282 \begin_layout Standard
283 \begin_inset Float figure
289 \begin_layout Plain Layout
290 \begin_inset Graphics
291 filename ../doc/clipart/platypus.eps
303 \begin_layout Plain Layout
304 \begin_inset Caption Standard
306 \begin_layout Plain Layout
320 \begin_layout Standard
321 Wide figures are treated as normal figures.
324 \begin_layout Standard
325 \begin_inset Float figure
331 \begin_layout Plain Layout
332 \begin_inset Graphics
333 filename ../doc/clipart/platypus.eps
345 \begin_layout Plain Layout
346 \begin_inset Caption Standard
348 \begin_layout Plain Layout
349 long, very long\SpecialChar \ldots{}
363 \begin_layout Subsection
367 \begin_layout Standard
368 There is also basic support for tables.
369 \begin_inset Float table
375 \begin_layout Plain Layout
378 <lyxtabular version="3" rows="3" columns="5">
379 <features rotate="0" tabularvalignment="middle">
380 <column alignment="center" valignment="top" width="0pt">
381 <column alignment="center" valignment="top" width="0pt">
382 <column alignment="center" valignment="top" width="0pt">
383 <column alignment="center" valignment="top" width="0pt">
384 <column alignment="center" valignment="top" width="0pt">
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" usebox="none">
416 \begin_layout Plain Layout
422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
425 \begin_layout Plain Layout
433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
436 \begin_layout Plain Layout
442 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
445 \begin_layout Plain Layout
451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
454 \begin_layout Plain Layout
460 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
463 \begin_layout Plain Layout
469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
472 \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 multicolumn="1" alignment="center" valignment="top" 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" usebox="none">
510 \begin_layout Plain Layout
516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
519 \begin_layout Plain Layout
533 \begin_layout Plain Layout
534 \begin_inset Caption Standard
536 \begin_layout Plain Layout
550 \begin_layout Standard
551 As it happens with the figures the wide tables are treated as normal tables.
554 \begin_layout Subsection
558 \begin_layout Standard
559 There are some restrictions when using margins.
560 For further information on docbook allowed syntax consult the
561 \begin_inset CommandInset href
563 name "docbook reference manual"
564 target "http://www.oasis-open.org/docbook/documentation/reference/"
571 \begin_layout Quotation
572 It is also possible to insert margin notes inside some environments.
576 \begin_layout Standard
580 \begin_layout Plain Layout
584 \begin_layout Plain Layout
586 second par -> margin note
589 \begin_layout Plain Layout
591 third par -> margin note
600 \begin_layout Quotation
601 Notice that the previous layout is at level 1
605 \begin_layout Plain Layout
606 This comes from a docbook restriction.
607 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
608 "TIP", "WARNING", "BLOCKQUOTE".
611 \begin_layout Plain Layout
612 These environments are easily added to the docbook layout.
617 and so is the follow:
621 \begin_layout Standard
625 \begin_layout Plain Layout
635 \begin_layout Section
639 \begin_layout Standard
640 This is a small list of the remaining tasks:
643 \begin_layout Itemize
644 Expand the number of layouts
648 \begin_layout Itemize
652 \begin_layout Itemize
656 \begin_layout Itemize
660 \begin_layout Itemize
664 \begin_layout Itemize
668 \begin_layout Itemize
673 \begin_layout Itemize
674 Compose other layout files, besides article
678 \begin_layout Enumerate
682 \begin_layout Enumerate
687 \begin_layout Plain Layout
688 I do not expect lyx to deal with colection of books, for now!
696 \begin_layout Enumerate
701 \begin_layout Itemize
706 \begin_layout Enumerate
707 including other lyx files
710 \begin_layout Enumerate
711 more advanced tables support
715 \begin_layout Itemize
719 \begin_layout Standard