]> git.lyx.org Git - lyx.git/blob - autotests/export/lyx2lyx/lyx_2_1_test.lyx
lyx2lyx refactoring.
[lyx.git] / autotests / export / lyx2lyx / lyx_2_1_test.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass scrartcl
8 \use_default_options false
9 \begin_modules
10 graphicboxes
11 initials
12 bicaption
13 \end_modules
14 \maintain_unincluded_children false
15 \language english
16 \language_package default
17 \inputencoding utf8
18 \fontencoding global
19 \font_roman "lmodern" "default"
20 \font_sans "lmss" "default"
21 \font_typewriter "default" "default"
22 \font_math "auto" "auto"
23 \font_default_family default
24 \use_non_tex_fonts false
25 \font_sc false
26 \font_osf false
27 \font_sf_scale 100 100
28 \font_tt_scale 100 100
29 \use_microtype false
30 \use_dash_ligatures true
31 \graphics default
32 \default_output_format default
33 \output_sync 0
34 \bibtex_command default
35 \index_command default
36 \paperfontsize default
37 \spacing single
38 \use_hyperref true
39 \pdf_bookmarks false
40 \pdf_bookmarksnumbered false
41 \pdf_bookmarksopen false
42 \pdf_bookmarksopenlevel 1
43 \pdf_breaklinks false
44 \pdf_pdfborder true
45 \pdf_colorlinks true
46 \pdf_backref section
47 \pdf_pdfusetitle true
48 \papersize a4paper
49 \use_geometry false
50 \use_package amsmath 1
51 \use_package amssymb 1
52 \use_package cancel 1
53 \use_package esint 1
54 \use_package mathdots 1
55 \use_package mathtools 1
56 \use_package mhchem 1
57 \use_package stackrel 1
58 \use_package stmaryrd 1
59 \use_package undertilde 1
60 \cite_engine basic
61 \cite_engine_type default
62 \biblio_style plain
63 \use_bibtopic false
64 \use_indices false
65 \paperorientation portrait
66 \suppress_date false
67 \justification true
68 \use_refstyle 0
69 \use_minted 0
70 \index Stichwortverzeichnis
71 \shortcut idx
72 \color #008000
73 \end_index
74 \secnumdepth 3
75 \tocdepth 3
76 \paragraph_separation indent
77 \paragraph_indentation default
78 \is_math_indent 0
79 \math_numbering_side default
80 \quotes_style english
81 \dynamic_quotes 0
82 \papercolumns 1
83 \papersides 1
84 \paperpagestyle default
85 \tracking_changes false
86 \output_changes false
87 \html_math_output 0
88 \html_css_as_file 0
89 \html_be_strict false
90 \end_header
91
92 \begin_body
93
94 \begin_layout Subsection*
95 Test reversion/conversion between 2.1 and 2.0 formats with lyx2lyx
96 \end_layout
97
98 \begin_layout Section
99 Problems with 
100 \family typewriter
101 convert_latexargs / revert_latexargs
102 \end_layout
103
104 \begin_layout Description
105 empty
106 \begin_inset space ~
107 \end_inset
108
109 lines: round trips seem to add empty lines (check code in 
110 \end_layout
111
112 \begin_deeper
113 \begin_layout Initial
114 \begin_inset Argument 1
115 status open
116
117 \begin_layout Plain Layout
118 lines=2, lhang=0.33, loversize=0.25
119 \end_layout
120
121 \end_inset
122
123
124 \begin_inset Argument 2
125 status open
126
127 \begin_layout Plain Layout
128 \begin_inset Formula $\mathcal{I}$
129 \end_inset
130
131
132 \end_layout
133
134 \end_inset
135
136
137 \begin_inset Argument 3
138 status open
139
140 \begin_layout Plain Layout
141 t was in the spring
142 \end_layout
143
144 \end_inset
145
146  of the year 1894 that all London was interested, and the fashionable world
147  dismayed, by the murder of the Honourable Ronald Adair under most unusual
148  and inexplicable circumstances.
149 \end_layout
150
151 \end_deeper
152 \begin_layout Description
153 GraphicBoxes module: conversion emits 
154 \begin_inset Quotes eld
155 \end_inset
156
157
158 \family typewriter
159 Warning: Lyx2lyx knows nothing about module 'graphicboxes'.
160  Please check if short title insets have been converted correctly.
161  
162 \family default
163
164 \begin_inset Quotes eld
165 \end_inset
166
167
168 \end_layout
169
170 \begin_deeper
171 \begin_layout Standard
172 Arguments get number 999 and the second argument is gobbled in the following
173  example after some round-trips (tested with 
174 \family typewriter
175 ctest -R lyx2lyx_2_1_test_lyx16).
176 \end_layout
177
178 \begin_layout Standard
179 This is a line 
180 \begin_inset Flex Rotatebox
181 status open
182
183 \begin_layout Plain Layout
184 \begin_inset Argument 1
185 status open
186
187 \begin_layout Plain Layout
188 origin=r
189 \end_layout
190
191 \end_inset
192
193  
194 \begin_inset Argument 2
195 status open
196
197 \begin_layout Plain Layout
198 -60
199 \end_layout
200
201 \end_inset
202
203 with rotated
204 \end_layout
205
206 \end_inset
207
208  text.
209 \end_layout
210
211 \end_deeper
212 \begin_layout Description
213 bicaption module: 
214 \begin_inset Quotes eld
215 \end_inset
216
217
218 \family typewriter
219 Warning: Lyx2lyx knows nothing about module 'bicaption'.
220  Please check if short title insets have been converted correctly.
221 \family default
222
223 \begin_inset Quotes erd
224 \end_inset
225
226 :
227 \end_layout
228
229 \begin_deeper
230 \begin_layout Standard
231 Figure
232 \begin_inset space ~
233 \end_inset
234
235
236 \begin_inset CommandInset ref
237 LatexCommand ref
238 reference "fig:example-figure"
239
240 \end_inset
241
242  is an example of a figure float with a multilingual caption.
243 \end_layout
244
245 \begin_layout Caption setup
246
247 \begin_inset Argument 1
248 status open
249
250 \begin_layout Plain Layout
251
252 bi-second
253 \end_layout
254
255 \end_inset
256
257 lang=ngerman
258 \begin_inset Note Note
259 status collapsed
260
261 \begin_layout Plain Layout
262 specify the second language
263 \end_layout
264
265 \end_inset
266
267
268 \end_layout
269
270 \begin_layout Standard
271 \begin_inset Float figure
272 wide false
273 sideways false
274 status open
275
276 \begin_layout Plain Layout
277 \noindent
278 \align center
279 \begin_inset Box Boxed
280 position "t"
281 hor_pos "c"
282 has_inner_box 0
283 inner_pos "t"
284 use_parbox 0
285 use_makebox 0
286 width "50col%"
287 special "none"
288 height "1in"
289 height_special "totalheight"
290 thickness "0.4pt"
291 separation "3pt"
292 shadowsize "4pt"
293 framecolor "black"
294 backgroundcolor "none"
295 status open
296
297 \begin_layout Plain Layout
298 A figure.
299 \end_layout
300
301 \end_inset
302
303
304 \end_layout
305
306 \begin_layout Plain Layout
307 \begin_inset Caption Bicaption
308
309 \begin_layout Plain Layout
310 \begin_inset Argument 1
311 status open
312
313 \begin_layout Plain Layout
314 English short title
315 \end_layout
316
317 \end_inset
318
319
320 \begin_inset Argument 2
321 status open
322
323 \begin_layout Plain Layout
324 English Title
325 \end_layout
326
327 \end_inset
328
329
330 \begin_inset Argument 3
331 status open
332
333 \begin_layout Plain Layout
334 German short title
335 \end_layout
336
337 \end_inset
338
339 German Title
340 \begin_inset CommandInset label
341 LatexCommand label
342 name "fig:example-figure"
343
344 \end_inset
345
346
347 \end_layout
348
349 \end_inset
350
351
352 \end_layout
353
354 \end_inset
355
356
357 \end_layout
358
359 \end_deeper
360 \begin_layout Description
361 modernCV document class: examples/modernCV.lyx fails to compile after a round-tri
362 p to 2.0 format and back with 
363 \begin_inset Quotes eld
364 \end_inset
365
366
367 \family typewriter
368 ! LaTeX Error: Missing 
369 \backslash
370 begin{document}.
371 \family default
372
373 \begin_inset Quotes erd
374 \end_inset
375
376  
377 \end_layout
378
379 \begin_deeper
380 \begin_layout Standard
381 Export ctest 
382 \begin_inset Quotes eld
383 \end_inset
384
385 export/examples/modernCV_lyx16
386 \begin_inset Quotes erd
387 \end_inset
388
389  fails due to 
390 \begin_inset Quotes eld
391 \end_inset
392
393 infinite
394 \begin_inset Quotes erd
395 \end_inset
396
397  changes to OptArg insets.
398 \end_layout
399
400 \end_deeper
401 \end_body
402 \end_document