1 #LyX 2.2 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 \default_output_format pdf
27 \bibtex_command default
28 \index_command default
29 \paperfontsize default
34 \use_package amsmath 0
35 \use_package amssymb 0
38 \use_package mathdots 1
39 \use_package mathtools 0
41 \use_package stackrel 0
42 \use_package stmaryrd 0
43 \use_package undertilde 0
45 \cite_engine_type default
49 \paperorientation portrait
59 \paragraph_separation indent
60 \paragraph_indentation default
61 \quotes_language english
64 \paperpagestyle default
65 \tracking_changes false
83 \begin_inset Flex Firstname
86 \begin_layout Plain Layout
93 \begin_inset Flex Surname
96 \begin_layout Plain Layout
105 \begin_layout Abstract
106 This is a small illustration of lyx's features using DocBook.
109 \begin_layout Abstract
110 The abstract can span several paragraphs.
113 \begin_layout Section
114 \begin_inset CommandInset label
123 \begin_layout Standard
124 This file ilustrates the generation of docbook documents with LyX.
127 \begin_layout Standard
128 This will improve as soon as new features are available.
131 \begin_layout Section
135 \begin_layout Standard
136 One of the goals is the support, as much as possible, of layouts used in
137 other textclass, for compatibility purposes.
140 \begin_layout Standard
141 Remember that this is work in progress, I would like to hear any comments,
143 \begin_inset Quotes eld
147 \begin_inset Quotes erd
153 \begin_layout Subsection
157 \begin_layout Standard
158 This is an example with several nested lists.
161 \begin_layout Itemize
166 \begin_layout Enumerate
170 \begin_layout Description
175 \begin_layout Enumerate
181 \begin_layout Itemize
185 \begin_layout Subsection
189 \begin_layout Standard
190 Required steps to have a running lyx.
193 \begin_layout Quotation
194 Be carefull with your own code.
197 \begin_layout Quotation
225 \begin_layout Subsection
229 \begin_layout Standard
230 If a label is the first element in any layout, that label will be merged
233 \begin_inset CommandInset ref
236 reference "first-section"
243 \begin_layout Subsection
247 \begin_layout Standard
248 The only fonts supported are
253 \begin_inset Flex Literal
256 \begin_layout Plain Layout
265 \begin_layout Subsection
269 \begin_layout Standard
270 One of the major changes in the docbook when compared with the linuxdoc
271 support are the figures support.
272 LyX only allows to view eps figures.
273 So you should have one of these if you want to take advantage of this feature.
276 \begin_layout Standard
277 Notice that when the docbook code is exported the filename extension is
279 This enables that when the several backends are processed in sgmltools,
280 the corresponding extensions are added.
281 The default extension are eps for the print and gif for the html backend.
284 \begin_layout Standard
285 \begin_inset Float figure
291 \begin_layout Plain Layout
292 \begin_inset Graphics
293 filename ../doc/clipart/platypus.eps
305 \begin_layout Plain Layout
306 \begin_inset Caption Standard
308 \begin_layout Plain Layout
322 \begin_layout Standard
323 Wide figures are treated as normal figures.
326 \begin_layout Standard
327 \begin_inset Float figure
333 \begin_layout Plain Layout
334 \begin_inset Graphics
335 filename ../doc/clipart/platypus.eps
347 \begin_layout Plain Layout
348 \begin_inset Caption Standard
350 \begin_layout Plain Layout
351 long, very long\SpecialChar ldots
365 \begin_layout Subsection
369 \begin_layout Standard
370 There is also basic support for tables.
371 \begin_inset Float table
377 \begin_layout Plain Layout
380 <lyxtabular version="3" rows="3" columns="5">
381 <features tabularvalignment="middle">
382 <column alignment="center" valignment="top" width="0pt">
383 <column alignment="center" valignment="top" width="0pt">
384 <column alignment="center" valignment="top" width="0pt">
385 <column alignment="center" valignment="top" width="0pt">
386 <column alignment="center" valignment="top" width="0pt">
388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
391 \begin_layout Plain Layout
397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
400 \begin_layout Plain Layout
406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
409 \begin_layout Plain Layout
415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
418 \begin_layout Plain Layout
424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
427 \begin_layout Plain Layout
435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
438 \begin_layout Plain Layout
444 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
447 \begin_layout Plain Layout
453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
456 \begin_layout Plain Layout
462 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
465 \begin_layout Plain Layout
471 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
474 \begin_layout Plain Layout
482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
485 \begin_layout Plain Layout
491 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
494 \begin_layout Plain Layout
500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
503 \begin_layout Plain Layout
509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
512 \begin_layout Plain Layout
518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
521 \begin_layout Plain Layout
535 \begin_layout Plain Layout
536 \begin_inset Caption Standard
538 \begin_layout Plain Layout
552 \begin_layout Standard
553 As it happens with the figures the wide tables are treated as normal tables.
556 \begin_layout Subsection
560 \begin_layout Standard
561 There are some restrictions when using margins.
562 For further information on docbook allowed syntax consult the
563 \begin_inset CommandInset href
565 name "docbook reference manual"
566 target "http://www.oasis-open.org/docbook/documentation/reference/"
573 \begin_layout Quotation
574 It is also possible to insert margin notes inside some environments.
578 \begin_layout Standard
582 \begin_layout Plain Layout
586 \begin_layout Plain Layout
588 second par -> margin note
591 \begin_layout Plain Layout
593 third par -> margin note
602 \begin_layout Quotation
603 Notice that the previous layout is at level 1
607 \begin_layout Plain Layout
608 This comes from a docbook restriction.
609 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
610 "TIP", "WARNING", "BLOCKQUOTE".
613 \begin_layout Plain Layout
614 These environments are easily added to the docbook layout.
619 and so is the follow:
623 \begin_layout Standard
627 \begin_layout Plain Layout
637 \begin_layout Section
641 \begin_layout Standard
642 This is a small list of the remaining tasks:
645 \begin_layout Itemize
646 Expand the number of layouts
650 \begin_layout Itemize
654 \begin_layout Itemize
658 \begin_layout Itemize
662 \begin_layout Itemize
666 \begin_layout Itemize
670 \begin_layout Itemize
675 \begin_layout Itemize
676 Compose other layout files, besides article
680 \begin_layout Enumerate
684 \begin_layout Enumerate
689 \begin_layout Plain Layout
690 I do not expect lyx to deal with colection of books, for now!
698 \begin_layout Enumerate
703 \begin_layout Itemize
708 \begin_layout Enumerate
709 including other lyx files
712 \begin_layout Enumerate
713 more advanced tables support
717 \begin_layout Itemize
721 \begin_layout Standard