1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/examples/
7 \use_default_options false
8 \maintain_unincluded_children false
10 \language_package default
11 \inputencoding default
13 \font_roman "default" "default"
14 \font_sans "default" "default"
15 \font_typewriter "default" "default"
16 \font_math "auto" "auto"
17 \font_default_family default
18 \use_non_tex_fonts false
21 \font_sf_scale 100 100
22 \font_tt_scale 100 100
24 \default_output_format pdf
26 \bibtex_command default
27 \index_command default
28 \paperfontsize default
33 \use_package amsmath 0
34 \use_package amssymb 0
37 \use_package mathdots 1
38 \use_package mathtools 0
40 \use_package stackrel 0
41 \use_package stmaryrd 0
42 \use_package undertilde 0
44 \cite_engine_type default
48 \paperorientation portrait
58 \paragraph_separation indent
59 \paragraph_indentation default
60 \quotes_language english
63 \paperpagestyle default
64 \tracking_changes false
82 \begin_inset Flex Firstname
85 \begin_layout Plain Layout
92 \begin_inset Flex Surname
95 \begin_layout Plain Layout
104 \begin_layout Abstract
105 This is a small illustration of lyx's features using DocBook.
108 \begin_layout Abstract
109 The abstract can span several paragraphs.
112 \begin_layout Section
113 \begin_inset CommandInset label
122 \begin_layout Standard
123 This file ilustrates the generation of docbook documents with LyX.
126 \begin_layout Standard
127 This will improve as soon as new features are available.
130 \begin_layout Section
134 \begin_layout Standard
135 One of the goals is the support, as much as possible, of layouts used in
136 other textclass, for compatibility purposes.
139 \begin_layout Standard
140 Remember that this is work in progress, I would like to hear any comments,
142 \begin_inset Quotes eld
146 \begin_inset Quotes erd
152 \begin_layout Subsection
156 \begin_layout Standard
157 This is an example with several nested lists.
160 \begin_layout Itemize
162 \begin_inset Separator parbreak
168 \begin_layout Enumerate
172 \begin_layout Description
174 \begin_inset Separator parbreak
180 \begin_layout Enumerate
186 \begin_layout Itemize
190 \begin_layout Subsection
194 \begin_layout Standard
195 Required steps to have a running lyx.
198 \begin_layout Quotation
199 Be carefull with your own code.
202 \begin_layout Quotation
230 \begin_layout Subsection
234 \begin_layout Standard
235 If a label is the first element in any layout, that label will be merged
238 \begin_inset CommandInset ref
241 reference "first-section"
248 \begin_layout Subsection
252 \begin_layout Standard
253 The only fonts supported are
258 \begin_inset Flex Literal
261 \begin_layout Plain Layout
270 \begin_layout Subsection
274 \begin_layout Standard
275 One of the major changes in the docbook when compared with the linuxdoc
276 support are the figures support.
277 LyX only allows to view eps figures.
278 So you should have one of these if you want to take advantage of this feature.
281 \begin_layout Standard
282 Notice that when the docbook code is exported the filename extension is
284 This enables that when the several backends are processed in sgmltools,
285 the corresponding extensions are added.
286 The default extension are eps for the print and gif for the html backend.
289 \begin_layout Standard
290 \begin_inset Float figure
296 \begin_layout Plain Layout
297 \begin_inset Graphics
298 filename ../doc/clipart/platypus.eps
310 \begin_layout Plain Layout
311 \begin_inset Caption Standard
313 \begin_layout Plain Layout
327 \begin_layout Standard
328 Wide figures are treated as normal figures.
331 \begin_layout Standard
332 \begin_inset Float figure
338 \begin_layout Plain Layout
339 \begin_inset Graphics
340 filename ../doc/clipart/platypus.eps
352 \begin_layout Plain Layout
353 \begin_inset Caption Standard
355 \begin_layout Plain Layout
356 long, very long\SpecialChar ldots
370 \begin_layout Subsection
374 \begin_layout Standard
375 There is also basic support for tables.
376 \begin_inset Float table
382 \begin_layout Plain Layout
385 <lyxtabular version="3" rows="3" columns="5">
386 <features rotate="0" tabularvalignment="middle">
387 <column alignment="center" valignment="top" width="0pt">
388 <column alignment="center" valignment="top" width="0pt">
389 <column alignment="center" valignment="top" width="0pt">
390 <column alignment="center" valignment="top" width="0pt">
391 <column alignment="center" valignment="top" width="0pt">
393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
396 \begin_layout Plain Layout
402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
405 \begin_layout Plain Layout
411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
414 \begin_layout Plain Layout
420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
423 \begin_layout Plain Layout
429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
432 \begin_layout Plain Layout
440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
443 \begin_layout Plain Layout
449 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
452 \begin_layout Plain Layout
458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
461 \begin_layout Plain Layout
467 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
470 \begin_layout Plain Layout
476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
479 \begin_layout Plain Layout
487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
490 \begin_layout Plain Layout
496 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
499 \begin_layout Plain Layout
505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
508 \begin_layout Plain Layout
514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
517 \begin_layout Plain Layout
523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
526 \begin_layout Plain Layout
540 \begin_layout Plain Layout
541 \begin_inset Caption Standard
543 \begin_layout Plain Layout
557 \begin_layout Standard
558 As it happens with the figures the wide tables are treated as normal tables.
561 \begin_layout Subsection
565 \begin_layout Standard
566 There are some restrictions when using margins.
567 For further information on docbook allowed syntax consult the
568 \begin_inset CommandInset href
570 name "docbook reference manual"
571 target "http://www.oasis-open.org/docbook/documentation/reference/"
578 \begin_layout Quotation
579 It is also possible to insert margin notes inside some environments.
580 \begin_inset Separator parbreak
586 \begin_layout Standard
590 \begin_layout Plain Layout
594 \begin_layout Plain Layout
596 second par -> margin note
599 \begin_layout Plain Layout
601 third par -> margin note
610 \begin_layout Quotation
611 Notice that the previous layout is at level 1
615 \begin_layout Plain Layout
616 This comes from a docbook restriction.
617 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
618 "TIP", "WARNING", "BLOCKQUOTE".
621 \begin_layout Plain Layout
622 These environments are easily added to the docbook layout.
627 and so is the follow:
628 \begin_inset Separator parbreak
634 \begin_layout Standard
638 \begin_layout Plain Layout
648 \begin_layout Section
652 \begin_layout Standard
653 This is a small list of the remaining tasks:
656 \begin_layout Itemize
657 Expand the number of layouts
658 \begin_inset Separator parbreak
664 \begin_layout Itemize
668 \begin_layout Itemize
672 \begin_layout Itemize
676 \begin_layout Itemize
680 \begin_layout Itemize
684 \begin_layout Itemize
689 \begin_layout Itemize
690 Compose other layout files, besides article
691 \begin_inset Separator parbreak
697 \begin_layout Enumerate
701 \begin_layout Enumerate
706 \begin_layout Plain Layout
707 I do not expect lyx to deal with colection of books, for now!
715 \begin_layout Enumerate
720 \begin_layout Itemize
722 \begin_inset Separator parbreak
728 \begin_layout Enumerate
729 including other lyx files
732 \begin_layout Enumerate
733 more advanced tables support
737 \begin_layout Itemize
741 \begin_layout Standard