X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fdocbook_article.lyx;h=8249320441539c51b20f89cb021ed5cc3f2b07f6;hb=aa6c0fef2fddbd153b47e512b6e58788439e1364;hp=76cd13b0da8e78d480245f28d03313c0f25f0ec2;hpb=e9d9f2e27bf7d8174022a8c9fffc94c981ab7c0f;p=lyx.git diff --git a/lib/examples/docbook_article.lyx b/lib/examples/docbook_article.lyx index 76cd13b0da..8249320441 100644 --- a/lib/examples/docbook_article.lyx +++ b/lib/examples/docbook_article.lyx @@ -1,38 +1,69 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 252 +#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_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 true -\author "Jose' Matos" +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body @@ -46,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 @@ -79,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 @@ -197,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" @@ -216,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 @@ -255,12 +285,12 @@ 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 @@ -269,12 +299,20 @@ status open \end_layout -\begin_layout Caption +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout Nice platypus \end_layout \end_inset + +\end_layout + +\end_inset + \end_layout @@ -289,12 +327,12 @@ 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 @@ -303,14 +341,22 @@ status open \end_layout -\begin_layout Caption -long, very long... +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +long, very long\SpecialChar \ldots{} :-) \end_layout \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Subsection @@ -325,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 @@ -348,7 +394,7 @@ status open \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 1 \end_layout @@ -357,7 +403,7 @@ Software 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 2 \end_layout @@ -366,7 +412,7 @@ Software 2 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 3 \end_layout @@ -375,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 @@ -395,7 +441,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 25 MB \end_layout @@ -404,7 +450,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 10 MB \end_layout @@ -413,7 +459,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 34 MB \end_layout @@ -422,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 @@ -442,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 @@ -483,12 +529,20 @@ Plataform 2 \end_layout -\begin_layout Caption +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout Nice Formal Table \end_layout \end_inset + +\end_layout + +\end_inset + \end_layout @@ -503,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/" @@ -519,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 @@ -556,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 @@ -574,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 @@ -648,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