lyx_mirror/autotests/export/lyx2lyx/lyx_2_1_test.lyx
Kornel Benko 0519a70297 Make the lyx2lyx test-file 'lyx_2_1_test.lyx' compilable.
Inserted short German text to provoke loading its language feature
to babel.
2018-04-27 19:58:25 +02:00

409 lines
6.3 KiB
Plaintext

#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrartcl
\use_default_options false
\begin_modules
graphicboxes
initials
bicaption
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "lmodern" "default"
\font_sans "lmss" "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 true
\pdf_bookmarks false
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref section
\pdf_pdfusetitle true
\papersize a4paper
\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 false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Stichwortverzeichnis
\shortcut idx
\color #008000
\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 Subsection*
Test reversion/conversion between 2.1 and 2.0 formats with lyx2lyx
\end_layout
\begin_layout Section
Problems with
\family typewriter
convert_latexargs / revert_latexargs
\end_layout
\begin_layout Standard
\lang ngerman
Test
\end_layout
\begin_layout Description
empty
\begin_inset space ~
\end_inset
lines: round trips seem to add empty lines (check code in
\end_layout
\begin_deeper
\begin_layout Initial
\begin_inset Argument 1
status open
\begin_layout Plain Layout
lines=2, lhang=0.33, loversize=0.25
\end_layout
\end_inset
\begin_inset Argument 2
status open
\begin_layout Plain Layout
\begin_inset Formula $\mathcal{I}$
\end_inset
\end_layout
\end_inset
\begin_inset Argument 3
status open
\begin_layout Plain Layout
t was in the spring
\end_layout
\end_inset
of the year 1894 that all London was interested, and the fashionable world
dismayed, by the murder of the Honourable Ronald Adair under most unusual
and inexplicable circumstances.
\end_layout
\end_deeper
\begin_layout Description
GraphicBoxes module: conversion emits
\begin_inset Quotes eld
\end_inset
\family typewriter
Warning: Lyx2lyx knows nothing about module 'graphicboxes'.
Please check if short title insets have been converted correctly.
\family default
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
Arguments get number 999 and the second argument is gobbled in the following
example after some round-trips (tested with
\family typewriter
ctest -R lyx2lyx_2_1_test_lyx16).
\end_layout
\begin_layout Standard
This is a line
\begin_inset Flex Rotatebox
status open
\begin_layout Plain Layout
\begin_inset Argument 1
status open
\begin_layout Plain Layout
origin=r
\end_layout
\end_inset
\begin_inset Argument 2
status open
\begin_layout Plain Layout
-60
\end_layout
\end_inset
with rotated
\end_layout
\end_inset
text.
\end_layout
\end_deeper
\begin_layout Description
bicaption module:
\begin_inset Quotes eld
\end_inset
\family typewriter
Warning: Lyx2lyx knows nothing about module 'bicaption'.
Please check if short title insets have been converted correctly.
\family default
\begin_inset Quotes erd
\end_inset
:
\end_layout
\begin_deeper
\begin_layout Standard
Figure
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "fig:example-figure"
\end_inset
is an example of a figure float with a multilingual caption.
\end_layout
\begin_layout Caption setup
\begin_inset Argument 1
status open
\begin_layout Plain Layout
bi-second
\end_layout
\end_inset
lang=ngerman
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
specify the second language
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open
\begin_layout Plain Layout
\noindent
\align center
\begin_inset Box Boxed
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
use_makebox 0
width "50col%"
special "none"
height "1in"
height_special "totalheight"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status open
\begin_layout Plain Layout
A figure.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Caption Bicaption
\begin_layout Plain Layout
\begin_inset Argument 1
status open
\begin_layout Plain Layout
English short title
\end_layout
\end_inset
\begin_inset Argument 2
status open
\begin_layout Plain Layout
English Title
\end_layout
\end_inset
\begin_inset Argument 3
status open
\begin_layout Plain Layout
German short title
\end_layout
\end_inset
German Title
\begin_inset CommandInset label
LatexCommand label
name "fig:example-figure"
\end_inset
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Description
modernCV document class: examples/modernCV.lyx fails to compile after a round-tri
p to 2.0 format and back with
\begin_inset Quotes eld
\end_inset
\family typewriter
! LaTeX Error: Missing
\backslash
begin{document}.
\family default
\begin_inset Quotes erd
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
Export ctest
\begin_inset Quotes eld
\end_inset
export/examples/modernCV_lyx16
\begin_inset Quotes erd
\end_inset
fails due to
\begin_inset Quotes eld
\end_inset
infinite
\begin_inset Quotes erd
\end_inset
changes to OptArg insets.
\end_layout
\end_deeper
\end_body
\end_document