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 1
37 \use_package amssymb 1
40 \use_package mathdots 1
41 \use_package mathtools 1
43 \use_package stackrel 1
44 \use_package stmaryrd 1
45 \use_package undertilde 1
47 \cite_engine_type default
51 \paperorientation portrait
62 \paragraph_separation indent
63 \paragraph_indentation default
65 \math_numbering_side default
70 \paperpagestyle default
71 \tracking_changes false
89 \begin_inset Flex Firstname
92 \begin_layout Plain Layout
99 \begin_inset Flex Surname
102 \begin_layout Plain Layout
111 \begin_layout Abstract
112 This is a small illustration of lyx's features using DocBook.
115 \begin_layout Abstract
116 The abstract can span several paragraphs.
119 \begin_layout Section
120 \begin_inset CommandInset label
129 \begin_layout Standard
130 This file ilustrates the generation of docbook documents with LyX.
133 \begin_layout Standard
134 This will improve as soon as new features are available.
137 \begin_layout Section
141 \begin_layout Standard
142 One of the goals is the support, as much as possible, of layouts used in
143 other textclass, for compatibility purposes.
146 \begin_layout Standard
147 Remember that this is work in progress, I would like to hear any comments,
149 \begin_inset Quotes eld
153 \begin_inset Quotes erd
159 \begin_layout Subsection
163 \begin_layout Standard
164 This is an example with several nested lists.
167 \begin_layout Itemize
172 \begin_layout Enumerate
176 \begin_layout Description
181 \begin_layout Enumerate
187 \begin_layout Itemize
191 \begin_layout Subsection
195 \begin_layout Standard
196 Required steps to have a running lyx.
199 \begin_layout Quotation
200 Be carefull with your own code.
203 \begin_layout Quotation
231 \begin_layout Subsection
235 \begin_layout Standard
236 If a label is the first element in any layout, that label will be merged
239 \begin_inset CommandInset ref
242 reference "first-section"
249 \begin_layout Subsection
253 \begin_layout Standard
254 The only fonts supported are
259 \begin_inset Flex Literal
262 \begin_layout Plain Layout
271 \begin_layout Subsection
275 \begin_layout Standard
276 One of the major changes in the docbook when compared with the linuxdoc
277 support are the figures support.
278 LyX only allows to view eps figures.
279 So you should have one of these if you want to take advantage of this feature.
282 \begin_layout Standard
283 Notice that when the docbook code is exported the filename extension is
285 This enables that when the several backends are processed in sgmltools,
286 the corresponding extensions are added.
287 The default extension are eps for the print and gif for the html backend.
290 \begin_layout Standard
291 \begin_inset Float figure
297 \begin_layout Plain Layout
298 \begin_inset Graphics
299 filename ../doc/clipart/platypus.eps
311 \begin_layout Plain Layout
312 \begin_inset Caption Standard
314 \begin_layout Plain Layout
328 \begin_layout Standard
329 Wide figures are treated as normal figures.
332 \begin_layout Standard
333 \begin_inset Float figure
339 \begin_layout Plain Layout
340 \begin_inset Graphics
341 filename ../doc/clipart/platypus.eps
353 \begin_layout Plain Layout
354 \begin_inset Caption Standard
356 \begin_layout Plain Layout
357 long, very long\SpecialChar ldots
371 \begin_layout Subsection
375 \begin_layout Standard
376 There is also basic support for tables.
377 \begin_inset Float table
383 \begin_layout Plain Layout
386 <lyxtabular version="3" rows="3" columns="5">
387 <features tabularvalignment="middle">
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">
392 <column alignment="center" valignment="top" width="0pt">
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" usebox="none">
424 \begin_layout Plain Layout
430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
433 \begin_layout Plain Layout
441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
444 \begin_layout Plain Layout
450 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
453 \begin_layout Plain Layout
459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
462 \begin_layout Plain Layout
468 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
471 \begin_layout Plain Layout
477 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
480 \begin_layout Plain Layout
488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
491 \begin_layout Plain Layout
497 <cell multicolumn="1" alignment="center" valignment="top" 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" usebox="none">
518 \begin_layout Plain Layout
524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
527 \begin_layout Plain Layout
541 \begin_layout Plain Layout
542 \begin_inset Caption Standard
544 \begin_layout Plain Layout
558 \begin_layout Standard
559 As it happens with the figures the wide tables are treated as normal tables.
562 \begin_layout Subsection
566 \begin_layout Standard
567 There are some restrictions when using margins.
568 For further information on docbook allowed syntax consult the
569 \begin_inset CommandInset href
571 name "docbook reference manual"
572 target "http://www.oasis-open.org/docbook/documentation/reference/"
580 \begin_layout Quotation
581 It is also possible to insert margin notes inside some environments.
585 \begin_layout Standard
589 \begin_layout Plain Layout
593 \begin_layout Plain Layout
595 second par -> margin note
598 \begin_layout Plain Layout
600 third par -> margin note
609 \begin_layout Quotation
610 Notice that the previous layout is at level 1
614 \begin_layout Plain Layout
615 This comes from a docbook restriction.
616 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
617 "TIP", "WARNING", "BLOCKQUOTE".
620 \begin_layout Plain Layout
621 These environments are easily added to the docbook layout.
626 and so is the follow:
630 \begin_layout Standard
634 \begin_layout Plain Layout
644 \begin_layout Section
648 \begin_layout Standard
649 This is a small list of the remaining tasks:
652 \begin_layout Itemize
653 Expand the number of layouts
657 \begin_layout Itemize
661 \begin_layout Itemize
665 \begin_layout Itemize
669 \begin_layout Itemize
673 \begin_layout Itemize
677 \begin_layout Itemize
682 \begin_layout Itemize
683 Compose other layout files, besides article
687 \begin_layout Enumerate
691 \begin_layout Enumerate
696 \begin_layout Plain Layout
697 I do not expect lyx to deal with colection of books, for now!
705 \begin_layout Enumerate
710 \begin_layout Itemize
715 \begin_layout Enumerate
716 including other lyx files
719 \begin_layout Enumerate
720 more advanced tables support
724 \begin_layout Itemize
728 \begin_layout Standard