X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fdocbook_article.lyx;h=8249320441539c51b20f89cb021ed5cc3f2b07f6;hb=aa6c0fef2fddbd153b47e512b6e58788439e1364;hp=5deefcf3432accfe15243b4de2b222d58f02b79c;hpb=0ed05b32be7506ba9b21e1378dec9844e8ff3f23;p=lyx.git diff --git a/lib/examples/docbook_article.lyx b/lib/examples/docbook_article.lyx index 5deefcf343..8249320441 100644 --- a/lib/examples/docbook_article.lyx +++ b/lib/examples/docbook_article.lyx @@ -1,39 +1,69 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 276 +#LyX 2.1 created this file. For more info see http://www.lyx.org/ +\lyxformat 462 \begin_document \begin_header \textclass docbook +\use_default_options false +\maintain_unincluded_children false \language english +\language_package default \inputencoding default +\fontencoding global \font_roman default \font_sans default \font_typewriter default +\font_math auto \font_default_family default +\use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default +\default_output_format pdf +\output_sync 0 +\bibtex_command default +\index_command default \paperfontsize default \spacing single +\use_hyperref false \papersize default \use_geometry false -\use_amsmath 0 -\use_esint 0 +\use_package amsmath 0 +\use_package amssymb 0 +\use_package esint 0 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 \cite_engine basic +\cite_engine_type numerical +\biblio_style plain \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\index Index +\shortcut idx +\color #008000 +\end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent -\defskip medskip +\paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false -\author "Jose' Matos" +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body @@ -47,22 +77,20 @@ Docbook with LyX \end_layout \begin_layout Author -\begin_inset CharStyle Firstname -show_label true -status inlined +\begin_inset Flex Firstname +status open -\begin_layout Standard +\begin_layout Plain Layout José \end_layout \end_inset -\begin_inset CharStyle Surname -show_label true -status inlined +\begin_inset Flex Surname +status open -\begin_layout Standard +\begin_layout Plain Layout Matos \end_layout @@ -80,7 +108,8 @@ The abstract can span several paragraphs. \end_layout \begin_layout Section -\begin_inset LatexCommand label +\begin_inset CommandInset label +LatexCommand label name "first-section" \end_inset @@ -198,7 +227,8 @@ Labels If a label is the first element in any layout, that label will be merged with that element. See as an example -\begin_inset LatexCommand ref +\begin_inset CommandInset ref +LatexCommand ref name "first-section" reference "first-section" @@ -217,11 +247,10 @@ The only fonts supported are Emphasis \emph default and -\begin_inset CharStyle Literal -show_label true -status inlined +\begin_inset Flex Literal +status open -\begin_layout Standard +\begin_layout Plain Layout SGML \end_layout @@ -256,25 +285,24 @@ wide false sideways false status open -\begin_layout Standard +\begin_layout Plain Layout \begin_inset Graphics - filename ../doc/platypus.eps - display grayscale + filename ../doc/clipart/platypus.eps width 2cm height 3cm + scaleBeforeRotation rotateAngle 45 rotateOrigin center -scaleBeforeRotation \end_inset \end_layout -\begin_layout -\begin_inset Caption +\begin_layout Plain Layout +\begin_inset Caption Standard -\begin_layout +\begin_layout Plain Layout Nice platypus \end_layout @@ -299,26 +327,25 @@ wide true sideways false status open -\begin_layout Standard +\begin_layout Plain Layout \begin_inset Graphics - filename ../doc/platypus.eps - display grayscale + filename ../doc/clipart/platypus.eps width 2cm height 3cm + scaleBeforeRotation rotateAngle 45 rotateOrigin center -scaleBeforeRotation \end_inset \end_layout -\begin_layout -\begin_inset Caption +\begin_layout Plain Layout +\begin_inset Caption Standard -\begin_layout -long, very long... +\begin_layout Plain Layout +long, very long\SpecialChar \ldots{} :-) \end_layout @@ -344,21 +371,21 @@ wide false sideways false status open -\begin_layout Standard +\begin_layout Plain Layout \align center \begin_inset Tabular - - - - - - - + + + + + + + \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout \end_layout @@ -367,7 +394,7 @@ status open \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 1 \end_layout @@ -376,7 +403,7 @@ Software 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 2 \end_layout @@ -385,7 +412,7 @@ Software 2 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 3 \end_layout @@ -394,18 +421,18 @@ Software 3 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 4 \end_layout \end_inset - + \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Plataform 1 \end_layout @@ -414,7 +441,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 25 MB \end_layout @@ -423,7 +450,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 10 MB \end_layout @@ -432,7 +459,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 34 MB \end_layout @@ -441,18 +468,18 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout \end_layout \end_inset - - + + \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Plataform 2 \end_layout @@ -461,34 +488,34 @@ Plataform 2 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout \end_layout \end_inset - + \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 12 MB \end_layout \end_inset - + \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 30 MB \end_layout \end_inset - + \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 35 MB \end_layout @@ -502,10 +529,10 @@ Plataform 2 \end_layout -\begin_layout -\begin_inset Caption +\begin_layout Plain Layout +\begin_inset Caption Standard -\begin_layout +\begin_layout Plain Layout Nice Formal Table \end_layout @@ -530,7 +557,8 @@ Margins \begin_layout Standard There are some restrictions when using margins. For further information on docbook allowed syntax consult the -\begin_inset LatexCommand url +\begin_inset CommandInset href +LatexCommand href name "docbook reference manual" target "http://www.oasis-open.org/docbook/documentation/reference/" @@ -546,28 +574,18 @@ It is also possible to insert margin notes inside some environments. \begin_deeper \begin_layout Standard \begin_inset ERT -status inlined - -\begin_layout Standard - -\begin_inset Marginal status collapsed -\begin_layout Standard -margin note -\end_layout - -\end_inset - +\begin_layout Plain Layout \end_layout -\begin_layout Standard +\begin_layout Plain Layout second par -> margin note \end_layout -\begin_layout Standard +\begin_layout Plain Layout third par -> margin note \end_layout @@ -583,13 +601,13 @@ Notice that the previous layout is at level 1 \begin_inset Foot status collapsed -\begin_layout Standard +\begin_layout Plain Layout This comes from a docbook restriction. Sidebar can only appear inside "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE", "TIP", "WARNING", "BLOCKQUOTE". \end_layout -\begin_layout Standard +\begin_layout Plain Layout These environments are easily added to the docbook layout. \end_layout @@ -601,19 +619,9 @@ These environments are easily added to the docbook layout. \begin_deeper \begin_layout Standard \begin_inset ERT -status inlined - -\begin_layout Standard - -\begin_inset Marginal status collapsed -\begin_layout Standard -too marginal ;-) -\end_layout - -\end_inset - +\begin_layout Plain Layout \end_layout @@ -675,7 +683,7 @@ set (very unlikely) \begin_inset Foot status collapsed -\begin_layout Standard +\begin_layout Plain Layout I do not expect lyx to deal with colection of books, for now! \end_layout