]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/languagenesting_enumerate_and_lyxcode.lyx
ctests: explore export failure of Math.lyx with Unicode fonts.
[lyx.git] / autotests / export / latex / languagenesting_enumerate_and_lyxcode.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 512
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass scrbook
8 \begin_preamble
9 % Präambel nicht verändern!!!
10 %
11 % Die Präambel stellt sicher, dass das Benutzerhandbuch korrekt
12 % in die Formate pdf, ps und dvi exportiert werden kann.
13 % Wenn Probleme beim Exportieren auftreten, können Sie sich
14 % an das LyX-Dokumentationsteam wenden.
15 % EMail: lyx-docs@lists.lyx.org
16
17 % Setzt den Link für Spruenge zu Gleitabbildungen
18 % auf den Anfang des Gelitobjekts und nicht aufs Ende
19 \usepackage[figure]{hypcap}
20
21 % Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
22 % ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
23 \let\myTOC\tableofcontents
24 \renewcommand\tableofcontents{%
25   \frontmatter
26   \pdfbookmark[1]{\contentsname}{}
27   \myTOC
28   \mainmatter }
29
30 \@ifpackageloaded{babel}{
31  % Linkfläche für Querverweise vergrößern und automatisch benennen,
32  \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
33  \addto\extrasngerman{%
34   \renewcommand*{\equationautorefname}[1]{}%
35   \renewcommand{\sectionautorefname}{Kap.\negthinspace}%
36   \renewcommand{\subsectionautorefname}{Kap.\negthinspace}%
37   \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}%
38  }
39 }{}
40 \end_preamble
41 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
42 \use_default_options false
43 \begin_modules
44 logicalmkup
45 \end_modules
46 \maintain_unincluded_children false
47 \language ngerman
48 \language_package default
49 \inputencoding auto
50 \fontencoding global
51 \font_roman "lmodern" "FreeSerif"
52 \font_sans "lmss" "default"
53 \font_typewriter "lmtt" "default"
54 \font_math "auto" "auto"
55 \font_default_family default
56 \use_non_tex_fonts true
57 \font_sc false
58 \font_osf false
59 \font_sf_scale 100 100
60 \font_tt_scale 100 100
61 \use_microtype false
62 \graphics default
63 \default_output_format pdf5
64 \output_sync 0
65 \bibtex_command default
66 \index_command default
67 \paperfontsize 12
68 \spacing single
69 \use_hyperref true
70 \pdf_title "LyX-Anpassung: Möglichkeiten für fortgeschrittene Benutzer"
71 \pdf_author "LyX Team, deutsche Übersetzung: Peter Sütterlin, Leif Albers und Hartmut Haase"
72 \pdf_subject "LyX-Dokumentation, Anpassung"
73 \pdf_keywords "LyX, Dokumentation"
74 \pdf_bookmarks true
75 \pdf_bookmarksnumbered true
76 \pdf_bookmarksopen true
77 \pdf_bookmarksopenlevel 1
78 \pdf_breaklinks false
79 \pdf_pdfborder false
80 \pdf_colorlinks true
81 \pdf_backref false
82 \pdf_pdfusetitle false
83 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
84 \papersize default
85 \use_geometry false
86 \use_package amsmath 0
87 \use_package amssymb 0
88 \use_package cancel 0
89 \use_package esint 0
90 \use_package mathdots 0
91 \use_package mathtools 0
92 \use_package mhchem 0
93 \use_package stackrel 0
94 \use_package stmaryrd 0
95 \use_package undertilde 0
96 \cite_engine basic
97 \cite_engine_type default
98 \biblio_style plain
99 \use_bibtopic false
100 \use_indices false
101 \paperorientation portrait
102 \suppress_date false
103 \justification true
104 \use_refstyle 0
105 \notefontcolor #0000ff
106 \branch OutDated
107 \selected 0
108 \filename_suffix 0
109 \color #faf0e6
110 \end_branch
111 \index Stichwortverzeichnis
112 \shortcut idx
113 \color #008000
114 \end_index
115 \secnumdepth 3
116 \tocdepth 3
117 \paragraph_separation indent
118 \paragraph_indentation default
119 \quotes_language german
120 \papercolumns 1
121 \papersides 2
122 \paperpagestyle headings
123 \tracking_changes false
124 \output_changes false
125 \html_math_output 0
126 \html_css_as_file 0
127 \html_be_strict false
128 \end_header
129
130 \begin_body
131
132 \begin_layout Title
133 \SpecialChar LyX
134 -Anpassung:
135 \begin_inset Newline newline
136 \end_inset
137
138 Möglichkeiten für fortgeschrittene Benutzer
139 \end_layout
140
141 \begin_layout Enumerate
142 Das Layout für eine flexible Einfügung wird definiert.
143  In diesem Fall muss 
144 \begin_inset Flex Code
145 status collapsed
146
147 \begin_layout Plain Layout
148 <Typ>
149 \end_layout
150
151 \end_inset
152
153  in der Form 
154 \lang english
155
156 \begin_inset Quotes gld
157 \end_inset
158
159
160 \begin_inset Flex Code
161 status collapsed
162
163 \begin_layout Plain Layout
164 Flex:<Name>
165 \end_layout
166
167 \end_inset
168
169
170 \begin_inset Quotes grd
171 \end_inset
172
173
174 \lang ngerman
175  sein, wobei 
176 \lang english
177
178 \begin_inset Flex Code
179 status collapsed
180
181 \begin_layout Plain Layout
182 Name
183 \end_layout
184
185 \end_inset
186
187
188 \lang ngerman
189  ein beliebiger gültiger Bezeichner sein kann, der in keiner anderen existierend
190 en Einfügung benutzt wird.
191  Der Bezeichner darf Leerzeichen enthalten, dann muss aber der komplette
192  Typ in Anführungszeichen gesetzt werden.
193  Beachten Sie, dass die Definition einer flexiblen Einfügung 
194 \emph on
195 auch
196 \emph default
197  einen 
198 \begin_inset Flex Code
199 status collapsed
200
201 \begin_layout Plain Layout
202 LyXType
203 \end_layout
204
205 \end_inset
206
207 -Eintrag enthalten muss, der festlegt welcher Einfügungstyp definiert wird.
208 \end_layout
209
210 \begin_layout Enumerate
211
212 \lang english
213 The layout for user specific branch is being defined.
214  In this case, 
215 \begin_inset Flex Code
216 status collapsed
217
218 \begin_layout Plain Layout
219
220 \lang english
221 <Typ>
222 \end_layout
223
224 \end_inset
225
226  must be of the form
227 \lang ngerman
228  
229 \begin_inset Quotes gld
230 \end_inset
231
232
233 \begin_inset Flex Code
234 status collapsed
235
236 \begin_layout Plain Layout
237 Branch:<Name>
238 \end_layout
239
240 \end_inset
241
242
243 \begin_inset Quotes grd
244 \end_inset
245
246
247 \lang english
248 where 
249 \begin_inset Flex Code
250 status collapsed
251
252 \begin_layout Plain Layout
253
254 \lang english
255 name
256 \end_layout
257
258 \end_inset
259
260  may be be any valid identifier of branch defined in user's document.
261  The identifier may include spaces, but in that case the whole thing must
262  be wrapped in quotes.
263  The main purpose of this feature is to allow \SpecialChar LaTeX
264  wrapping around specific
265  branches as user needs.
266 \end_layout
267
268 \begin_layout Enumerate
269
270 \lang english
271 The layout of a user (or class) specific caption is being defined.
272  In this case, 
273 \begin_inset Flex Code
274 status collapsed
275
276 \begin_layout Plain Layout
277
278 \lang english
279 <Typ>
280 \end_layout
281
282 \end_inset
283
284  must be of the form
285 \lang ngerman
286  
287 \begin_inset Quotes gld
288 \end_inset
289
290
291 \begin_inset Flex Code
292 status collapsed
293
294 \begin_layout Plain Layout
295 Caption:<Name>
296 \end_layout
297
298 \end_inset
299
300
301 \begin_inset Quotes grd
302 \end_inset
303
304
305 \lang english
306 where 
307 \begin_inset Flex Code
308 status collapsed
309
310 \begin_layout Plain Layout
311
312 \lang english
313 name
314 \end_layout
315
316 \end_inset
317
318  specifies the name of the caption as it appears in the menu.
319  Have a look at the standard caption (
320 \begin_inset Flex Code
321 status collapsed
322
323 \begin_layout Plain Layout
324
325 \lang english
326 Caption:Standard
327 \end_layout
328
329 \end_inset
330
331 ), the specific captions of the KOMA-Script classes (
332 \begin_inset Flex Code
333 status collapsed
334
335 \begin_layout Plain Layout
336
337 \lang english
338 Caption:Above
339 \end_layout
340
341 \end_inset
342
343
344 \begin_inset Flex Code
345 status collapsed
346
347 \begin_layout Plain Layout
348
349 \lang english
350 Caption:Below
351 \end_layout
352
353 \end_inset
354
355 ) oder das Modul 
356 \family sans
357 Multilingual
358 \begin_inset space ~
359 \end_inset
360
361 Captions
362 \family default
363  (
364 \begin_inset Flex Code
365 status collapsed
366
367 \begin_layout Plain Layout
368
369 \lang english
370 Caption:Bicaption
371 \end_layout
372
373 \end_inset
374
375 ) for applications.
376 \end_layout
377
378 \begin_layout Standard
379 Die 
380 \begin_inset Flex Code
381 status collapsed
382
383 \begin_layout Plain Layout
384 InsetLayout
385 \end_layout
386
387 \end_inset
388
389 -Definition kann folgende Einträge enthalten:
390 \end_layout
391
392 \begin_layout Description
393
394 \end_layout
395
396 \begin_layout Subsection
397
398 \lang english
399 Paragraph styles
400 \end_layout
401
402 \begin_layout Standard
403
404 \lang english
405 The sort of XHTML \SpecialChar LyX
406  outputs for a paragraph depends upon whether we are dealing
407  with a normal paragraph, a command, or an environment, where this is itself
408  determined by the contents of the corresponding 
409 \begin_inset Flex Code
410 status collapsed
411
412 \begin_layout Plain Layout
413
414 \lang english
415 \SpecialChar LaTeX
416 Type
417 \end_layout
418
419 \end_inset
420
421  tag.
422  
423 \end_layout
424
425 \begin_layout Standard
426
427 \lang english
428 For a command or normal paragraph, the output XHTML has the following form:
429 \end_layout
430
431 \begin_layout LyX-Code
432
433 \lang english
434 <tag attr=
435 \begin_inset Quotes erd
436 \end_inset
437
438 value
439 \begin_inset Quotes erd
440 \end_inset
441
442 >
443 \end_layout
444
445 \begin_layout LyX-Code
446
447 \lang english
448 <labeltag attr=
449 \begin_inset Quotes erd
450 \end_inset
451
452 value
453 \begin_inset Quotes erd
454 \end_inset
455
456 >Label</labeltag>
457 \end_layout
458
459 \begin_layout LyX-Code
460
461 \lang english
462 Contents of the paragraph.
463 \end_layout
464
465 \begin_layout LyX-Code
466
467 \lang english
468 </tag>
469 \end_layout
470
471 \begin_layout Standard
472
473 \lang english
474 The label tags are of course omitted if the paragraph does not have a label.
475 \end_layout
476
477 \begin_layout Standard
478
479 \lang english
480 For an environment that is not some sort of list, the XHTML takes this form:
481 \end_layout
482
483 \begin_layout LyX-Code
484
485 \lang english
486 <tag attr=
487 \begin_inset Quotes erd
488 \end_inset
489
490 value
491 \begin_inset Quotes erd
492 \end_inset
493
494 >
495 \end_layout
496
497 \begin_layout LyX-Code
498
499 \lang english
500 <itemtag attr=
501 \begin_inset Quotes erd
502 \end_inset
503
504 value
505 \begin_inset Quotes erd
506 \end_inset
507
508 ><labeltag attr=
509 \begin_inset Quotes erd
510 \end_inset
511
512 value
513 \begin_inset Quotes erd
514 \end_inset
515
516 >Environment Label</labeltag>First paragraph.</itemtag>
517 \end_layout
518
519 \begin_layout LyX-Code
520
521 \lang english
522 <itemtag>Second paragraph.</itemtag>
523 \end_layout
524
525 \begin_layout LyX-Code
526
527 \lang english
528 </tag>
529 \end_layout
530
531 \begin_layout Standard
532
533 \lang english
534 Note that the label is output only for the first paragraph, as it should
535  be for a theorem, for example.
536  
537 \end_layout
538
539 \begin_layout Standard
540
541 \lang english
542 For a list, we have one of these forms:
543 \end_layout
544
545 \begin_layout LyX-Code
546
547 \lang english
548 <tag attr=
549 \begin_inset Quotes erd
550 \end_inset
551
552 value
553 \begin_inset Quotes erd
554 \end_inset
555
556 >
557 \end_layout
558
559 \begin_layout LyX-Code
560
561 \lang english
562 <itemtag attr=
563 \begin_inset Quotes erd
564 \end_inset
565
566 value
567 \begin_inset Quotes erd
568 \end_inset
569
570 ><labeltag attr=
571 \begin_inset Quotes erd
572 \end_inset
573
574 value
575 \begin_inset Quotes erd
576 \end_inset
577
578 >List Label</labeltag>First item.</itemtag>
579 \end_layout
580
581 \begin_layout LyX-Code
582
583 \lang english
584 <itemtag attr=
585 \begin_inset Quotes erd
586 \end_inset
587
588 value
589 \begin_inset Quotes erd
590 \end_inset
591
592 ><labeltag attr=
593 \begin_inset Quotes erd
594 \end_inset
595
596 value
597 \begin_inset Quotes erd
598 \end_inset
599
600 >List Label</labeltag>Second item.</itemtag>
601 \end_layout
602
603 \begin_layout LyX-Code
604
605 \lang english
606 </tag>
607 \end_layout
608
609 \begin_layout LyX-Code
610
611 \end_layout
612
613 \begin_layout LyX-Code
614
615 \lang english
616 <tag attr=
617 \begin_inset Quotes erd
618 \end_inset
619
620 value
621 \begin_inset Quotes erd
622 \end_inset
623
624 >
625 \end_layout
626
627 \begin_layout LyX-Code
628
629 \lang english
630 <labeltag attr=
631 \begin_inset Quotes erd
632 \end_inset
633
634 value
635 \begin_inset Quotes erd
636 \end_inset
637
638 >List Label</labeltag><itemtag attr=
639 \begin_inset Quotes erd
640 \end_inset
641
642 value
643 \begin_inset Quotes erd
644 \end_inset
645
646 >First item.</itemtag>
647 \end_layout
648
649 \begin_layout LyX-Code
650
651 \lang english
652 <labeltag attr=
653 \begin_inset Quotes erd
654 \end_inset
655
656 value
657 \begin_inset Quotes erd
658 \end_inset
659
660 >List Label</labeltag><itemtag attr=
661 \begin_inset Quotes erd
662 \end_inset
663
664 value
665 \begin_inset Quotes erd
666 \end_inset
667
668 >Second item.</itemtag>
669 \end_layout
670
671 \begin_layout LyX-Code
672
673 \lang english
674 </tag>
675 \end_layout
676
677 \begin_layout Standard
678
679 \lang english
680 Note the different orders of 
681 \begin_inset Flex Code
682 status collapsed
683
684 \begin_layout Plain Layout
685
686 \lang english
687 labeltag
688 \end_layout
689
690 \end_inset
691
692  and 
693 \begin_inset Flex Code
694 status collapsed
695
696 \begin_layout Plain Layout
697
698 \lang english
699 itemtag
700 \end_layout
701
702 \end_inset
703
704 .
705  
706 \end_layout
707
708 \begin_layout Chapter
709 Namen von verfügbaren Farben für die Verwendung in Layout-Dateien
710 \begin_inset CommandInset label
711 LatexCommand label
712 name "chap:Namen-von-Farben"
713
714 \end_inset
715
716
717 \end_layout
718
719 \begin_layout Standard
720 Die hier aufgelisteten Farben sind die Standardfarben und die, die man in
721  den \SpecialChar LyX
722 -Voreinstellungen festlegen kann.
723 \end_layout
724
725 \begin_layout Description
726
727 \lang english
728 none
729 \lang ngerman
730  Keine spezielle Farbe – entfernt Farbe oder setzt Farbe auf Voreinstellung
731 \end_layout
732
733 \begin_layout Description
734
735 \lang english
736 black
737 \end_layout
738
739 \begin_layout Description
740
741 \lang english
742 white
743 \end_layout
744
745 \begin_layout Description
746
747 \lang english
748 red
749 \end_layout
750
751 \begin_layout Description
752
753 \lang english
754 green
755 \end_layout
756
757 \begin_layout Description
758
759 \lang english
760 urllabel Label color for URL insets
761 \end_layout
762
763 \begin_layout Description
764
765 \lang english
766 urltext Color for URL inset text
767 \end_layout
768
769 \end_body
770 \end_document