]> git.lyx.org Git - lyx.git/blob - autotests/export/lyx2lyx/lyx_2_2_test.lyx
lyx2lyx refactoring.
[lyx.git] / autotests / export / lyx2lyx / lyx_2_2_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 logicalmkup
11 \end_modules
12 \maintain_unincluded_children false
13 \language english
14 \language_package default
15 \inputencoding cp1252
16 \fontencoding global
17 \font_roman "lmodern" "default"
18 \font_sans "default" "default"
19 \font_typewriter "default" "default"
20 \font_math "auto" "auto"
21 \font_default_family default
22 \use_non_tex_fonts false
23 \font_sc false
24 \font_osf false
25 \font_sf_scale 100 100
26 \font_tt_scale 100 100
27 \use_microtype false
28 \use_dash_ligatures true
29 \graphics default
30 \default_output_format default
31 \output_sync 0
32 \bibtex_command default
33 \index_command default
34 \paperfontsize 12
35 \spacing single
36 \use_hyperref true
37 \pdf_bookmarks false
38 \pdf_bookmarksnumbered true
39 \pdf_bookmarksopen false
40 \pdf_bookmarksopenlevel 1
41 \pdf_breaklinks false
42 \pdf_pdfborder false
43 \pdf_colorlinks true
44 \pdf_backref false
45 \pdf_pdfusetitle false
46 \papersize default
47 \use_geometry false
48 \use_package amsmath 1
49 \use_package amssymb 1
50 \use_package cancel 1
51 \use_package esint 1
52 \use_package mathdots 0
53 \use_package mathtools 1
54 \use_package mhchem 1
55 \use_package stackrel 1
56 \use_package stmaryrd 1
57 \use_package undertilde 1
58 \cite_engine basic
59 \cite_engine_type default
60 \biblio_style plain
61 \use_bibtopic false
62 \use_indices false
63 \paperorientation portrait
64 \suppress_date false
65 \justification true
66 \use_refstyle 0
67 \use_minted 0
68 \index Index
69 \shortcut idx
70 \color #008000
71 \end_index
72 \secnumdepth 3
73 \tocdepth 2
74 \paragraph_separation skip
75 \defskip medskip
76 \is_math_indent 0
77 \math_numbering_side default
78 \quotes_style english
79 \dynamic_quotes 0
80 \papercolumns 1
81 \papersides 2
82 \paperpagestyle default
83 \tracking_changes false
84 \output_changes false
85 \html_math_output 0
86 \html_css_as_file 0
87 \html_be_strict false
88 \end_header
89
90 \begin_body
91
92 \begin_layout Subsection*
93 Test reversion/conversion between 2.2 and 2.1 formats with lyx2lyx
94 \end_layout
95
96 \begin_layout Description
97 colorbox: The word
98 \begin_inset Newline newline
99 \end_inset
100
101 shadowsize at start of a line did trigger insertion of box options.
102  
103 \end_layout
104
105 \begin_deeper
106 \begin_layout Standard
107 \begin_inset Box Boxed
108 position "t"
109 hor_pos "c"
110 has_inner_box 1
111 inner_pos "t"
112 use_parbox 0
113 use_makebox 0
114 width "40col%"
115 special "none"
116 height "1in"
117 height_special "totalheight"
118 thickness "0.4pt"
119 separation "3pt"
120 shadowsize "4pt"
121 framecolor "green"
122 backgroundcolor "orange"
123 status open
124
125 \begin_layout Plain Layout
126 simple green frame around orange box
127 \end_layout
128
129 \end_inset
130
131  
132 \begin_inset Box Frameless
133 position "t"
134 hor_pos "c"
135 has_inner_box 1
136 inner_pos "t"
137 use_parbox 0
138 use_makebox 0
139 width "40col%"
140 special "none"
141 height "1in"
142 height_special "totalheight"
143 thickness "0.4pt"
144 separation "3pt"
145 shadowsize "4pt"
146 framecolor "black"
147 backgroundcolor "cyan"
148 status open
149
150 \begin_layout Plain Layout
151 no frame around cyan box
152 \end_layout
153
154 \end_inset
155
156  
157 \begin_inset Newline newline
158 \end_inset
159
160  
161 \begin_inset Box Boxed
162 position "t"
163 hor_pos "c"
164 has_inner_box 1
165 inner_pos "t"
166 use_parbox 0
167 use_makebox 0
168 width "40col%"
169 special "none"
170 height "1in"
171 height_special "totalheight"
172 thickness "0.4pt"
173 separation "3pt"
174 shadowsize "4pt"
175 framecolor "black"
176 backgroundcolor "none"
177 status open
178
179 \begin_layout Plain Layout
180 no frame around cyan box
181 \end_layout
182
183 \end_inset
184
185  
186 \begin_inset Box ovalbox
187 position "t"
188 hor_pos "c"
189 has_inner_box 1
190 inner_pos "t"
191 use_parbox 0
192 use_makebox 0
193 width "40col%"
194 special "none"
195 height "1in"
196 height_special "totalheight"
197 thickness "0.4pt"
198 separation "3pt"
199 shadowsize "4pt"
200 framecolor "black"
201 backgroundcolor "none"
202 status open
203
204 \begin_layout Plain Layout
205 no frame around cyan box
206 \end_layout
207
208 \end_inset
209
210  
211 \begin_inset Newline newline
212 \end_inset
213
214
215 \begin_inset Box Shadowbox
216 position "t"
217 hor_pos "c"
218 has_inner_box 1
219 inner_pos "t"
220 use_parbox 0
221 use_makebox 0
222 width "40col%"
223 special "none"
224 height "1in"
225 height_special "totalheight"
226 thickness "0.4pt"
227 separation "3pt"
228 shadowsize "4pt"
229 framecolor "black"
230 backgroundcolor "none"
231 status open
232
233 \begin_layout Plain Layout
234 no frame around cyan box
235 \end_layout
236
237 \end_inset
238
239  
240 \begin_inset Box Ovalbox
241 position "t"
242 hor_pos "c"
243 has_inner_box 1
244 inner_pos "t"
245 use_parbox 0
246 use_makebox 0
247 width "40col%"
248 special "none"
249 height "1in"
250 height_special "totalheight"
251 thickness "0.4pt"
252 separation "3pt"
253 shadowsize "4pt"
254 framecolor "black"
255 backgroundcolor "none"
256 status open
257
258 \begin_layout Plain Layout
259 no frame around cyan box
260 \end_layout
261
262 \end_inset
263
264  
265 \begin_inset Newline newline
266 \end_inset
267
268
269 \begin_inset Box Shaded
270 position "t"
271 hor_pos "c"
272 has_inner_box 1
273 inner_pos "t"
274 use_parbox 0
275 use_makebox 0
276 width "40col%"
277 special "none"
278 height "1in"
279 height_special "totalheight"
280 thickness "0.4pt"
281 separation "3pt"
282 shadowsize "4pt"
283 framecolor "black"
284 backgroundcolor "none"
285 status open
286
287 \begin_layout Plain Layout
288 no frame around cyan box
289 \end_layout
290
291 \end_inset
292
293  
294 \begin_inset Box Doublebox
295 position "t"
296 hor_pos "c"
297 has_inner_box 1
298 inner_pos "t"
299 use_parbox 0
300 use_makebox 0
301 width "40col%"
302 special "none"
303 height "1in"
304 height_special "totalheight"
305 thickness "0.4pt"
306 separation "3pt"
307 shadowsize "4pt"
308 framecolor "black"
309 backgroundcolor "none"
310 status open
311
312 \begin_layout Plain Layout
313 no frame around cyan box
314 \end_layout
315
316 \end_inset
317
318  
319 \end_layout
320
321 \begin_layout Standard
322 The conversion must not change LyX code examples, e.
323 \begin_inset space \thinspace{}
324 \end_inset
325
326 g., for fancy frames:
327 \end_layout
328
329 \begin_layout LyX-Code
330
331 \backslash
332 usepackage{fancybox}
333 \end_layout
334
335 \begin_layout LyX-Code
336
337 \backslash
338 setlength{
339 \backslash
340 slideframewidth}{1pt}
341 \end_layout
342
343 \begin_layout LyX-Code
344
345 \backslash
346 slideframe[
347 \backslash
348 setlength{
349 \backslash
350 shadowsize}{1pt}]{shadow}
351 \end_layout
352
353 \end_deeper
354 \begin_layout Description
355 Hyphens vs.
356  dashes in different context
357 \end_layout
358
359 \begin_deeper
360 \begin_layout Description
361 standard
362 \begin_inset space ~
363 \end_inset
364
365 paragraph:
366 \end_layout
367
368 \begin_deeper
369 \begin_layout Standard
370 default font (serif): hyphens -- ---; en–dash, em—dash;
371 \end_layout
372
373 \begin_layout Standard
374
375 \family typewriter
376 typewriter: hyphens -- ---; en–dash, em—dash;
377 \end_layout
378
379 \begin_layout Standard
380 \begin_inset Flex Code
381 status open
382
383 \begin_layout Plain Layout
384 code inset: hyphens -- ---; en–dash, em—dash;
385 \end_layout
386
387 \end_inset
388
389
390 \end_layout
391
392 \begin_layout Standard
393 \begin_inset listings
394 inline false
395 status open
396
397 \begin_layout Plain Layout
398
399 listings: hyphens -- ---; en–dash, em—dash;
400 \end_layout
401
402 \end_inset
403
404
405 \end_layout
406
407 \begin_layout Standard
408 \begin_inset ERT
409 status open
410
411 \begin_layout Plain Layout
412
413 ERT: hyphens -- ---; en–dash, em—dash;
414 \end_layout
415
416 \end_inset
417
418
419 \end_layout
420
421 \begin_layout Standard
422 \begin_inset IPA
423
424 \begin_layout Standard
425 tipa: hyphens -- ---; en–dash, em—dash;
426 \end_layout
427
428 \end_inset
429
430
431 \end_layout
432
433 \end_deeper
434 \begin_layout Description
435 LyX-Code
436 \end_layout
437
438 \begin_deeper
439 \begin_layout LyX-Code
440 hyphens -- ---; en–dash, em—dash;
441 \end_layout
442
443 \end_deeper
444 \begin_layout Subsubsection
445 ligature breaks inserted by lyx2lyx 
446 \begin_inset CommandInset label
447 LatexCommand label
448 name "label--test"
449
450 \end_inset
451
452
453 \end_layout
454
455 \begin_layout Standard
456 Rows of hyphens on subsequent lines -- ---; en–dash, em—dash and more hyphens
457  -- ---.
458 \end_layout
459
460 \begin_layout Standard
461
462 \bar under
463 H
464 \bar default
465 yphens with explicit ligature breaks -\SpecialChar ligaturebreak
466 - -\SpecialChar ligaturebreak
467 -\SpecialChar ligaturebreak
468 -; en–dash, em—dash.
469 \end_layout
470
471 \begin_layout Labeling
472 \labelwidthstring ---.--
473 \noindent
474 List with hyphens in the marker and ref to section 
475 \begin_inset CommandInset ref
476 LatexCommand ref
477 reference "label--test"
478 plural "false"
479 caps "false"
480 noprefix "false"
481
482 \end_inset
483
484 .
485 \end_layout
486
487 \begin_layout Standard
488 Insets with hyphens: 
489 \begin_inset Index idx
490 status open
491
492 \begin_layout Plain Layout
493 stich--wort
494 \end_layout
495
496 \end_inset
497
498
499 \begin_inset Flex URL
500 status open
501
502 \begin_layout Plain Layout
503
504 URL--test
505 \end_layout
506
507 \end_inset
508
509  
510 \begin_inset CommandInset href
511 LatexCommand href
512 name "hyper--link"
513 target "hy--l"
514 literal "false"
515
516 \end_inset
517
518  
519 \begin_inset Formula $\ @{-->>}[r]$
520 \end_inset
521
522  
523 \begin_inset CommandInset nomenclature
524 LatexCommand nomenclature
525 symbol "--"
526 description "duble hyphen -- so"
527 literal "true"
528
529 \end_inset
530
531
532 \begin_inset CommandInset index_print
533 LatexCommand printindex
534 type "idx"
535 name "Index"
536 literal "true"
537
538 \end_inset
539
540
541 \end_layout
542
543 \begin_layout Standard
544 \begin_inset CommandInset nomencl_print
545 LatexCommand printnomenclature
546 set_width "auto"
547
548 \end_inset
549
550
551 \end_layout
552
553 \end_deeper
554 \end_body
555 \end_document