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
163 \begin_inset Separator parbreak
170 \begin_layout Enumerate
174 \begin_layout Description
176 \begin_inset Separator parbreak
183 \begin_layout Enumerate
189 \begin_layout Itemize
193 \begin_layout Subsection
197 \begin_layout Standard
198 Required steps to have a running lyx.
201 \begin_layout Quotation
202 Be carefull with your own code.
205 \begin_layout Quotation
233 \begin_layout Subsection
237 \begin_layout Standard
238 If a label is the first element in any layout, that label will be merged
241 \begin_inset CommandInset ref
244 reference "first-section"
251 \begin_layout Subsection
255 \begin_layout Standard
256 The only fonts supported are
261 \begin_inset Flex Literal
264 \begin_layout Plain Layout
273 \begin_layout Subsection
277 \begin_layout Standard
278 One of the major changes in the docbook when compared with the linuxdoc
279 support are the figures support.
280 LyX only allows to view eps figures.
281 So you should have one of these if you want to take advantage of this feature.
284 \begin_layout Standard
285 Notice that when the docbook code is exported the filename extension is
287 This enables that when the several backends are processed in sgmltools,
288 the corresponding extensions are added.
289 The default extension are eps for the print and gif for the html backend.
292 \begin_layout Standard
293 \begin_inset Float figure
299 \begin_layout Plain Layout
300 \begin_inset Graphics
301 filename ../doc/clipart/platypus.eps
313 \begin_layout Plain Layout
314 \begin_inset Caption Standard
316 \begin_layout Plain Layout
330 \begin_layout Standard
331 Wide figures are treated as normal figures.
334 \begin_layout Standard
335 \begin_inset Float figure
341 \begin_layout Plain Layout
342 \begin_inset Graphics
343 filename ../doc/clipart/platypus.eps
355 \begin_layout Plain Layout
356 \begin_inset Caption Standard
358 \begin_layout Plain Layout
359 long, very long\SpecialChar ldots
373 \begin_layout Subsection
377 \begin_layout Standard
378 There is also basic support for tables.
379 \begin_inset Float table
385 \begin_layout Plain Layout
388 <lyxtabular version="3" rows="3" columns="5">
389 <features tabularvalignment="middle">
390 <column alignment="center" valignment="top" width="0pt">
391 <column alignment="center" valignment="top" width="0pt">
392 <column alignment="center" valignment="top" width="0pt">
393 <column alignment="center" valignment="top" width="0pt">
394 <column alignment="center" valignment="top" width="0pt">
396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
399 \begin_layout Plain Layout
405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
408 \begin_layout Plain Layout
414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
417 \begin_layout Plain Layout
423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
426 \begin_layout Plain Layout
432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
435 \begin_layout Plain Layout
443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
446 \begin_layout Plain Layout
452 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
455 \begin_layout Plain Layout
461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
464 \begin_layout Plain Layout
470 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
473 \begin_layout Plain Layout
479 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
482 \begin_layout Plain Layout
490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
493 \begin_layout Plain Layout
499 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
502 \begin_layout Plain Layout
508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
511 \begin_layout Plain Layout
517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
520 \begin_layout Plain Layout
526 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
529 \begin_layout Plain Layout
543 \begin_layout Plain Layout
544 \begin_inset Caption Standard
546 \begin_layout Plain Layout
560 \begin_layout Standard
561 As it happens with the figures the wide tables are treated as normal tables.
564 \begin_layout Subsection
568 \begin_layout Standard
569 There are some restrictions when using margins.
570 For further information on docbook allowed syntax consult the
571 \begin_inset CommandInset href
573 name "docbook reference manual"
574 target "http://www.oasis-open.org/docbook/documentation/reference/"
581 \begin_layout Quotation
582 It is also possible to insert margin notes inside some environments.
583 \begin_inset Separator parbreak
590 \begin_layout Standard
594 \begin_layout Plain Layout
598 \begin_layout Plain Layout
600 second par -> margin note
603 \begin_layout Plain Layout
605 third par -> margin note
614 \begin_layout Quotation
615 Notice that the previous layout is at level 1
619 \begin_layout Plain Layout
620 This comes from a docbook restriction.
621 Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE",
622 "TIP", "WARNING", "BLOCKQUOTE".
625 \begin_layout Plain Layout
626 These environments are easily added to the docbook layout.
631 and so is the follow:
632 \begin_inset Separator parbreak
639 \begin_layout Standard
643 \begin_layout Plain Layout
653 \begin_layout Section
657 \begin_layout Standard
658 This is a small list of the remaining tasks:
661 \begin_layout Itemize
662 Expand the number of layouts
663 \begin_inset Separator parbreak
670 \begin_layout Itemize
674 \begin_layout Itemize
678 \begin_layout Itemize
682 \begin_layout Itemize
686 \begin_layout Itemize
690 \begin_layout Itemize
695 \begin_layout Itemize
696 Compose other layout files, besides article
697 \begin_inset Separator parbreak
704 \begin_layout Enumerate
708 \begin_layout Enumerate
713 \begin_layout Plain Layout
714 I do not expect lyx to deal with colection of books, for now!
722 \begin_layout Enumerate
727 \begin_layout Itemize
729 \begin_inset Separator parbreak
736 \begin_layout Enumerate
737 including other lyx files
740 \begin_layout Enumerate
741 more advanced tables support
745 \begin_layout Itemize
749 \begin_layout Standard