1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
8 \use_default_options false
9 \maintain_unincluded_children false
11 \language_package default
12 \inputencoding default
14 \font_roman "default" "default"
15 \font_sans "default" "default"
16 \font_typewriter "default" "default"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
22 \font_sf_scale 100 100
23 \font_tt_scale 100 100
25 \use_dash_ligatures false
27 \default_output_format pdf
29 \bibtex_command default
30 \index_command default
31 \paperfontsize default
36 \use_package amsmath 0
37 \use_package amssymb 0
40 \use_package mathdots 1
41 \use_package mathtools 0
43 \use_package stackrel 0
44 \use_package stmaryrd 0
45 \use_package undertilde 0
47 \cite_engine_type default
51 \paperorientation portrait
61 \paragraph_separation indent
62 \paragraph_indentation default
64 \math_numbering_side default
68 \paperpagestyle default
69 \tracking_changes false
88 \begin_inset Flex Firstname
91 \begin_layout Plain Layout
98 \begin_inset Flex Surname
101 \begin_layout Plain Layout
110 \begin_layout Abstract
111 This is a small illustration of lyx's features using DocBook.
114 \begin_layout Abstract
115 The abstract can span several paragraphs.
118 \begin_layout Section
119 \begin_inset CommandInset label
128 \begin_layout Standard
129 This file ilustrates the generation of docbook documents with LyX.
132 \begin_layout Standard
133 This will improve as soon as new features are available.
136 \begin_layout Section
140 \begin_layout Standard
141 One of the goals is the support, as much as possible, of layouts used in
142 other textclass, for compatibility purposes.
145 \begin_layout Standard
146 Remember that this is work in progress, I would like to hear any comments,
148 \begin_inset Quotes eld
152 \begin_inset Quotes erd
158 \begin_layout Subsection
162 \begin_layout Standard
163 This is an example with several nested lists.
166 \begin_layout Itemize
171 \begin_layout Enumerate
175 \begin_layout Description
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 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/"
579 \begin_layout Quotation
580 It is also possible to insert margin notes inside some environments.
584 \begin_layout Standard
588 \begin_layout Plain Layout
592 \begin_layout Plain Layout
594 second par -> margin note
597 \begin_layout Plain Layout
599 third par -> margin note
608 \begin_layout Quotation
609 Notice that the previous layout is at level 1
613 \begin_layout Plain Layout
614 This comes from a docbook restriction.
615 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
616 "TIP", "WARNING", "BLOCKQUOTE".
619 \begin_layout Plain Layout
620 These environments are easily added to the docbook layout.
625 and so is the follow:
629 \begin_layout Standard
633 \begin_layout Plain Layout
643 \begin_layout Section
647 \begin_layout Standard
648 This is a small list of the remaining tasks:
651 \begin_layout Itemize
652 Expand the number of layouts
656 \begin_layout Itemize
660 \begin_layout Itemize
664 \begin_layout Itemize
668 \begin_layout Itemize
672 \begin_layout Itemize
676 \begin_layout Itemize
681 \begin_layout Itemize
682 Compose other layout files, besides article
686 \begin_layout Enumerate
690 \begin_layout Enumerate
695 \begin_layout Plain Layout
696 I do not expect lyx to deal with colection of books, for now!
704 \begin_layout Enumerate
709 \begin_layout Itemize
714 \begin_layout Enumerate
715 including other lyx files
718 \begin_layout Enumerate
719 more advanced tables support
723 \begin_layout Itemize
727 \begin_layout Standard