1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /buildlyxdir/examples/Articles/
8 \use_default_options false
9 \maintain_unincluded_children false
11 \language_package 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 default
29 \bibtex_command default
30 \index_command default
31 \float_placement class
32 \float_alignment class
33 \paperfontsize default
38 \use_package amsmath 1
39 \use_package amssymb 1
42 \use_package mathdots 1
43 \use_package mathtools 1
45 \use_package stackrel 1
46 \use_package stmaryrd 1
47 \use_package undertilde 1
49 \cite_engine_type default
53 \paperorientation portrait
64 \paragraph_separation indent
65 \paragraph_indentation default
67 \math_numbering_side default
72 \paperpagestyle default
73 \tracking_changes false
91 \begin_inset Flex Firstname
94 \begin_layout Plain Layout
101 \begin_inset Flex Surname
104 \begin_layout Plain Layout
113 \begin_layout Abstract
114 This is a small illustration of lyx's features using DocBook.
117 \begin_layout Abstract
118 The abstract can span several paragraphs.
121 \begin_layout Section
122 \begin_inset CommandInset label
131 \begin_layout Standard
132 This file ilustrates the generation of docbook documents with LyX.
135 \begin_layout Standard
136 This will improve as soon as new features are available.
139 \begin_layout Section
143 \begin_layout Standard
144 One of the goals is the support, as much as possible, of layouts used in
145 other textclass, for compatibility purposes.
148 \begin_layout Standard
149 Remember that this is work in progress, I would like to hear any comments,
151 \begin_inset Quotes eld
155 \begin_inset Quotes erd
161 \begin_layout Subsection
165 \begin_layout Standard
166 This is an example with several nested lists.
169 \begin_layout Itemize
174 \begin_layout Enumerate
178 \begin_layout Description
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
300 \begin_layout Plain Layout
301 \begin_inset Graphics
302 filename ../../doc/clipart/platypus.eps
314 \begin_layout Plain Layout
315 \begin_inset Caption Standard
317 \begin_layout Plain Layout
331 \begin_layout Standard
332 Wide figures are treated as normal figures.
335 \begin_layout Standard
336 \begin_inset Float figure
343 \begin_layout Plain Layout
344 \begin_inset Graphics
345 filename ../../doc/clipart/platypus.eps
357 \begin_layout Plain Layout
358 \begin_inset Caption Standard
360 \begin_layout Plain Layout
361 long, very long\SpecialChar ldots
375 \begin_layout Subsection
379 \begin_layout Standard
380 There is also basic support for tables.
381 \begin_inset Float table
388 \begin_layout Plain Layout
391 <lyxtabular version="3" rows="3" columns="5">
392 <features tabularvalignment="middle">
393 <column alignment="center" valignment="top" width="0pt">
394 <column alignment="center" valignment="top" width="0pt">
395 <column alignment="center" valignment="top" width="0pt">
396 <column alignment="center" valignment="top" width="0pt">
397 <column alignment="center" valignment="top" width="0pt">
399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
402 \begin_layout Plain Layout
408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
411 \begin_layout Plain Layout
417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
420 \begin_layout Plain Layout
426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
429 \begin_layout Plain Layout
435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
438 \begin_layout Plain Layout
446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
449 \begin_layout Plain Layout
455 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
458 \begin_layout Plain Layout
464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
467 \begin_layout Plain Layout
473 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
476 \begin_layout Plain Layout
482 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
485 \begin_layout Plain Layout
493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
496 \begin_layout Plain Layout
502 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
505 \begin_layout Plain Layout
511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
514 \begin_layout Plain Layout
520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
523 \begin_layout Plain Layout
529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
532 \begin_layout Plain Layout
546 \begin_layout Plain Layout
547 \begin_inset Caption Standard
549 \begin_layout Plain Layout
563 \begin_layout Standard
564 As it happens with the figures the wide tables are treated as normal tables.
567 \begin_layout Subsection
571 \begin_layout Standard
572 There are some restrictions when using margins.
573 For further information on docbook allowed syntax consult the
574 \begin_inset CommandInset href
576 name "docbook reference manual"
577 target "http://www.oasis-open.org/docbook/documentation/reference/"
585 \begin_layout Quotation
586 It is also possible to insert margin notes inside some environments.
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:
635 \begin_layout Standard
639 \begin_layout Plain Layout
649 \begin_layout Section
653 \begin_layout Standard
654 This is a small list of the remaining tasks:
657 \begin_layout Itemize
658 Expand the number of layouts
662 \begin_layout Itemize
666 \begin_layout Itemize
670 \begin_layout Itemize
674 \begin_layout Itemize
678 \begin_layout Itemize
682 \begin_layout Itemize
687 \begin_layout Itemize
688 Compose other layout files, besides article
692 \begin_layout Enumerate
696 \begin_layout Enumerate
701 \begin_layout Plain Layout
702 I do not expect lyx to deal with colection of books, for now!
710 \begin_layout Enumerate
715 \begin_layout Itemize
720 \begin_layout Enumerate
721 including other lyx files
724 \begin_layout Enumerate
725 more advanced tables support
729 \begin_layout Itemize
733 \begin_layout Standard