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
35 \use_package mathdots 1
36 \use_package mathtools 0
38 \use_package stackrel 0
39 \use_package stmaryrd 0
40 \use_package undertilde 0
42 \cite_engine_type numerical
46 \paperorientation portrait
56 \paragraph_separation indent
57 \paragraph_indentation default
58 \quotes_language english
61 \paperpagestyle default
62 \tracking_changes false
80 \begin_inset Flex Firstname
83 \begin_layout Plain Layout
90 \begin_inset Flex Surname
93 \begin_layout Plain Layout
102 \begin_layout Abstract
103 This is a small illustration of lyx's features using DocBook.
106 \begin_layout Abstract
107 The abstract can span several paragraphs.
110 \begin_layout Section
111 \begin_inset CommandInset label
120 \begin_layout Standard
121 This file ilustrates the generation of docbook documents with LyX.
124 \begin_layout Standard
125 This will improve as soon as new features are available.
128 \begin_layout Section
132 \begin_layout Standard
133 One of the goals is the support, as much as possible, of layouts used in
134 other textclass, for compatibility purposes.
137 \begin_layout Standard
138 Remember that this is work in progress, I would like to hear any comments,
140 \begin_inset Quotes eld
144 \begin_inset Quotes erd
150 \begin_layout Subsection
154 \begin_layout Standard
155 This is an example with several nested lists.
158 \begin_layout Itemize
163 \begin_layout Enumerate
167 \begin_layout Description
172 \begin_layout Enumerate
178 \begin_layout Itemize
182 \begin_layout Subsection
186 \begin_layout Standard
187 Required steps to have a running lyx.
190 \begin_layout Quotation
191 Be carefull with your own code.
194 \begin_layout Quotation
222 \begin_layout Subsection
226 \begin_layout Standard
227 If a label is the first element in any layout, that label will be merged
230 \begin_inset CommandInset ref
233 reference "first-section"
240 \begin_layout Subsection
244 \begin_layout Standard
245 The only fonts supported are
250 \begin_inset Flex Literal
253 \begin_layout Plain Layout
262 \begin_layout Subsection
266 \begin_layout Standard
267 One of the major changes in the docbook when compared with the linuxdoc
268 support are the figures support.
269 LyX only allows to view eps figures.
270 So you should have one of these if you want to take advantage of this feature.
273 \begin_layout Standard
274 Notice that when the docbook code is exported the filename extension is
276 This enables that when the several backends are processed in sgmltools,
277 the corresponding extensions are added.
278 The default extension are eps for the print and gif for the html backend.
281 \begin_layout Standard
282 \begin_inset Float figure
288 \begin_layout Plain Layout
289 \begin_inset Graphics
290 filename ../doc/clipart/platypus.eps
302 \begin_layout Plain Layout
303 \begin_inset Caption Standard
305 \begin_layout Plain Layout
319 \begin_layout Standard
320 Wide figures are treated as normal figures.
323 \begin_layout Standard
324 \begin_inset Float figure
330 \begin_layout Plain Layout
331 \begin_inset Graphics
332 filename ../doc/clipart/platypus.eps
344 \begin_layout Plain Layout
345 \begin_inset Caption Standard
347 \begin_layout Plain Layout
348 long, very long\SpecialChar \ldots{}
362 \begin_layout Subsection
366 \begin_layout Standard
367 There is also basic support for tables.
368 \begin_inset Float table
374 \begin_layout Plain Layout
377 <lyxtabular version="3" rows="3" columns="5">
378 <features rotate="0" tabularvalignment="middle">
379 <column alignment="center" valignment="top" width="0pt">
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">
385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
388 \begin_layout Plain Layout
394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
397 \begin_layout Plain Layout
403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
406 \begin_layout Plain Layout
412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
415 \begin_layout Plain Layout
421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
424 \begin_layout Plain Layout
432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
435 \begin_layout Plain Layout
441 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
444 \begin_layout Plain Layout
450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
453 \begin_layout Plain Layout
459 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
462 \begin_layout Plain Layout
468 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
471 \begin_layout Plain Layout
479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
482 \begin_layout Plain Layout
488 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
491 \begin_layout Plain Layout
497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
500 \begin_layout Plain Layout
506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
509 \begin_layout Plain Layout
515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
518 \begin_layout Plain Layout
532 \begin_layout Plain Layout
533 \begin_inset Caption Standard
535 \begin_layout Plain Layout
549 \begin_layout Standard
550 As it happens with the figures the wide tables are treated as normal tables.
553 \begin_layout Subsection
557 \begin_layout Standard
558 There are some restrictions when using margins.
559 For further information on docbook allowed syntax consult the
560 \begin_inset CommandInset href
562 name "docbook reference manual"
563 target "http://www.oasis-open.org/docbook/documentation/reference/"
570 \begin_layout Quotation
571 It is also possible to insert margin notes inside some environments.
575 \begin_layout Standard
579 \begin_layout Plain Layout
583 \begin_layout Plain Layout
585 second par -> margin note
588 \begin_layout Plain Layout
590 third par -> margin note
599 \begin_layout Quotation
600 Notice that the previous layout is at level 1
604 \begin_layout Plain Layout
605 This comes from a docbook restriction.
606 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
607 "TIP", "WARNING", "BLOCKQUOTE".
610 \begin_layout Plain Layout
611 These environments are easily added to the docbook layout.
616 and so is the follow:
620 \begin_layout Standard
624 \begin_layout Plain Layout
634 \begin_layout Section
638 \begin_layout Standard
639 This is a small list of the remaining tasks:
642 \begin_layout Itemize
643 Expand the number of layouts
647 \begin_layout Itemize
651 \begin_layout Itemize
655 \begin_layout Itemize
659 \begin_layout Itemize
663 \begin_layout Itemize
667 \begin_layout Itemize
672 \begin_layout Itemize
673 Compose other layout files, besides article
677 \begin_layout Enumerate
681 \begin_layout Enumerate
686 \begin_layout Plain Layout
687 I do not expect lyx to deal with colection of books, for now!
695 \begin_layout Enumerate
700 \begin_layout Itemize
705 \begin_layout Enumerate
706 including other lyx files
709 \begin_layout Enumerate
710 more advanced tables support
714 \begin_layout Itemize
718 \begin_layout Standard