X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fdocbook_article.lyx;h=d9c65e02e302c5b73eed6ad0dd11ef178850a4f0;hb=7ba7ce4006843cd704f563f441996362c4029457;hp=76cd13b0da8e78d480245f28d03313c0f25f0ec2;hpb=e9d9f2e27bf7d8174022a8c9fffc94c981ab7c0f;p=lyx.git diff --git a/lib/examples/docbook_article.lyx b/lib/examples/docbook_article.lyx index 76cd13b0da..d9c65e02e3 100644 --- a/lib/examples/docbook_article.lyx +++ b/lib/examples/docbook_article.lyx @@ -1,38 +1,61 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 252 +#LyX 2.0 created this file. For more info see http://www.lyx.org/ +\lyxformat 413 \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_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 default +\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_mhchem 1 +\use_mathdots 1 \cite_engine basic \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\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 +69,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 +100,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 +219,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 +239,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 +277,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 +291,20 @@ status open \end_layout -\begin_layout Caption +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout Nice platypus \end_layout \end_inset + +\end_layout + +\end_inset + \end_layout @@ -289,12 +319,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 +333,22 @@ status open \end_layout -\begin_layout Caption -long, very long... +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout +long, very long\SpecialChar \ldots{} :-) \end_layout \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Subsection @@ -325,21 +363,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 +386,7 @@ status open \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 1 \end_layout @@ -357,7 +395,7 @@ Software 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 2 \end_layout @@ -366,7 +404,7 @@ Software 2 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout Software 3 \end_layout @@ -375,18 +413,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 +433,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 25 MB \end_layout @@ -404,7 +442,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 10 MB \end_layout @@ -413,7 +451,7 @@ Plataform 1 \begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout 34 MB \end_layout @@ -422,18 +460,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 +480,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 +521,20 @@ Plataform 2 \end_layout -\begin_layout Caption +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout Nice Formal Table \end_layout \end_inset + +\end_layout + +\end_inset + \end_layout @@ -503,7 +549,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 +566,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 +593,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 +611,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 +675,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