_

separation indent medskip _language english _times 2 1 1 default

SGML

_inset Info Here goes the information about the article: * title * date * author + first name + last name * abstract inset

Title _space_top vfill _space_bottom vfill Docbook with LyX Date

24 September 1999 Author

_deeper SGML center

normal

_inset Info The author name is always composed of: * first name * surname

It is always possible to have more than one author. inset

FirstName

o_latex Jos efault e' Surname

o_latex Matos deeper Abstract

This is a small illustration of lyx's features using DocBook. Abstract

The abstract can span several paragraphs. Section

_inset LatexCommand

inset

Introduction Standard

This file ilustrates the generation of docbook documents with LyX. Standard

This will improve as soon as new features are available. Section

Standard layouts Standard

One of the goals is the support, as much as possible, of layouts used in other textclass, for compatibility purposes. Standard

Remember that this is work in progress, I would like to hear any comments, good or _inset Quotes eld inset

bad _inset Quotes erd inset

. Subsection

Lists Standard

This is an example with several nested lists. Itemize

item 1 _deeper Enumerate

item 2 Description

new item _deeper Enumerate

collection deeper deeper Itemize

new set Subsection

Code Standard

Required steps to have a running lyx. Quotation

Be carefull with your own code. Quotation

The debugger. Code

cat > env.out Code

tar xvzf lyx.tgz Code

cd lyx-1_0_x Code

./configure Code

make Code

make install Subsection

Labels Standard

If a label is the first element in any layout, that label will be merged with that element. See as an example _inset LatexCommand [*]

inset

. Subsection

Fonts Standard

The only fonts supported are on Emphasis default and atex <literal>SGML</literal> efault . Subsection

Figures Standard

One of the major changes in the docbook when compared with the linuxdoc support are the figures support. LyX only allows to view eps figures. So you should have one of these if you want to take advantage of this feature. Standard

Notice that when the docbook code is exported the filename extension is stripped. This enables that when the several backends are processed in sgmltools, the corresponding extensions are added. The default extension are eps for the print and gif for the html backend. Standard

_float fig Standard

_inset Figure size 56 85 file ../doc/platypus.eps width 1 2 height 1 3 angle 45 flags 2

inset

Caption

Nice platypus float

Standard

Wide figures are treated as normal figures. Standard

_float wide-fig Standard

_inset Figure size 56 85 file ../doc/platypus.eps width 1 2 height 1 3 angle 45 flags 2

inset

Caption

long, very long... :-) float Subsection

Tables Standard

There is also basic support for tables. _float tab Standard _space_top 0.3cm _space_bottom 0.3cm center multicol5 3 5 0 0 -1 -1 -1 -1 1 0 0 0 1 0 0 0 1 1 0 0 8 1 0 "" "" 8 1 0 "" "" 8 1 0 "" "" 8 1 0 "" "" 8 1 1 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 8 1 0 0 0 0 "" "" 2 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 8 0 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" ""


Software 1
Software 2
Software 3
Software 4
Plataform 1
25 MB
10 MB
34 MB
Plataform 2


12 MB
30 MB
35 MB Caption

Nice Formal Table float

Standard

As it happens with the figures the wide tables are treated as normal tables. Subsection

Margins Standard

There are some restrictions when using margins. For further information on docbook allowed syntax consult the _inset LatexCommand [docbook reference manual]http://www.oasis-open.org/docbook/documentation/reference/

inset

. Quotation

It is also possible to insert margin notes inside some environments. _deeper SGML

_float margin deeper Standard

margin note Standard

second par -> margin note Standard

third par -> margin note float

Quotation

Notice that the previous layout is at level 1 _float footnote Standard

This comes from a docbook restriction. Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE", "TIP", "WARNING", "BLOCKQUOTE". Standard

These environments are easily added to the docbook layout. float and so is the follow: _deeper SGML

_float margin deeper Standard

too marginal ;-) float

Section

The road map Standard

This is a small list of the remaining tasks: Itemize

Expand the number of layouts _deeper Itemize

example Itemize

note Itemize

warning Itemize

tip Itemize

caution Itemize

important deeper Itemize

Compose other layout files, besides article _deeper Enumerate

book Enumerate

set (very unlikely) _float footnote deeper Standard

I do not expect lyx to deal with colection of books, for now! float _deeper Enumerate

refentry deeper Itemize

goodies _deeper Enumerate

including other lyx files Enumerate

more advanced tables support deeper Itemize

better documentation Standard

That's all. ;-) _end