lyx_mirror/autotests/export/docbook/basic.lyx
2020-06-26 21:55:44 +02:00

1058 lines
17 KiB
Plaintext

#LyX 2.4 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\newcommand{\testmacro}{\ensuremath{\operatorname{testmacro}}}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\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_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices true
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\index Other index
\shortcut oth
\color #cc0000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Title
I am a title
\end_layout
\begin_layout Author
I am an author
\end_layout
\begin_layout Date
I am a date
\end_layout
\begin_layout Abstract
I am an abstract
\end_layout
\begin_layout Abstract
I am also an abstract
\end_layout
\begin_layout Standard
I am a standard paragraph.
\end_layout
\begin_layout Section
I am the first section
\begin_inset CommandInset label
LatexCommand label
name "sec:Sec-1"
\end_inset
\end_layout
\begin_layout Standard
I am the first paragraph of the first section.
\end_layout
\begin_layout Standard
I am the second paragraph of the first section.
\end_layout
\begin_layout Quote
I am a quote
\begin_inset Formula $\,with\,a\,formula$
\end_inset
.
\end_layout
\begin_layout Standard
\begin_inset Formula
\[
Formula!
\]
\end_inset
\begin_inset Formula
\begin{equation}
\text{I am a formula with a ref.}\label{eq:EQ.}
\end{equation}
\end_inset
\end_layout
\begin_layout Standard
See
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Sec-2kqgsdiflhqsdlifgjuzer=povtuizmvnuer=t vmsrmfli uh =a'\"rtpfuoé&\"'rtpc!m'caôrgifzapeuùtvgz"
plural "false"
caps "false"
noprefix "false"
\end_inset
.
\end_layout
\begin_layout Standard
Also, a formula with an user-defined macro that outputs well in LaTeX but
cannot in MathML (hence replaced by picture):
\begin_inset Formula $\testmacro$
\end_inset
.
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
latexCommandThatShouldBeCommented
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
I am the first subsection
\end_layout
\begin_layout Standard
I am the only paragraph of the first subsection.
\end_layout
\begin_layout Subsection
I am the second subsection
\end_layout
\begin_layout Standard
I am the only paragraph of the second subsection.
\end_layout
\begin_layout Section
I am the second section
\begin_inset CommandInset label
LatexCommand label
name "sec:Sec-2kqgsdiflhqsdlifgjuzer=povtuizmvnuer=t vmsrmfli uh =a'\"rtpfuoé&\"'rtpc!m'caôrgifzapeuùtvgz"
\end_inset
\end_layout
\begin_layout Standard
I am the only paragraph of the second section.
\begin_inset CommandInset href
LatexCommand href
name "Hyperlink."
target "http://example.org"
literal "false"
\end_inset
\begin_inset Quotes eld
\end_inset
Text between quotes.
\begin_inset Quotes erd
\end_inset
\end_layout
\begin_layout Standard
See
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Sec-1"
plural "false"
caps "false"
noprefix "false"
\end_inset
.
\end_layout
\begin_layout Section
I am the third section and I have fun with lists
\end_layout
\begin_layout Enumerate
First item.
\begin_inset Newline newline
\end_inset
Second line of the first item, after a line break.
\end_layout
\begin_layout Enumerate
Second item.
\end_layout
\begin_layout Itemize
Item has no order (1).
\end_layout
\begin_layout Itemize
Item has no order (2).
\end_layout
\begin_layout Description
Word description
\end_layout
\begin_layout Description
Sentence meaning
\end_layout
\begin_layout Section
I am the fourth section and I deal with formatting.
\end_layout
\begin_layout Standard
The following paragraph should be code.
\end_layout
\begin_layout Standard
\begin_inset listings
inline false
status open
\begin_layout Plain Layout
I am some code.
\end_layout
\begin_layout Plain Layout
I am a second line of code.
\end_layout
\end_inset
I am no more code.
\end_layout
\begin_layout Standard
This line has inline code.
\family typewriter
This has typewriter font
\family default
\begin_inset Foot
status open
\begin_layout Plain Layout
I repeat that in a footnote.
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
On the other hand,
\begin_inset Foot
status open
\begin_layout Plain Layout
this footnote
\end_layout
\begin_layout Plain Layout
has multiple
\end_layout
\begin_layout Plain Layout
paragraphs.
\end_layout
\end_inset
.
\end_layout
\begin_layout Section
I am the fifth section and I deal with floats
\end_layout
\begin_layout Standard
Now, three tables:
\end_layout
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table 1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table 2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table 3
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Col 3, row 1
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Col 3, row 2
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
I am a table caption below the table.
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
I am a table caption above the table.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table 1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table 2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table 3
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Col 3, row 1
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Col 3, row 2
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table that has no caption 1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table that has no caption 2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Table that has no caption 3
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Col 3, row 1
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Col 3, row 2
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Then, one figure:
\end_layout
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
filename lyx-logo.png
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
Caption.
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Section
I am the sixth section and I really like bibliographies
\end_layout
\begin_layout Standard
This text has references.
First reference:
\begin_inset CommandInset citation
LatexCommand cite
key "big"
literal "false"
\end_inset
.
Second reference:
\begin_inset CommandInset citation
LatexCommand cite
key "small"
literal "false"
\end_inset
.
Both at the same time:
\begin_inset CommandInset citation
LatexCommand cite
key "big,small"
literal "false"
\end_inset
.
A book:
\begin_inset CommandInset citation
LatexCommand cite
key "Gro60"
literal "false"
\end_inset
.
\end_layout
\begin_layout Standard
Many things, just testing for completeness:
\begin_inset CommandInset citation
LatexCommand cite
key "article,book,booklet,conference,inbook,incollection"
literal "false"
\end_inset
.
\end_layout
\begin_layout Section
I am the seventh section and I deal with indices
\end_layout
\begin_layout Standard
First, a term to index:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term to index
\end_layout
\end_inset
.
Then a term to add to the second index:
\begin_inset Index oth
status open
\begin_layout Plain Layout
Term to add to the second index
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Then several terms for the first index:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
With a see:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term|see{index}
\end_layout
\end_inset
.
With a see also:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term|seealso{index}
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Several terms with a see:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index|see{index}
\end_layout
\end_inset
.
Several terms with a see also:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index|seealso{index}
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
A start of range:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term to index|(
\end_layout
\end_inset
.
The corresponding end of range:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term to index|)
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Several terms with a start of range:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index|(
\end_layout
\end_inset
.
The corresponding end of range:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index|)
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
These terms already appeared before! Start of range:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index|(
\end_layout
\end_inset
.
The corresponding end of range:
\begin_inset Index idx
status open
\begin_layout Plain Layout
Term!to!index|)
\end_layout
\end_inset
.
\end_layout
\begin_layout Section
I am the eight section and I deal with star sections
\end_layout
\begin_layout Part*
Star part
\end_layout
\begin_layout Section*
Star section (sect1)
\end_layout
\begin_layout Subsection*
Star subsection (sect2)
\end_layout
\begin_layout Subsubsection*
Star subsubsection (sect3)
\end_layout
\begin_layout Paragraph*
Star paragraph (sect4)
\end_layout
\begin_layout Subparagraph*
Star subparagraph (sect5)
\end_layout
\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "basic"
options "plain"
\end_inset
\end_layout
\end_body
\end_document