]> git.lyx.org Git - features.git/blob - lib/doc/de/Customization.lyx
b9a93547829f3115b3edc07af39e4680767f2919
[features.git] / lib / doc / de / Customization.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % Präambel nicht verändern!!!
8 %
9 % Die Präambel stellt sicher, dass das Benutzerhandbuch korrekt
10 % in die Formate pdf, ps und dvi exportiert werden kann.
11 % Wenn Probleme beim Exportieren auftreten, können Sie sich
12 % an das LyX-Dokumentationsteam wenden.
13 % EMail: lyx-docs@lists.lyx.org
14
15 % wenn pdflatex benutzt wird:
16 \usepackage{ifpdf}
17 \ifpdf
18
19  % Schrift für hübschere PDF-Ansichten
20  \IfFileExists{lmodern.sty}
21   {\usepackage{lmodern}}{}
22
23 \fi % Ende von: wenn pdflatex benutzt wird
24
25 % Setzt den Link für Spruenge zu Gleitabbildungen
26 % auf den Anfang des Gelitobjekts und nicht aufs Ende
27 \usepackage[figure]{hypcap}
28
29 % Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
30 % ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
31 \let\myTOC\tableofcontents
32 \renewcommand\tableofcontents{%
33   \frontmatter
34   \pdfbookmark[1]{\contentsname}{}
35   \myTOC
36   \mainmatter }
37 \end_preamble
38 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
40 \begin_modules
41 logicalmkup
42 \end_modules
43 \maintain_unincluded_children false
44 \begin_local_layout
45 Format 7
46 InsetLayout CharStyle:MenuItem
47 LyxType               charstyle
48 LabelString           menu
49 LatexType             command
50 LatexName             menuitem
51 Font
52 Family              Sans
53 EndFont
54 Preamble
55 \newcommand*{\menuitem}[1]{{\sffamily #1}}
56 EndPreamble
57 End
58 # In case we need to do with sans...
59 #InsetLayout CharStyle:Code
60 #Font
61 #Family              Sans
62 #EndFont
63 #Preamble
64 #\renewcommand{\code}[1]{{\sffamily #1}}
65 #EndPreamble
66 #End
67 \end_local_layout
68 \language ngerman
69 \language_package default
70 \inputencoding auto
71 \fontencoding global
72 \font_roman default
73 \font_sans default
74 \font_typewriter default
75 \font_default_family default
76 \use_non_tex_fonts false
77 \font_sc false
78 \font_osf false
79 \font_sf_scale 100
80 \font_tt_scale 100
81
82 \graphics default
83 \default_output_format default
84 \output_sync 0
85 \bibtex_command default
86 \index_command default
87 \paperfontsize 12
88 \spacing single
89 \use_hyperref true
90 \pdf_title "LyX-Anpassung: Möglichkeiten für fortgeschrittene Benutzer"
91 \pdf_author "LyX Team, deutsche Übersetzung: Peter Sütterlin, Leif Albers und Hartmut Haase"
92 \pdf_subject "LyX-Dokumentation, Anpassung"
93 \pdf_keywords "LyX, Dokumentation"
94 \pdf_bookmarks true
95 \pdf_bookmarksnumbered true
96 \pdf_bookmarksopen false
97 \pdf_bookmarksopenlevel 1
98 \pdf_breaklinks false
99 \pdf_pdfborder false
100 \pdf_colorlinks true
101 \pdf_backref false
102 \pdf_pdfusetitle false
103 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
104 \papersize default
105 \use_geometry false
106 \use_amsmath 0
107 \use_esint 0
108 \use_mhchem 0
109 \use_mathdots 0
110 \cite_engine basic
111 \use_bibtopic false
112 \use_indices false
113 \paperorientation portrait
114 \suppress_date false
115 \use_refstyle 0
116 \branch OutDated
117 \selected 0
118 \filename_suffix 0
119 \color #faf0e6
120 \end_branch
121 \index Stichwortverzeichnis
122 \shortcut idx
123 \color #008000
124 \end_index
125 \secnumdepth 3
126 \tocdepth 3
127 \paragraph_separation indent
128 \paragraph_indentation default
129 \quotes_language german
130 \papercolumns 1
131 \papersides 2
132 \paperpagestyle headings
133 \tracking_changes false
134 \output_changes false
135 \html_math_output 0
136 \html_css_as_file 0
137 \html_be_strict false
138 \end_header
139
140 \begin_body
141
142 \begin_layout Title
143 LyX-Anpassung:
144 \begin_inset Newline newline
145 \end_inset
146
147 Möglichkeiten für fortgeschrittene Benutzer
148 \end_layout
149
150 \begin_layout Author
151 vom LyX-Team
152 \begin_inset Foot
153 status collapsed
154
155 \begin_layout Plain Layout
156 Übersetzung: 
157 \noun on
158 Peter Sütterlin
159 \noun default
160
161 \noun on
162 Leif Albers
163 \noun default
164  und 
165 \noun on
166 Hartmut
167 \noun default
168  
169 \noun on
170 Haase
171 \noun default
172  (
173 \noun on
174 HHa
175 \noun default
176 , bis März 2010).
177 \end_layout
178
179 \end_inset
180
181
182 \begin_inset Newline newline
183 \end_inset
184
185
186 \begin_inset Newline newline
187 \end_inset
188
189 Version 2.0.x
190 \end_layout
191
192 \begin_layout Standard
193 \begin_inset CommandInset toc
194 LatexCommand tableofcontents
195
196 \end_inset
197
198
199 \end_layout
200
201 \begin_layout Chapter
202 Einleitung
203 \end_layout
204
205 \begin_layout Standard
206 In diesem Teil der Dokumentation wird beschrieben, welche Möglichkeiten
207  LyX bietet, um es den eigenen Wünschen anzupassen.
208  Es werden Dinge wie Tastaturkürzel, Vorschau am Bildschirm, Optionen zum
209  Drucken, das Senden von Befehlen an LyX durch den LyX-Server, Internationalisie
210 rung, Installation neuer LaTeX-Klassen und LyX-Layouts usw.
211 \begin_inset space \space{}
212 \end_inset
213
214 behandelt.
215  Es kann hier nicht alles beschrieben werden, das an LyX individuell eingestellt
216  und verändert werden kann --- die Entwickler fügen Neuerungen schneller
217  ein, als wir sie dokumentieren können --- doch werden die grundlegenden
218  Fähigkeiten von LyX dokumentiert sowie für einige der etwas obskuren Hinweise
219  gegeben.
220 \end_layout
221
222 \begin_layout Standard
223 Mit der Version 1.1.6 von LyX wurde eine neue Schnittstelle zu den konfigurierbare
224 n Eigenschaften eingeführt, die Sie über den Menüpunkt 
225 \family sans
226 Werkzeuge\SpecialChar \menuseparator
227 Einstellungen
228 \family default
229 \SpecialChar \ldots{}
230  aufrufen können.
231  Diese macht die weiter unten aufgeführten Erläuterungen zu den Konfigurationsda
232 teien von LyX nicht überflüssig, aber es vereinfacht doch den Prozess, LyX
233  an 
234 \emph on
235 Ihre
236 \emph default
237  Bedürfnisse anzupassen.
238 \end_layout
239
240 \begin_layout Chapter
241 Die Konfigurationsdateien von LyX
242 \end_layout
243
244 \begin_layout Standard
245 Dieses Kapitel soll Ihnen dabei helfen, sich mit den Konfigurationsdateien
246  von LyX vertraut zu machen.
247  Bevor Sie jedoch weiterlesen, sollten Sie herausfinden, wo sich das Systemverze
248 ichnis von LyX auf Ihrem Rechner befindet.
249  Sie erfahren dies über den Menüpunkt 
250 \family sans
251 Hilfe\SpecialChar \menuseparator
252 Über
253 \begin_inset space ~
254 \end_inset
255
256 Ly
257 \begin_inset ERT
258 status collapsed
259
260 \begin_layout Plain Layout
261
262 {}
263 \end_layout
264
265 \end_inset
266
267 X
268 \family default
269 .
270  In diesem Verzeichnis speichert LyX alle systemweiten Konfigurationsdateien,
271  wir werden es im weiteren 
272 \family typewriter
273 Ly
274 \begin_inset ERT
275 status collapsed
276
277 \begin_layout Plain Layout
278
279 {}
280 \end_layout
281
282 \end_inset
283
284 XDir
285 \family default
286  nennen.
287 \end_layout
288
289 \begin_layout Section
290 Was befindet sich in 
291 \family typewriter
292 Ly
293 \begin_inset ERT
294 status collapsed
295
296 \begin_layout Plain Layout
297
298 {}
299 \end_layout
300
301 \end_inset
302
303 XDir
304 \family default
305 ?
306 \end_layout
307
308 \begin_layout Standard
309 Das Verzeichnis 
310 \family typewriter
311 Ly
312 \begin_inset ERT
313 status collapsed
314
315 \begin_layout Plain Layout
316
317 {}
318 \end_layout
319
320 \end_inset
321
322 XDir
323 \family default
324  sowie seine Unterverzeichnisse enthalten eine Anzahl Dateien, mit denen
325  das Verhalten von LyX beeinflusst werden kann.
326  Diese Dateien können direkt von LyX aus über den Dialog 
327 \family sans
328 Werkzeuge\SpecialChar \menuseparator
329 Einstellungen
330 \family default
331 \SpecialChar \ldots{}
332  gelesen und geändert werden.
333  Fast alles, was Sie möglicherweise an LyX ändern wollen, können Sie hier
334  einstellen.
335  Jedoch können auch viele interne Dinge in LyX angepasst werden, indem man
336  diverse andere Dateien in 
337 \family typewriter
338 Ly
339 \begin_inset ERT
340 status collapsed
341
342 \begin_layout Plain Layout
343
344 {}
345 \end_layout
346
347 \end_inset
348
349 XDir
350 \family default
351  verändert.
352  Sie sind in verschiedene Kategorien unterteilt, die in den folgenden Unterabsch
353 nitten behandelt werden.
354 \end_layout
355
356 \begin_layout Subsection
357 Automatisch erzeugte Dateien
358 \end_layout
359
360 \begin_layout Standard
361 Diese Dateien werden automatisch bei der Konfiguration von LyX erzeugt.
362  Sie enthalten verschiedene Standardwerte, die durch Untersuchung des Systems
363  ermittelt werden.
364  Normalerweise sollte man sie nicht verändern, da sie jederzeit von LyX
365  überschrieben werden können.
366 \end_layout
367
368 \begin_layout Labeling
369 \labelwidthstring 00.00.0000
370
371 \family typewriter
372 \series medium
373 lyxrc.defaults
374 \family default
375 \series default
376  enthält Standardwerte für diverse Befehle.
377  Einstellungen, die Ihnen nicht zusagen, können einfach über 
378 \family sans
379 Werkzeuge\SpecialChar \menuseparator
380 Einstellungen
381 \family default
382 \SpecialChar \ldots{}
383  verändert werden.
384 \end_layout
385
386 \begin_layout Labeling
387 \labelwidthstring 00.00.0000
388
389 \family typewriter
390 \series medium
391 packages.lst
392 \family default
393 \series default
394  enthält eine Auf\SpecialChar \textcompwordmark{}
395 listung aller LaTeX-Pakete, die von LyX erkannt wurden.
396  Derzeit wird diese Liste von LyX selber nicht benutzt, jedoch ist die Informati
397 on, zusammen mit einigem anderen, über den Menüpunkt 
398 \family sans
399 Hilfe\SpecialChar \menuseparator
400 LaTe
401 \family default
402
403 \begin_inset ERT
404 status collapsed
405
406 \begin_layout Plain Layout
407
408 {}
409 \end_layout
410
411 \end_inset
412
413
414 \family sans
415 X
416 \begin_inset space \space{}
417 \end_inset
418
419 Konfiguration
420 \family default
421  zugänglich.
422 \end_layout
423
424 \begin_layout Labeling
425 \labelwidthstring 00.00.0000
426
427 \family typewriter
428 \series medium
429 textclass.lst
430 \family default
431 \series default
432  ist eine Liste mit den im Verzeichnis 
433 \family typewriter
434 layout
435 \family default
436  gefundenen Textklassen, zusammen mit den entsprechenden LaTeX-Dokumentenklassen
437  und einer kurzen Beschreibung.
438 \end_layout
439
440 \begin_layout Labeling
441 \labelwidthstring 00.00.0000
442
443 \family typewriter
444 doc/LaTe
445 \begin_inset ERT
446 status collapsed
447
448 \begin_layout Plain Layout
449
450 {}
451 \end_layout
452
453 \end_inset
454
455 XConfig.lyx
456 \family default
457  wird bei der Konfiguration aus der Datei 
458 \family typewriter
459 LaTe
460 \begin_inset ERT
461 status collapsed
462
463 \begin_layout Plain Layout
464
465 {}
466 \end_layout
467
468 \end_inset
469
470 XConfig.
471 \begin_inset Newline linebreak
472 \end_inset
473
474 lyx.in
475 \family default
476  erzeugt.
477  Jeder Eintrag der Form 
478 \family typewriter
479 @chk_bla@
480 \family default
481  wird dabei durch 
482 \emph on
483 yes
484 \emph default
485  oder 
486 \emph on
487 no
488 \emph default
489  ersetzt, je nachdem, ob das Paket 
490 \family typewriter
491 bla
492 \family default
493  gefunden wurde.
494 \end_layout
495
496 \begin_layout Subsection
497 Verzeichnisse
498 \end_layout
499
500 \begin_layout Labeling
501 \labelwidthstring 00.00.0000
502
503 \family typewriter
504 \series medium
505 bind/
506 \family default
507 \series default
508  Dieses Verzeichnis enthält Dateien mit der Endung 
509 \family typewriter
510 .bind
511 \family default
512 .
513  In ihnen werden die Tastenkombinationen festgelegt, mit denen Sie Menüs
514  öffnen und Bearbeitungsoperationen direkt starten können.
515  Falls eine Datei 
516 \family typewriter
517 $LANG_xxx.bind
518 \family default
519  mit einer an die internationalisierte Version von LyX angepassten Tastenbelegun
520 g existiert, wird diese bevorzugt geladen.
521  Näheres dazu finden Sie in Kapitel
522 \begin_inset space \space{}
523 \end_inset
524
525
526 \begin_inset CommandInset ref
527 LatexCommand vref
528 reference "cha:Internationales-LyX"
529
530 \end_inset
531
532 .
533 \end_layout
534
535 \begin_layout Labeling
536 \labelwidthstring 00.00.0000
537
538 \family typewriter
539 \series medium
540 clipart/
541 \family default
542 \series default
543  Hier sind einige PostScript-Bilder gespeichert, die Sie in Ihre Dokumente
544  einbinden können.
545  
546 \end_layout
547
548 \begin_layout Labeling
549 \labelwidthstring 00.00.0000
550
551 \family typewriter
552 \series medium
553 doc/
554 \family default
555 \series default
556  Enthält die Dateien der LyX-Dokumentation (einschließlich der, die Sie
557  gerade lesen).
558  Eine kleine Ausnahmestellung hat die bereits beschriebene Datei 
559 \family typewriter
560 LaTe
561 \begin_inset ERT
562 status collapsed
563
564 \begin_layout Plain Layout
565
566 {}
567 \end_layout
568
569 \end_inset
570
571 XConfig.lyx
572 \family default
573 .
574  Auch hier wird eine übersetzte Version mit dem Vorsatz 
575 \family typewriter
576 $LANG_
577 \family default
578  vor dem Dateinamen zuerst gesucht und, falls vorhanden, geladen.
579  Siehe dazu Kapitel
580 \begin_inset space ~
581 \end_inset
582
583
584 \begin_inset CommandInset ref
585 LatexCommand vref
586 reference "cha:Internationales-LyX"
587
588 \end_inset
589
590 .
591 \end_layout
592
593 \begin_layout Labeling
594 \labelwidthstring 00.00.0000
595
596 \family typewriter
597 \series medium
598 examples/
599 \family default
600 \series default
601  Enthält Beispieldateien, die erläutern, wie Sie die unterschiedlichen Möglichke
602 iten von LyX nutzen können.
603  Verwenden Sie die Schaltfläche 
604 \family sans
605 Beispiele
606 \family default
607  im Dateiauswahlmenü, um in dieses Verzeichnis zu gelangen.
608 \end_layout
609
610 \begin_layout Labeling
611 \labelwidthstring 00.00.0000
612
613 \family typewriter
614 images/[math/]
615 \family default
616  Enthält Bilddateien, die von der Dialogbox 
617 \family sans
618 Aufzählungszeichen
619 \family default
620  im Menü 
621 \family sans
622 Do\SpecialChar \-
623 ku\SpecialChar \-
624 ment
625 \family default
626 \SpecialChar \menuseparator
627
628 \family sans
629 Einstellungen
630 \family default
631  benötigt werden.
632  Außerdem finden Sie hier die unterschiedlichen Icons für die Werkzeugleiste
633  und das Bild für den Startbildschirm.
634 \end_layout
635
636 \begin_layout Labeling
637 \labelwidthstring 00.00.0000
638
639 \family typewriter
640 \series medium
641 kbd/
642 \family default
643 \series default
644  Hier sind die Definitionsdateien für die Tastaturbelegung gespeichert.
645  Näheres dazu finden Sie im Abschnitt
646 \begin_inset space \space{}
647 \end_inset
648
649
650 \begin_inset CommandInset ref
651 LatexCommand ref
652 reference "sec:Internationale-Tastaturtabellen"
653
654 \end_inset
655
656 .
657 \end_layout
658
659 \begin_layout Labeling
660 \labelwidthstring 00.00.0000
661
662 \family typewriter
663 \series medium
664 layouts/
665 \family default
666 \series default
667  Hier werden die in Abschnitt
668 \begin_inset space \space{}
669 \end_inset
670
671
672 \begin_inset CommandInset ref
673 LatexCommand ref
674 reference "cha:Installieren-neuer-Textklassen"
675
676 \end_inset
677
678  beschriebenen Layoutdateien für die unterschiedlichen Dokumentenklassen
679  gespeichert.
680 \end_layout
681
682 \begin_layout Labeling
683 \labelwidthstring 00.00.0000
684
685 \family typewriter
686 lyx2lyx
687 \family default
688 / Enthält Dateien, die für die Konvertierung zwischen verschiedenen LyX
689 \begin_inset ERT
690 status collapsed
691
692 \begin_layout Plain Layout
693
694 "=
695 \end_layout
696
697 \end_inset
698
699 Versionen benötigt werden.
700 \end_layout
701
702 \begin_layout Labeling
703 \labelwidthstring 00.00.0000
704
705 \family typewriter
706 scripts
707 \family default
708 /
709 \end_layout
710
711 \begin_layout Labeling
712 \labelwidthstring 00.00.0000
713
714 \family typewriter
715 templates
716 \family default
717 / Enthält die Vorlagendateien, die Ihnen bei 
718 \family sans
719 Datei\SpecialChar \menuseparator
720 Neu
721 \begin_inset space \space{}
722 \end_inset
723
724 von
725 \begin_inset space \space{}
726 \end_inset
727
728 Vorlage
729 \family default
730  präsentiert werden, siehe Abschnitt
731 \begin_inset space ~
732 \end_inset
733
734
735 \begin_inset CommandInset ref
736 LatexCommand ref
737 reference "sub:Vorlagen-erstellen"
738
739 \end_inset
740
741 .
742 \end_layout
743
744 \begin_layout Labeling
745 \labelwidthstring 00.00.0000
746
747 \family typewriter
748 tex/
749 \family default
750  Einige LyX-spezifische LaTeX-Textklassen- (
751 \family typewriter
752 .cls
753 \family default
754 ) und -Stildateien
755 \begin_inset Newline linebreak
756 \end_inset
757
758  (.
759 \family typewriter
760 sty
761 \family default
762 ).
763 \end_layout
764
765 \begin_layout Labeling
766 \labelwidthstring 00.00.0000
767
768 \family typewriter
769 ui/
770 \family default
771  Hier finden Sie Dateien mit der Endung 
772 \family typewriter
773 .ui
774 \family default
775 , die die Benutzerschnitt\SpecialChar \-
776 stel\SpecialChar \-
777 le von LyX festlegen, also welche Einträge
778  in welchen Menüs sind, und wie die Werkzeugleiste zusammengesetzt ist.
779 \end_layout
780
781 \begin_layout Subsection
782 Dateien, die Sie nicht verändern sollten
783 \end_layout
784
785 \begin_layout Standard
786 Die folgenden Dateien werden intern von LyX verwendet.
787  Sie sollten im Normalfall nur von den Entwicklern editiert werden.
788 \end_layout
789
790 \begin_layout Labeling
791 \labelwidthstring 00.00.0000
792
793 \family typewriter
794 \series medium
795 CREDITS
796 \family default
797 \series default
798  Diese Datei enthält eine Liste der Entwickler.
799  Ihr Inhalt wird über die Menüauswahl 
800 \family sans
801 Hilfe\SpecialChar \menuseparator
802 Über
803 \begin_inset space \space{}
804 \end_inset
805
806 Ly
807 \family default
808
809 \begin_inset ERT
810 status collapsed
811
812 \begin_layout Plain Layout
813
814 {}
815 \end_layout
816
817 \end_inset
818
819
820 \family sans
821 X
822 \family default
823  angezeigt.
824 \end_layout
825
826 \begin_layout Labeling
827 \labelwidthstring 00.00.0000
828
829 \family typewriter
830 \series medium
831 chkconfig.ltx
832 \family default
833 \series default
834  ist ein LaTeX-Skript, das bei der Konfiguration verwendet wird.
835  Starten Sie es nie direkt.
836 \end_layout
837
838 \begin_layout Labeling
839 \labelwidthstring 00.00.0000
840
841 \family typewriter
842 \series medium
843 configure
844 \family default
845 \series default
846  ist das eigentliche Skript, das zur Neukonfiguration von LyX verwendet
847  wird.
848  Es erzeugt die Konfigurationsdateien in dem Verzeichnis, von dem aus es
849  aufgerufen wurde.
850 \end_layout
851
852 \begin_layout Subsection
853 Andere Dateien
854 \end_layout
855
856 \begin_layout Labeling
857 \labelwidthstring 00.00.0000
858
859 \family typewriter
860 encodings
861 \family default
862  Die hier enthaltene Tabelle beschreibt, wie die unterschiedlichen Zeichenkodier
863 ungen in Unicode dargestellt werden.
864 \end_layout
865
866 \begin_layout Labeling
867 \labelwidthstring 00.00.0000
868
869 \family typewriter
870 external_templates
871 \family default
872  Diese Datei enthält die Vorlagen für das neue 
873 \family sans
874 Externes
875 \begin_inset space \space{}
876 \end_inset
877
878 Material
879 \family default
880 -Modul.
881  Siehe dazu Kapitel
882 \begin_inset space \space{}
883 \end_inset
884
885
886 \begin_inset CommandInset ref
887 LatexCommand vref
888 reference "cha:Externes-Material-einfügen"
889
890 \end_inset
891
892
893 \end_layout
894
895 \begin_layout Labeling
896 \labelwidthstring 00.00.0000
897
898 \family typewriter
899 languages
900 \family default
901  Eine Liste mit allen derzeit von LyX unterstützten Sprachen.
902 \end_layout
903
904 \begin_layout Labeling
905 \labelwidthstring 00.00.0000
906
907 \family typewriter
908 lyxrc.example
909 \family default
910  Veraltet.
911 \end_layout
912
913 \begin_layout Section
914 Das lokale Konfigurationsverzeichnis
915 \end_layout
916
917 \begin_layout Standard
918 Eventuell benutzen Sie LyX als normaler Benutzer und wollen dennoch einige
919  Einstellungen der Konfiguration ändern.
920  Zu diesem Zweck gibt es ein benutzereigenes Verzeichnis 
921 \family typewriter
922 UserDir
923 \family default
924 , in dem Ihre gesamte persönliche Konfiguration gespeichert wird.
925  Der Name dieses Verzeichnisses wird als 
926 \emph on
927 Benutzerverzeichnis
928 \emph default
929  in 
930 \family sans
931 Hilfe\SpecialChar \menuseparator
932 Über
933 \begin_inset space \space{}
934 \end_inset
935
936 Ly
937 \begin_inset ERT
938 status collapsed
939
940 \begin_layout Plain Layout
941
942 {}
943 \end_layout
944
945 \end_inset
946
947 X
948 \family default
949  angezeigt.
950  Dieses Verzeichnis wird als Spiegelung des systemweiten Verzeichnisses
951  verwendet.
952  Das bedeutet, dass jede Datei, die Sie dort speichern, die entsprechende
953  Datei im Systemverzeichnis ersetzt.
954  Jede der im vorigen Abschnitt beschriebenen Konfigurationsdateien kann
955  sich entweder im Systemverzeichnis 
956 \family typewriter
957 Ly
958 \begin_inset ERT
959 status collapsed
960
961 \begin_layout Plain Layout
962
963 {}
964 \end_layout
965
966 \end_inset
967
968 XDir
969 \family default
970  oder aber in Ihrem privaten Verzeichnis befinden.
971  Im ersten Fall gelten die Einstellungen für alle Benutzer, im zweiten Fall
972  nur für Sie.
973 \end_layout
974
975 \begin_layout Standard
976 Dies lässt sich an einigen Beispielen leichter erklären:
977 \end_layout
978
979 \begin_layout Itemize
980 Um eine LyX Version älter als 1.1.6 umzukonfigurieren, musste der Benutzer
981  zunächst die Datei 
982 \begin_inset Flex URL
983 status collapsed
984
985 \begin_layout Plain Layout
986
987 LyXDir/lyxrc.example
988 \end_layout
989
990 \end_inset
991
992
993 \begin_inset Note Note
994 status collapsed
995
996 \begin_layout Plain Layout
997 HHa: wie bereits im Benutzerhandbuch erwähnt, ist URL eine einfache Möglichkeit,
998  um Schreibmaschinenformat umzubrechen.
999 \end_layout
1000
1001 \end_inset
1002
1003  nach 
1004 \family typewriter
1005 UserDir/lyxrc
1006 \family default
1007  kopieren und diese dann manuell editieren.
1008  Neuere Versionen von LyX lesen diese Datei zwar noch, wenn sie in 
1009 \family typewriter
1010 UserDir
1011 \family default
1012  gefunden wird, aber alle Änderungen, die über den neuen Dialog 
1013 \family sans
1014 Werkzeuge\SpecialChar \menuseparator
1015 Einstellungen
1016 \family default
1017 \SpecialChar \ldots{}
1018  gemacht werden, werden in der Datei 
1019 \family typewriter
1020 preferences
1021 \family default
1022  gespeichert.
1023  Danach (das heißt wenn 
1024 \family typewriter
1025 preferences
1026 \family default
1027  gefunden wird) wird die alte 
1028 \family typewriter
1029 lyxrc
1030 \family default
1031  nicht mehr eingelesen und kann gelöscht werden.
1032  
1033 \end_layout
1034
1035 \begin_layout Itemize
1036 Wenn Sie mit dem Menüpunkt 
1037 \family sans
1038 Werkzeuge\SpecialChar \menuseparator
1039 Neu
1040 \begin_inset space \space{}
1041 \end_inset
1042
1043 konfigurieren
1044 \family default
1045  eine Neukonfiguration von LyX durchführen, werden die dabei erzeugten Dateien
1046  in Ihrem privaten Konfigurationsverzeichnis 
1047 \family typewriter
1048 UserDir
1049 \family default
1050  gespeichert.
1051  Das bedeutet, dass ab sofort etwaige neue Dokumentenklassen, die Sie in
1052  Ihrem Verzeichnis 
1053 \family typewriter
1054 UserDir/layouts
1055 \family default
1056  gespeichert haben, im Feld 
1057 \family sans
1058 Dokumentklasse
1059 \family default
1060  des Dialoges 
1061 \family sans
1062 Dokument
1063 \family default
1064 \SpecialChar \menuseparator
1065
1066 \family sans
1067 Einstellungen
1068 \family default
1069 \SpecialChar \ldots{}
1070  erscheinen.
1071 \end_layout
1072
1073 \begin_layout Itemize
1074 Falls Sie irgendwelche Dateien für neue LaTeX-Dokumentenklassen in einem
1075  Verzeichnis installiert haben, das LaTeX über die Umgebungsvariable 
1076 \family typewriter
1077 TEX\SpecialChar \-
1078 IN\SpecialChar \-
1079 PUTS
1080 \family default
1081  findet, können auch diese in LyX verwendet werden.
1082 \begin_inset Foot
1083 status collapsed
1084
1085 \begin_layout Plain Layout
1086 vorausgesetzt, es gibt auch eine 
1087 \family typewriter
1088 .layout
1089 \family default
1090 -Datei dafür.
1091 \end_layout
1092
1093 \end_inset
1094
1095
1096 \end_layout
1097
1098 \begin_layout Itemize
1099 Wenn Sie sich von einem LyX-FTP-Server eine aktuellere Version (oder zum
1100  Beispiel diese deutsche Version) der Dokumentation besorgt haben, sie aber
1101  nicht 
1102 \emph on
1103 offiziell
1104 \emph default
1105  installieren können, da Sie keine Systemadministratorrechte haben, können
1106  Sie diese Dateien einfach nach 
1107 \family typewriter
1108 UserDir/doc
1109 \family default
1110  kopieren, und sie werden automatisch über das 
1111 \family sans
1112 Hilfe
1113 \family default
1114 -Menü geöffnet.
1115 \end_layout
1116
1117 \begin_layout Section
1118 LyX mit mehreren Konfigurationen
1119 \end_layout
1120
1121 \begin_layout Standard
1122 Die hochgradige Konfigurierbarkeit von LyX durch das lokale Verzeichnis
1123  wird für diejenigen nicht ausreichend sein, die parallel mehrere unterschiedlic
1124 he Konfigurationen verwenden wollen, zum Beispiel unterschiedliche Tastaturkürze
1125 l und/oder Druckerkonfigurationen.
1126  Sie können dies durch das Anlegen von mehreren Konfigurationsverzeichnissen
1127  erreichen und LyX jeweils beim Start mitteilen, welches davon verwendet
1128  werden soll.
1129 \end_layout
1130
1131 \begin_layout Standard
1132 Indem Sie LyX mit der Option 
1133 \family typewriter
1134 -userdir
1135 \family default
1136  
1137 \family typewriter
1138 \emph on
1139 <verzeichnis>
1140 \family default
1141 \emph default
1142  starten, erreichen Sie, dass die Konfiguration aus diesem Verzeichnis anstelle
1143  des Standardverzeichnisses gelesen wird (das Standardverzeichnis ermitteln
1144  Sie, indem Sie LyX ohne diese Option starten).
1145  Falls das so angegebene Verzeichnis noch nicht existiert, fragt LyX genau
1146  wie beim ersten Start nach, ob es angelegt werden soll.
1147  Die Konfiguration in diesem Verzeichnis können Sie dann wie im Normalfall
1148  in LyX verändern, die Einstellungen im Standardverzeichnis werden aber
1149  nicht verändert -- beide Verzeichnisse sind völlig unabhängig.
1150  Anstelle der Kommandozeilenoption können Sie übrigens auch die Umgebungsvariabl
1151
1152 \family typewriter
1153 LYX_USERDIR_20x
1154 \family default
1155  auf das zu verwendende Verzeichnis setzen.
1156 \end_layout
1157
1158 \begin_layout Standard
1159 Unterschiedliche Konfigurationsverzeichnisse bedeuten aber auch zusätzlichen
1160  Aufwand: Wenn Sie etwa eine neue Layoutdatei in 
1161 \family typewriter
1162 UserDir/layouts
1163 \family default
1164  hinzufügen und diese für alle Konfigurationen sichtbar sein soll, müssen
1165  Sie sie in 
1166 \emph on
1167 allen
1168 \emph default
1169  Verzeichnissen separat hinzufügen.
1170  Sie können das jedoch mit einem Trick umgehen: Nachdem LyX das neue UserDir
1171  angelegt hat, sind praktisch alle Unterverzeichnisse (siehe oben) leer.
1172  Sie können also all diese Verzeichnis durch einen symbolischen Link auf
1173  das entsprechende Verzeichnis im originalen 
1174 \family typewriter
1175 UserDir
1176 \family default
1177  ersetzen.
1178  Lediglich mit dem Verzeichnis 
1179 \family typewriter
1180 doc
1181 \family default
1182  müssen Sie vorsichtig sein, denn dort wird eine Datei durch das Konfigurationss
1183 kript (
1184 \family sans
1185 Werkzeuge\SpecialChar \menuseparator
1186 Neu
1187 \begin_inset space \space{}
1188 \end_inset
1189
1190 konfigurieren
1191 \family default
1192 ) abgelegt, die konfigurationsabhängig ist.
1193 \end_layout
1194
1195 \begin_layout Chapter
1196 Der Dialog Werkzeuge
1197 \family sans
1198 \SpecialChar \menuseparator
1199
1200 \family default
1201 Ei
1202 \family sans
1203 nstellungen
1204 \end_layout
1205
1206 \begin_layout Section
1207 Formate
1208 \begin_inset CommandInset label
1209 LatexCommand label
1210 name "sec:Formate"
1211
1212 \end_inset
1213
1214
1215 \end_layout
1216
1217 \begin_layout Standard
1218 Als ersten Schritt müssen Sie Ihre Dateiformate definieren, wenn das nicht
1219  bereits passiert ist.
1220  Dazu öffnen Sie 
1221 \family sans
1222 Werkzeuge\SpecialChar \menuseparator
1223 Einstellungen\SpecialChar \menuseparator
1224 Datei-Handhabung\SpecialChar \menuseparator
1225 Dateiformate
1226 \family default
1227  und klicken auf 
1228 \family sans
1229 Neu
1230 \family default
1231 .
1232  Das 
1233 \family sans
1234 Format
1235 \family default
1236 -Feld enthält den Namen, unter dem das Format im GUI identifiziert wird.
1237  Im Feld 
1238 \family sans
1239 Einsortieren
1240 \begin_inset space \space{}
1241 \end_inset
1242
1243 als
1244 \family default
1245  steht der Name, mit dem das Format intern identifiziert wird.
1246  Außerdem muss eine 
1247 \family sans
1248 Dateiendung
1249 \family default
1250  festgelegt werden.
1251  Diese drei Felder sind erforderlich.
1252  Zusätzlich kann ein 
1253 \family sans
1254 Tastenkürzel
1255 \family default
1256  definiert werden.
1257  Zum Beispiel bedeutet 
1258 \family sans
1259 Strg+D
1260 \family default
1261
1262 \family sans
1263 Ansicht\SpecialChar \menuseparator
1264 DVI
1265 \family default
1266 .
1267 \end_layout
1268
1269 \begin_layout Standard
1270 Ein Format kann ein 
1271 \family sans
1272 Bearbeitungsprogramm
1273 \family default
1274  und ein 
1275 \family sans
1276 Anzeigeprogramm
1277 \family default
1278  haben.
1279  Am Beispiel von JPEG-Dateien steht bei mir in beiden Feldern 
1280 \family sans
1281 gimp
1282 \family default
1283 .
1284  Was bei Ihnen steht, hängt von der Software-Ausstattung Ihres PCs ab.
1285  Zum Definieren des Befehls können auch die vier Variablen aus dem nächsten
1286  Abschnitt benutzt werden.
1287  Das 
1288 \family sans
1289 Bearbeitungsprogramm
1290 \family default
1291  wird aufgerufen, wenn Sie nach einem Rechtsklick auf ein Bild 
1292 \family sans
1293 Datei
1294 \begin_inset space \space{}
1295 \end_inset
1296
1297 extern
1298 \begin_inset space \space{}
1299 \end_inset
1300
1301 bearbeiten
1302 \family default
1303  auswählen.
1304  
1305 \end_layout
1306
1307 \begin_layout Standard
1308 Wenn 
1309 \family sans
1310 Dokumentformat
1311 \family default
1312  angekreuzt ist, weiß LyX, dass das Format für den Dokumentexport geeignet
1313  ist.
1314  Wenn dann auch noch ein geeigneter Konverter existiert (siehe Abschnitt
1315 \begin_inset space ~
1316 \end_inset
1317
1318
1319 \begin_inset CommandInset ref
1320 LatexCommand ref
1321 reference "Konverter"
1322
1323 \end_inset
1324
1325 ), wird das Format unter 
1326 \family sans
1327 Datei\SpecialChar \menuseparator
1328 Exportieren
1329 \family default
1330  erscheinen.
1331  Außerdem wird es im 
1332 \family sans
1333 Ansicht
1334 \family default
1335 -Menü erscheinen, wenn ein 
1336 \family sans
1337 Anzeigeprogramm
1338 \family default
1339  angegeben wurde.
1340  Reine Grafikformate wie 
1341 \family typewriter
1342 png
1343 \family default
1344  sollten diese Option nicht benutzen, dagegen aber Formate, die sowohl Vektorgra
1345 fiken als auch Dokumente repräsentieren wie 
1346 \family typewriter
1347 pdf
1348 \family default
1349 .
1350 \end_layout
1351
1352 \begin_layout Standard
1353 Die Option 
1354 \family sans
1355 Vektorgrafik-Format
1356 \family default
1357  sagt LyX, dass ein Format Vektorgrafiken ent\SpecialChar \-
1358 halten kann.
1359  Diese Information wird dazu benutzt, um ein Zielformat für eingefügte Grafiken
1360  für den 
1361 \family typewriter
1362 pdflatex
1363 \family default
1364 -Export zu bestimmen.
1365  Eingefügte Grafiken müs\SpecialChar \-
1366 sen nach 
1367 \family typewriter
1368 pdf
1369 \family default
1370
1371 \family typewriter
1372 png
1373 \family default
1374  oder 
1375 \family typewriter
1376 jpg
1377 \family default
1378  konvertiert werden, weil 
1379 \family typewriter
1380 pdflatex
1381 \family default
1382  keine anderen Grafikformate handhaben kann.
1383  Hat eine eingefügte Grafik bereits eines der Formate, wird sie nach pdf
1384  konvertiert, wenn 
1385 \family sans
1386 Vektorgrafik-Format
1387 \family default
1388  angekreuzt ist, sonst nach 
1389 \family typewriter
1390 png
1391 \family default
1392 .
1393 \end_layout
1394
1395 \begin_layout Section
1396 Kopierer
1397 \end_layout
1398
1399 \begin_layout Standard
1400 Weil alle Konvertierungen im temporären Verzeichnis von LyX stattfinden,
1401  muss eine Datei manchmal geändert werden bevor sie ins temporäre Verzeichnis
1402  kopiert wird, damit die Konvertierung durchgeführt werden kann.
1403 \begin_inset Foot
1404 status collapsed
1405
1406 \begin_layout Plain Layout
1407 Wenn die Datei beispielsweise auf andere Dateien mit relativen Pfaden verweist
1408  -- vielleicht Bilder -- und diese Pfade beim Kopieren ungültig werden.
1409 \end_layout
1410
1411 \end_inset
1412
1413  Das macht ein Kopierer: er kopiert eine Datei ins (oder vom) temporären
1414  Verzeichnis und ändert sie dabei.
1415 \end_layout
1416
1417 \begin_layout Standard
1418 Die Definitionen der Kopierer können vier Variablen benutzen:
1419 \end_layout
1420
1421 \begin_layout Labeling
1422 \labelwidthstring 00.00.0000
1423
1424 \family typewriter
1425 $$s
1426 \family default
1427  ist das Systemverzeichnis von LyX (zum Beispiel 
1428 \family typewriter
1429 /usr/local/bin/
1430 \begin_inset Newline linebreak
1431 \end_inset
1432
1433 lyx
1434 \family default
1435 ).
1436 \end_layout
1437
1438 \begin_layout Labeling
1439 \labelwidthstring 00.00.0000
1440
1441 \family typewriter
1442 $$i
1443 \family default
1444  ist die Eingabedatei.
1445 \end_layout
1446
1447 \begin_layout Labeling
1448 \labelwidthstring 00.00.0000
1449
1450 \family typewriter
1451 $$o
1452 \family default
1453  ist die Ausgabedatei.
1454 \end_layout
1455
1456 \begin_layout Labeling
1457 \labelwidthstring 00.00.0000
1458
1459 \family typewriter
1460 $$l
1461 \family default
1462  ist der 
1463 \emph on
1464 LaTeX-Name
1465 \emph default
1466 .
1467  Dies sollte der Dateiname sein, den LaTeX im 
1468 \family typewriter
1469
1470 \backslash
1471 include
1472 \family default
1473 -Befehl benutzt.
1474  Er ist nur dann relevant, wenn die expor\SpecialChar \-
1475 tier\SpecialChar \-
1476 ten Dateien für den Befehl
1477  geeignet sind.
1478 \end_layout
1479
1480 \begin_layout Standard
1481 Kopierer können benutzt werden, um 
1482 \emph on
1483 fast
1484 \emph default
1485  alles mit Ausgabedateien zu machen.
1486  Wenn Sie zum Beispiel 
1487 \family typewriter
1488 pdf
1489 \family default
1490 -Dateien in ein spezielles Verzeichnis kopieren wollen, können Sie ein Shell-Skr
1491 ipt wie folgt schreiben:
1492 \end_layout
1493
1494 \begin_layout LyX-Code
1495 #!/bin/bash
1496 \end_layout
1497
1498 \begin_layout LyX-Code
1499 FROMFILE=$1
1500 \end_layout
1501
1502 \begin_layout LyX-Code
1503 TOFILE=`basename $2`
1504 \end_layout
1505
1506 \begin_layout LyX-Code
1507 cp $FROMFILE /home/you/pdf/$TOFILE
1508 \end_layout
1509
1510 \begin_layout Standard
1511 Speichern Sie das Skript ausführbar in Ihrem lokalen LyX-Verzeichnis --
1512  etwa 
1513 \family typewriter
1514 /home/you/lyx/scripts/pdfkopierer.sh
1515 \family default
1516 .
1517  Dann wählen Sie in 
1518 \family sans
1519 Werkzeuge\SpecialChar \menuseparator
1520 Ein\SpecialChar \-
1521 stel\SpecialChar \-
1522 lun\SpecialChar \-
1523 gen\SpecialChar \menuseparator
1524 Datei-Handhabung\SpecialChar \menuseparator
1525 Dateiformate
1526 \family default
1527  das Format 
1528 \family sans
1529 PDF
1530 \begin_inset space \space{}
1531 \end_inset
1532
1533 (pdflatex)
1534 \family default
1535  und tragen im Kopierer-Feld 
1536 \family typewriter
1537 pdfkopierer.sh $$i $$o
1538 \family default
1539  ein.
1540 \end_layout
1541
1542 \begin_layout Standard
1543 Kopierer werden von LyX in vielen eigenen Konvertierungen benutzt.
1544  Wenn auf dem PC geeignete Programme installiert sind, wird LyX automatisch
1545  Kopierer für 
1546 \family sans
1547 HTML
1548 \family default
1549  und 
1550 \family sans
1551 HTML
1552 \begin_inset space \space{}
1553 \end_inset
1554
1555 (MS
1556 \begin_inset space \space{}
1557 \end_inset
1558
1559 Word)
1560 \family default
1561  installieren.
1562  Wenn diese Formate exportiert werden, 
1563 \emph on
1564 sieht
1565 \emph default
1566  der Kopierer, dass nicht nur die Haupt-HTML-Datei, sondern auch verschiedene
1567  zugehörige Dateien (Stildateien, Bilder usw.) kopiert werden müssen.
1568  All diese Dateien werden in ein Unterverzeichnis des Verzeichnisses geschrieben
1569 , in dem die LyX-Datei steht.
1570 \begin_inset Foot
1571 status open
1572
1573 \begin_layout Plain Layout
1574 Kopierer können angepasst werden.
1575  Der optionale Parameter 
1576 \family typewriter
1577 -e
1578 \family default
1579  kann eine durch Kommata getrennte Liste von Erweiterungen enthalten, die
1580  mitkopiert werden sollen.
1581  Wenn es fehlt, werden alle Dateien kopiert.
1582  Der Parameter 
1583 \family typewriter
1584 -t
1585 \family default
1586  bestimmt die Namenserweiterung, die an den erzeugten Verzeichnisnamen angehängt
1587  werden soll.
1588  Standardmäßig ist es 
1589 \family sans
1590 Ly
1591 \begin_inset ERT
1592 status collapsed
1593
1594 \begin_layout Plain Layout
1595
1596 {}
1597 \end_layout
1598
1599 \end_inset
1600
1601 Xconv
1602 \family default
1603 , so dass die aus 
1604 \family typewriter
1605 Datei.lyx
1606 \family default
1607  erzeugte HTML-Datei im Unterverzeichnis 
1608 \family typewriter
1609 Datei.html.Ly
1610 \begin_inset ERT
1611 status collapsed
1612
1613 \begin_layout Plain Layout
1614
1615 {}
1616 \end_layout
1617
1618 \end_inset
1619
1620 Xconv
1621 \family default
1622  landet.
1623 \end_layout
1624
1625 \end_inset
1626
1627
1628 \end_layout
1629
1630 \begin_layout Section
1631 Konverter
1632 \begin_inset CommandInset label
1633 LatexCommand label
1634 name "Konverter"
1635
1636 \end_inset
1637
1638
1639 \end_layout
1640
1641 \begin_layout Standard
1642 Sie können eigene Konverter in 
1643 \family sans
1644 Werkzeuge\SpecialChar \menuseparator
1645 Ein\SpecialChar \-
1646 stel\SpecialChar \-
1647 lun\SpecialChar \-
1648 gen\SpecialChar \menuseparator
1649 Datei-Handhabung\SpecialChar \menuseparator
1650 Kon\SpecialChar \-
1651 verter
1652 \family default
1653  definieren.
1654  Dazu wählen aus 
1655 \family sans
1656 Von
1657 \begin_inset space \space{}
1658 \end_inset
1659
1660 Format
1661 \family default
1662  und 
1663 \family sans
1664 In
1665 \begin_inset space \space{}
1666 \end_inset
1667
1668 Format
1669 \family default
1670  jeweils eins aus, schreiben den benötigten Befehl ins Feld 
1671 \family sans
1672 Konverter
1673 \family default
1674  und klicken auf 
1675 \family sans
1676 Hinzufügen
1677 \family default
1678  rechts oben.
1679  Sie können im Befehl mehrere Variablen benutzen:
1680 \end_layout
1681
1682 \begin_layout Labeling
1683 \labelwidthstring 00.00.0000
1684
1685 \family typewriter
1686 $$s
1687 \family default
1688  ist das Systemverzeichnis von LyX (zum Beispiel 
1689 \family typewriter
1690 /usr/local/bin/
1691 \begin_inset Newline linebreak
1692 \end_inset
1693
1694 lyx
1695 \family default
1696 ).
1697 \end_layout
1698
1699 \begin_layout Labeling
1700 \labelwidthstring 00.00.0000
1701
1702 \family typewriter
1703 $$i
1704 \family default
1705  ist die Eingabedatei.
1706 \end_layout
1707
1708 \begin_layout Labeling
1709 \labelwidthstring 00.00.0000
1710
1711 \family typewriter
1712 $$o
1713 \family default
1714  ist die Ausgabedatei.
1715 \end_layout
1716
1717 \begin_layout Labeling
1718 \labelwidthstring 00.00.0000
1719
1720 \family typewriter
1721 $$b
1722 \family default
1723  ist der Dateiname ohne Erweiterung (siehe Linux-Befehl 
1724 \family typewriter
1725 basename
1726 \family default
1727 ).
1728 \end_layout
1729
1730 \begin_layout Labeling
1731 \labelwidthstring 00.00.0000
1732
1733 \family typewriter
1734 $$p
1735 \family default
1736  ist der Pfad zur Eingabedatei.
1737 \end_layout
1738
1739 \begin_layout Labeling
1740 \labelwidthstring 00.00.0000
1741
1742 \family typewriter
1743 $$r
1744 \family default
1745  ist der Pfad zur ursprünglichen Eingabedatei.
1746  Wenn eine Kette von Konvertern aufgerufen wird, weicht er von 
1747 \family typewriter
1748 $$p
1749 \family default
1750  ab.
1751 \end_layout
1752
1753 \begin_layout Standard
1754 Ins Feld Zusatz-Flag können Sie folgende, durch Kommata getrennte, Flags
1755  schrei\SpecialChar \-
1756 ben:
1757 \end_layout
1758
1759 \begin_layout Labeling
1760 \labelwidthstring 00.00.0000
1761
1762 \family typewriter
1763 latex
1764 \family default
1765  Damit ein besonderer LaTeX-Lauf gestartet, der die LaTeX-Fehlermel\SpecialChar \-
1766 dun\SpecialChar \-
1767 gen
1768  von LyX verfügbar macht.
1769 \end_layout
1770
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1773
1774 \family typewriter
1775 needaux
1776 \family default
1777  benötigt die LaTeX-Datei 
1778 \family typewriter
1779 xyz.aux
1780 \family default
1781  zur Konvertierung.
1782 \end_layout
1783
1784 \begin_layout Labeling
1785 \labelwidthstring 00.00.0000
1786
1787 \family typewriter
1788 xml
1789 \family default
1790  Damit wird die Ausgabe im XML-Format gespeichert.
1791 \end_layout
1792
1793 \begin_layout Standard
1794 Die folgenden Flags sind keine richtigen, weil sie ein Argument der Form
1795  
1796 \family typewriter
1797 key=value
1798 \family default
1799  benutzen:
1800 \end_layout
1801
1802 \begin_layout Labeling
1803 \labelwidthstring 00.00.0000
1804
1805 \family typewriter
1806 parselog
1807 \family default
1808  Wenn das gesetzt ist, wird der Standardfehler des Konverters in die Datei
1809  
1810 \family typewriter
1811 infile.out
1812 \family default
1813  umgeleitet, und das Skript wird so ausgeführt: 
1814 \family typewriter
1815 script
1816 \begin_inset space \space{}
1817 \end_inset
1818
1819 <
1820 \begin_inset space \space{}
1821 \end_inset
1822
1823 infile.out
1824 \begin_inset space \space{}
1825 \end_inset
1826
1827 >
1828 \begin_inset space \space{}
1829 \end_inset
1830
1831 infile.log
1832 \family default
1833 .
1834  Das Argument kann 
1835 \family typewriter
1836 $$s
1837 \family default
1838  ent\SpecialChar \-
1839 halten.
1840 \end_layout
1841
1842 \begin_layout Labeling
1843 \labelwidthstring 00.00.0000
1844
1845 \family typewriter
1846 resultdir
1847 \family default
1848  ist der Name des Verzeichnisses, in dem der Konverter die erzeugten Dateien
1849  ablegen soll.
1850  LyX wird das Verzeichnis nicht anlegen und auch nichts hineinkopieren,
1851  aber dieses Verzeichnis an seinen Bestimmungs\SpecialChar \-
1852 ort kopieren.
1853  Das Argument darf 
1854 \family typewriter
1855 $$b
1856 \family default
1857  enthalten, was durch die Basisnamen von Ein- oder Ausgabedatei ersetzt
1858  wird, wenn das Verzeichnis kopiert wird.
1859 \begin_inset Newline newline
1860 \end_inset
1861
1862 Beachten Sie, das 
1863 \family typewriter
1864 resultdir
1865 \family default
1866  und 
1867 \family typewriter
1868 usetempdir
1869 \family default
1870  zusammen keinen Sinn machen.
1871  Wenn das erste definiert wurde, wird das zweite ignoriert.
1872 \end_layout
1873
1874 \begin_layout Labeling
1875 \labelwidthstring 00.00.0000
1876
1877 \family typewriter
1878 resultfile
1879 \family default
1880  ist der Name der Ausgabedatei und darf 
1881 \family typewriter
1882 $$b
1883 \family default
1884  enthalten.
1885  Er wird nur zusammen mit 
1886 \family typewriter
1887 resultdir
1888 \family default
1889  benutzt und ist auch da nur optional.
1890  Wenn er nicht angegeben wird, wird 
1891 \family typewriter
1892 index
1893 \family default
1894  benutzt.
1895 \end_layout
1896
1897 \begin_layout Standard
1898 Keines dieser Flags wird zur Zeit in einem Konverter benutzt, der zusammen
1899  mit LyX installiert wird.
1900 \end_layout
1901
1902 \begin_layout Standard
1903 Sie müssen nicht für alle Formate, zwischen denen Sie konvertieren wollen,
1904  Konverter definieren.
1905  Zum Beispiel gibt es keinen Konverter von LyX nach PostScript, aber LyX
1906  wird PostScript exportieren.
1907  Dies geschieht, indem zunächst eine LaTeX-Datei erzeugt wird -- dafür wird
1908  auch kein Konverter benötigt --, die dann mit dem Konverter von LyX nach
1909  DVI in eine DVI-Datei konvertiert wird, die schließlich nach PostScript
1910  konvertiert wird.
1911  LyX findet solche Konverter-Ketten automatisch und wird immer die kürzeste
1912  finden.
1913 \end_layout
1914
1915 \begin_layout Standard
1916 Trotzdem können Sie Mehrfachkonversionen zwischen Dateiformaten definieren.
1917  Zum Beispiel liefert die Standardkonfiguration von LyX drei Möglichkeiten,
1918  um von LaTeX nach PDF zu konvertieren:
1919 \end_layout
1920
1921 \begin_layout Enumerate
1922 direkt mit 
1923 \family typewriter
1924 pdflatex
1925 \end_layout
1926
1927 \begin_layout Enumerate
1928 mit 
1929 \family typewriter
1930 ps2pdf
1931 \family default
1932  über DVI und PostScript
1933 \end_layout
1934
1935 \begin_layout Enumerate
1936 mit 
1937 \family typewriter
1938 dvipdfm
1939 \family default
1940  über DVI.
1941 \end_layout
1942
1943 \begin_layout Standard
1944 Um andere Ketten zu definieren, müssen Sie andere Ziel-
1945 \emph on
1946 Dateiformate
1947 \emph default
1948  definieren, wie in Abschnitt
1949 \begin_inset space \space{}
1950 \end_inset
1951
1952
1953 \begin_inset CommandInset ref
1954 LatexCommand vref
1955 reference "sec:Formate"
1956
1957 \end_inset
1958
1959  beschrieben.
1960  Zum Beispiel enthält die Standardkonfiguration drei Formate für pdf-Dateien,
1961  die 
1962 \family sans
1963 pdf
1964 \family default
1965  für 
1966 \family typewriter
1967 ps2pdf
1968 \family default
1969
1970 \family sans
1971 pdf2
1972 \family default
1973  für 
1974 \family typewriter
1975 pdflatex
1976 \family default
1977  und 
1978 \family sans
1979 pdf3
1980 \family default
1981  für 
1982 \family typewriter
1983 dvipdfm
1984 \family default
1985  heißen.
1986 \end_layout
1987
1988 \begin_layout Chapter
1989 Internationales LyX
1990 \begin_inset CommandInset label
1991 LatexCommand label
1992 name "cha:Internationales-LyX"
1993
1994 \end_inset
1995
1996
1997 \end_layout
1998
1999 \begin_layout Standard
2000
2001 \emph on
2002 Anmerkung des Übersetzers: Dieses Kapitel behandelt zwei Themenbereiche.
2003  Einmal wird in
2004 \begin_inset space \space{}
2005 \end_inset
2006
2007
2008 \begin_inset CommandInset ref
2009 LatexCommand vref
2010 reference "sec:Eine-andere-Sprache"
2011
2012 \end_inset
2013
2014  und
2015 \begin_inset space \space{}
2016 \end_inset
2017
2018
2019 \begin_inset CommandInset ref
2020 LatexCommand vref
2021 reference "sec:Tastaturkürzel-für-andere"
2022
2023 \end_inset
2024
2025  erklärt, wie man LyX mitteilt, dass man in einer fremdsprachlichen Umgebung
2026  arbeitet.
2027  Der überwiegende Rest des Kapitels erläutert, wie man LyX an eine neue
2028  Sprache anpasst, das heißt wie man es übersetzt.
2029  Da diese Arbeiten für eine deutsche Umgebung bereits erledigt wurden, dürfte
2030  dieser Teil des Kapitels für die Leser dieser Übersetzung weitgehend uninteress
2031 ant sein.
2032  Die letzten beiden Abschnitte, 
2033 \begin_inset CommandInset ref
2034 LatexCommand vref
2035 reference "sec:Internationale-Tastaturbelegung"
2036
2037 \end_inset
2038
2039  und 
2040 \begin_inset CommandInset ref
2041 LatexCommand vref
2042 reference "sec:Internationale-Tastaturtabellen"
2043
2044 \end_inset
2045
2046 , waren bei der Übersetzung noch nicht ganz up to date.
2047  (Leif Albers)
2048 \end_layout
2049
2050 \begin_layout Standard
2051 LyX kann mit übersetzten Versionen seiner Benutzerschnittstelle arbeiten.
2052  Als dieser Text erstellt wurde, waren über den normalen englischen Text
2053  Anpassungen für 23 Sprachen Bestandteil der LyX-Distribution.
2054  Die von Ihnen benutze Sprache zeigt Ihnen der Befehl 
2055 \family typewriter
2056 locale
2057 \family default
2058 .
2059  (Für weitere Informationen über 
2060 \emph on
2061 locale
2062 \emph default
2063 -Definitionen ist die Manpage 
2064 \emph on
2065 locale(5)
2066 \emph default
2067  ein guter Startpunkt.)
2068 \end_layout
2069
2070 \begin_layout Standard
2071 Bitte beachten Sie, dass diese Übersetzungen zwar funktionieren, aber oft
2072  ein paar Einschränkungen unterliegen.
2073  Insbesondere wurde das Design der Popup-Menüs auf den englischen Text zugeschni
2074 tten.
2075  Das bedeutet, dass der übersetzte Text an einigen Stellen mehr Platz benötigt
2076  als dort zur Verfügung steht.
2077  Dies ist natürlich nur ein Darstellungsproblem und schränkt nicht die Funktions
2078 weise von LyX ein.
2079  Sie werden auch feststellen, dass einige Übersetzungen nicht für alle Menüpunkt
2080 e Tastenkürzel definieren.
2081  Manchmal stehen einfach nicht genügend freie Buchstaben zur Verfügung,
2082  manchmal hatte der Übersetzer einfach bisher keine Zeit, sich darum zu
2083  kümmern.
2084 \end_layout
2085
2086 \begin_layout Standard
2087 Wir werden versuchen, diese Dinge in einer späteren Version zu korrigieren.
2088 \end_layout
2089
2090 \begin_layout Section
2091 Eine andere Sprache für die Schnittstelle auswählen
2092 \begin_inset CommandInset label
2093 LatexCommand label
2094 name "sec:Eine-andere-Sprache"
2095
2096 \end_inset
2097
2098
2099 \end_layout
2100
2101 \begin_layout Standard
2102 Normalerweise erfolgt die gesamte Benutzerführung in der Sprache, die in
2103  der Umgebungsvariablen 
2104 \family typewriter
2105 LANG
2106 \family default
2107  gesetzt wurde.
2108  Um eine andere Sprache auszuwählen, müssen Sie die Umgebungsvariable 
2109 \family typewriter
2110 LANG
2111 \family default
2112  ändern.
2113  Benutzen Sie 
2114 \family typewriter
2115 setenv LANG xx
2116 \family default
2117  in csh-kompatiblen und 
2118 \family typewriter
2119 export LANG=xx
2120 \family default
2121  in sh-kompatiblen Shells.
2122  Ersetzen Sie dabei 
2123 \family typewriter
2124 xx
2125 \family default
2126  durch den Zwei-Buchstaben-Code der Sprache, die Sie verwenden möchten --
2127  zum Beispiel 
2128 \family typewriter
2129 de
2130 \family default
2131  für deutsch.
2132 \begin_inset Foot
2133 status collapsed
2134
2135 \begin_layout Plain Layout
2136 Noch besser wäre es, 
2137 \family typewriter
2138 LANG
2139 \family default
2140  auf den Wert de_DE zu setzen, da andere Programme (zum Beispiel KDE) nach
2141  DE suchen, oder sogar den vollständigen Wert de_DE.iso88591
2142 \end_layout
2143
2144 \end_inset
2145
2146
2147 \end_layout
2148
2149 \begin_layout Standard
2150 Normalerweise werden Sie den passenden Befehl in eine der Startdateien einfügen,
2151  also zum Beispiel in 
2152 \family typewriter
2153 ~/.Xsession
2154 \family default
2155
2156 \family typewriter
2157 ~/.xinitrc
2158 \family default
2159  oder 
2160 \family typewriter
2161 ~/.bashrc
2162 \family default
2163 , damit die übersetzte Schnittstelle automatisch benutzt wird.
2164  
2165 \end_layout
2166
2167 \begin_layout Standard
2168 Beachten Sie, dass all dies 
2169 \emph on
2170 nicht
2171 \emph default
2172  funktioniert, wenn Sie LyX mit der Option 
2173 \family typewriter
2174 --disable\SpecialChar \-
2175 nls
2176 \family default
2177  kompiliert haben.
2178 \end_layout
2179
2180 \begin_layout Section
2181 Tastaturkürzel für andere Sprachen anpassen
2182 \begin_inset CommandInset label
2183 LatexCommand label
2184 name "sec:Tastaturkürzel-für-andere"
2185
2186 \end_inset
2187
2188
2189 \end_layout
2190
2191 \begin_layout Standard
2192 Ein Hauptgrund für Inkonsistenzen in übersetzten LyX-Versionen ist die Tatsache,
2193  dass alle Tastaturkürzel für die Menüfunktionen ursprünglich auf den englischen
2194  Text zugeschnitten wurden.
2195  Das heißt, unabhängig vom tatsächlichen Menüeintrag wird das Kürzel 
2196 \family sans
2197 Strg+Umschalt+N
2198 \family default
2199  das Popup 
2200 \family typewriter
2201 new-file-from-template
2202 \begin_inset Foot
2203 status collapsed
2204
2205 \begin_layout Plain Layout
2206
2207 \family typewriter
2208 new-file-from-template
2209 \family default
2210  ist der LyX-interne Befehl, der das Menü 
2211 \family sans
2212 Datei\SpecialChar \menuseparator
2213 Neu
2214 \begin_inset space ~
2215 \end_inset
2216
2217 von
2218 \begin_inset space ~
2219 \end_inset
2220
2221 Vorlage
2222 \family default
2223 \SpecialChar \ldots{}
2224  auswählt.
2225 \end_layout
2226
2227 \end_inset
2228
2229
2230 \family default
2231  öffnen.
2232 \end_layout
2233
2234 \begin_layout Standard
2235 Es ist allerdings einfach, dies zu ändern, da alle Tastenkürzel für die
2236  Menüfunktionen in einer einzigen Datei definiert werden, in 
2237 \family typewriter
2238 Ly
2239 \begin_inset ERT
2240 status collapsed
2241
2242 \begin_layout Plain Layout
2243
2244 {}
2245 \end_layout
2246
2247 \end_inset
2248
2249 XDir/bind/menus.bind
2250 \family default
2251 .
2252  Jeder Anwender kann eine eigene Version dieser Datei in sein privates LyX-Verze
2253 ichnis (
2254 \family typewriter
2255 ~/.lyx/bind
2256 \family default
2257 ) kopieren und verändern.
2258  Diese wird anstelle der systemweiten Datei eingelesen.
2259 \end_layout
2260
2261 \begin_layout Standard
2262 In diesem privaten Verzeichnis kann man die Definitionen einfach ändern,
2263  zum Beispiel von 
2264 \family sans
2265 Strg+Umschalt+N
2266 \family default
2267  nach 
2268 \family sans
2269 Strg+D+V
2270 \family default
2271  (für 
2272 \family sans
2273 Datei\SpecialChar \menuseparator
2274 Neu
2275 \begin_inset space ~
2276 \end_inset
2277
2278 von
2279 \begin_inset space ~
2280 \end_inset
2281
2282 Vorlage
2283 \family default
2284 \SpecialChar \ldots{}
2285 ).
2286  Für einige Sprachen existieren schon angepasste Versionen 
2287 \family typewriter
2288 Ly
2289 \begin_inset ERT
2290 status collapsed
2291
2292 \begin_layout Plain Layout
2293
2294 {}
2295 \end_layout
2296
2297 \end_inset
2298
2299 XDir/bind/
2300 \series bold
2301 xx
2302 \series default
2303 _me\SpecialChar \-
2304 nus.bind
2305 \family default
2306  (
2307 \family typewriter
2308 \series bold
2309 xx
2310 \family default
2311 \series default
2312  bezeichnet den Code der Sprache).
2313  Diese werden von LyX automatisch benutzt, sofern sie existieren (und Ihre
2314  
2315 \emph on
2316 locale
2317 \emph default
2318  auf 
2319 \family typewriter
2320 $LANG=
2321 \series bold
2322 xx
2323 \family default
2324 \series default
2325  gesetzt wurde).
2326 \end_layout
2327
2328 \begin_layout Standard
2329 Sie müssen darauf achten, dass neue Definitionen nicht mit anderen, vorangehende
2330 n Definitionen kollidieren.
2331  Beispielsweise würde die oben genannte Definition von 
2332 \family sans
2333 Strg+D+V
2334 \family default
2335  für Benutzer, die 
2336 \family typewriter
2337 emacs.bind
2338 \family default
2339  verwenden, eine Fehlermeldung erzeugen, denn in 
2340 \family typewriter
2341 emacs.bind
2342 \family default
2343  wird 
2344 \family sans
2345 Strg+D
2346 \family default
2347  bereits als 
2348 \family typewriter
2349 word-delete-forward
2350 \begin_inset Foot
2351 status collapsed
2352
2353 \begin_layout Plain Layout
2354
2355 \family typewriter
2356 word-delete-forward
2357 \family default
2358  löscht das Wort rechts vom Cursor.
2359 \end_layout
2360
2361 \end_inset
2362
2363
2364 \family default
2365  definiert.
2366  
2367 \end_layout
2368
2369 \begin_layout Standard
2370 In LyX Version 1.0 werden die übersetzten Namen der Hauptmenüs (die in den
2371  
2372 \family typewriter
2373 po
2374 \family default
2375 -Dateien stehen) für den Tastendefinitions-Mechanismus verwendet -- deshalb
2376  müssen auch in 
2377 \family typewriter
2378 menus.bind
2379 \family default
2380  die 
2381 \emph on
2382 übersetzten
2383 \emph default
2384  Menünamen verwendet werden.
2385 \end_layout
2386
2387 \begin_layout Section
2388 LyX übersetzen
2389 \end_layout
2390
2391 \begin_layout Subsection
2392 Die Benutzerschnittstelle übersetzen (Textmeldungen)
2393 \end_layout
2394
2395 \begin_layout Standard
2396 LyX verwendet die GNU-gettext-Bibliothek, um die Internationalisierung der
2397  Benutzerschnittstelle zu verwalten.
2398  Um LyX dazu zu bringen, in allen Menüs und Dialog-Boxen Ihre Lieblingssprache
2399  zu verwenden, müssen Sie eine 
2400 \family typewriter
2401 po
2402 \family default
2403 -Datei für diese Sprache erstellen.
2404  Anschließend müssen Sie daraus eine 
2405 \family typewriter
2406 mo
2407 \family default
2408 -Datei erzeugen und diese installieren.
2409  Eine umfassende Anleitung dazu finden Sie in der Dokumentation für GNU
2410  gettext
2411 \begin_inset Foot
2412 status collapsed
2413
2414 \begin_layout Plain Layout
2415 Natürlich nur auf englisch.
2416  Die Veränderungen, die an der 
2417 \family typewriter
2418 po
2419 \family default
2420 -Datei durchgeführt werden müssen, sind allerdings recht intuitiv.
2421 \end_layout
2422
2423 \end_inset
2424
2425 .
2426  Kurz gesagt müssen folgende Veränderungen durchgeführt werden (
2427 \family typewriter
2428 \series bold
2429 xx
2430 \family default
2431 \series default
2432  bezeichnet den Sprachencode der neuen Sprache):
2433 \end_layout
2434
2435 \begin_layout Itemize
2436 Kopieren Sie die Datei 
2437 \family typewriter
2438 lyx.pot
2439 \family default
2440  in das Verzeichnis der .po-Dateien.
2441  Benennen Sie anschließend die Datei in 
2442 \family typewriter
2443 \series bold
2444 xx
2445 \series default
2446 .po
2447 \family default
2448  um.
2449  (Falls 
2450 \family typewriter
2451 lyx.pot
2452 \family default
2453  nicht existiert, kann sie mit dem Befehl 
2454 \family typewriter
2455 make
2456 \begin_inset space \space{}
2457 \end_inset
2458
2459 lyx.pot
2460 \family default
2461  neu erzeugt werden.)
2462 \end_layout
2463
2464 \begin_layout Itemize
2465 Editieren Sie 
2466 \family typewriter
2467 xx.po
2468 \begin_inset Foot
2469 status collapsed
2470
2471 \begin_layout Plain Layout
2472 Für diese Aufgabe gibt es spezielle Programme, wie 
2473 \family typewriter
2474 Poedit
2475 \family default
2476  (für alle Plattformen) oder 
2477 \family typewriter
2478 KBabel
2479 \family default
2480  (für KDE).
2481  
2482 \family typewriter
2483 Emacs
2484 \family default
2485  hat ebenfalls einen Modus, der Sie bei dieser Arbeit unterstützt.
2486 \end_layout
2487
2488 \end_inset
2489
2490
2491 \family default
2492 .
2493  Für einige Menü- und Widgetfunktionen gibt es Tastenkürzel, die ebenfalls
2494  übersetzt werden sollten.
2495  Diese Tasten werden mit '
2496 \family typewriter
2497 |
2498 \family default
2499 ' markiert und sollten passend mitübersetzt werden.
2500  Es gibt ein Prolog-Programm namens 
2501 \family typewriter
2502 scgen.pl
2503 \family default
2504 , das sich im Quellverzeichnis in 
2505 \family typewriter
2506 LYX\SpecialChar \-
2507 SOURCE\SpecialChar \-
2508 DIR/development/tools/
2509 \family default
2510  befindet.
2511  Vielleicht hilft es Ihnen bei der Bestimmung der Tastenkürzel.
2512  Beachten Sie, dass XForms (zumindest die Version 0.86) nur 7-Bit-Zeichen
2513  als Tastenkürzel verarbeiten kann.
2514 \begin_inset Newline newline
2515 \end_inset
2516
2517 Sie sollten auch das Informationsfeld am Anfang der neuen po-Datei ausfüllen
2518  (mit Ihrer EMail-Adresse, usw.), damit Sie für andere Leute erreichbar sind,
2519  die Ihnen Vorschläge oder unterhaltsame Flames schicken möchten.
2520 \end_layout
2521
2522 \begin_layout Itemize
2523 Erzeugen Sie in 
2524 \begin_inset Flex URL
2525 status collapsed
2526
2527 \begin_layout Plain Layout
2528
2529 LYX-SOURCE-DIR/po/lyx.pot
2530 \end_layout
2531
2532 \end_inset
2533
2534  mit dem Befehl 
2535 \family typewriter
2536 make up\SpecialChar \-
2537 date-gmo
2538 \family default
2539  die Datei 
2540 \family typewriter
2541 \series bold
2542 xx
2543 \series default
2544 .gmo
2545 \family default
2546 .
2547 \end_layout
2548
2549 \begin_layout Itemize
2550 Installieren Sie die 
2551 \family typewriter
2552 gmo
2553 \family default
2554 -Datei mit dem Befehl 
2555 \family typewriter
2556 su -c 'make install'
2557 \family default
2558 .
2559 \end_layout
2560
2561 \begin_layout Standard
2562 Um eine neue 
2563 \family typewriter
2564 po
2565 \family default
2566 -Datei zu der LyX-
2567 \emph on
2568 Distribution
2569 \emph default
2570  hinzuzufügen, müssen eine Reihe von Dateien (Konfigurations-Skripts und
2571  mehr) verändert werden.
2572  Aber dank der gettext-Bibliothek ist ein Einbinden in den LyX-Quellcode
2573  für den Anwender unnötig.
2574 \end_layout
2575
2576 \begin_layout Standard
2577 Wenn Sie eine Übersetzung für eine Sprache erstellt haben, die LyX zur Zeit
2578  noch nicht unterstützt, sollten Sie uns ruhig ein Patch mit Ihrer Datei
2579  zusenden.
2580  Wie man ein Patch erstellt, erfahren Sie in der README-Datei im Verzeichnis
2581  
2582 \family typewriter
2583 LYX-SOURCE-DIR/po/
2584 \family default
2585 .
2586 \end_layout
2587
2588 \begin_layout Subsection
2589 Die Dokumentation übersetzen
2590 \end_layout
2591
2592 \begin_layout Standard
2593
2594 \emph on
2595 [Anmerkung des Übersetzers:
2596 \emph default
2597  wenn 
2598 \emph on
2599 Sie die Dokumentation übersetzen wollen, benutzen Sie als Vorlage auf jeden
2600  Fall das englische Original.
2601  Übersetzungen -- diese eingeschlossen -- sind oft nicht ganz auf dem neuesten
2602  Stand.
2603  -LA]
2604 \end_layout
2605
2606 \begin_layout Standard
2607 Auch die Online-Dokumentation (im 
2608 \family sans
2609 Hilfe
2610 \family default
2611 -Menü) kann (und sollte!) übersetzt werden.
2612  Wenn übersetzte Versionen verfügbar sind
2613 \begin_inset Foot
2614 status collapsed
2615
2616 \begin_layout Plain Layout
2617 Derzeit (November 2006) sind praktisch alle Texte bis auf 
2618 \emph on
2619 LaTe
2620 \begin_inset ERT
2621 status collapsed
2622
2623 \begin_layout Plain Layout
2624
2625 {}
2626 \end_layout
2627
2628 \end_inset
2629
2630 X-Konfiguration
2631 \emph default
2632  ins Deutsche übersetzt.
2633  Andere Sprachen sind in Arbeit.
2634  Die Bibliothek an übersetzten Texten wächst ständig.
2635 \end_layout
2636
2637 \end_inset
2638
2639  und die 
2640 \emph on
2641 locale
2642 \emph default
2643  entsprechend gesetzt wurde, werden diese automatisch von LyX benutzt.
2644  Zur Zeit sind Übersetzungen in etwa 20 Sprachen vorhanden.
2645  LyX sucht nach übersetzten Versionen in 
2646 \family typewriter
2647 Ly
2648 \begin_inset ERT
2649 status collapsed
2650
2651 \begin_layout Plain Layout
2652
2653 {}
2654 \end_layout
2655
2656 \end_inset
2657
2658 XDir/doc/
2659 \series bold
2660 xx
2661 \series default
2662 _DocName.lyx
2663 \family default
2664 , wobei wie immer 
2665 \family typewriter
2666 \series bold
2667 xx
2668 \family default
2669 \series default
2670  für das entsprechende Sprach\SpecialChar \-
2671 kür\SpecialChar \-
2672 zel steht, das in der Umgebungsvariablen
2673  
2674 \family typewriter
2675 LANG
2676 \family default
2677  gesetzt wird.
2678 \end_layout
2679
2680 \begin_layout Standard
2681 Falls solche Dateien nicht existieren, wird die englische Version verwendet.
2682  Auch die übersetzten Versionen müssen (bis auf das 
2683 \family typewriter
2684 \series bold
2685 xx
2686 \series default
2687 _
2688 \family default
2689 ) den gleichen (englischen) Dateinamen (im Beispiel oben 
2690 \family typewriter
2691 DocName
2692 \family default
2693 ) tragen wie die englischen Originale.
2694  Wenn Sie gerne die Dokumentation übersetzen möchten (übrigens ein guter
2695  Weg, um die Originale Korrektur zu lesen!), hier ein paar Tipps, die Ihnen
2696  möglicherweise etwas Arbeit ersparen:
2697 \end_layout
2698
2699 \begin_layout Itemize
2700 Werfen Sie einen Blick auf die Seiten des Übersetzungsteams auf der Homepage
2701  des LyX-Entwickler-Teams: 
2702 \begin_inset Flex URL
2703 status open
2704
2705 \begin_layout Plain Layout
2706
2707 http://www.devel.lyx.org
2708 \end_layout
2709
2710 \end_inset
2711
2712 .
2713  Dort erfahren Sie, welche Texte bereits in Ihre Sprache übersetzt sind,
2714  auch sehen Sie, ob jemand (und wenn ja, wer) die Übersetzungsaktivitäten
2715  koordiniert.
2716 \end_layout
2717
2718 \begin_layout Standard
2719 Wenn Sie dann mit der eigentlichen Übersetzungsarbeit beginnen, sind hier
2720  einige Tipps, die Ihnen vielleicht helfen, einige Schwierigkeiten zu überwinden
2721 :
2722 \end_layout
2723
2724 \begin_layout Itemize
2725 Machen Sie im Dokumentationsteam mit! Informationen dazu gibt es in 
2726 \family sans
2727 Hilfe\SpecialChar \menuseparator
2728 Einführung
2729 \family default
2730 .
2731  Dies ist übrigens das erste Dokument, das Sie übersetzen sollten.
2732 \end_layout
2733
2734 \begin_layout Itemize
2735 Machen Sie sich mit den typographischen Konventionen der Sprache vertraut,
2736  in die Sie übersetzen möchten.
2737  Typographie ist eine alte Kunst, und in vielen Teilen der Welt wurden verschied
2738 ene Konventionen eingeführt.
2739  Auch sollten Sie die typographische Terminologie in Ihrem Land lernen.
2740  Eine eigene Terminologie würde nur die Leser verwirren.
2741  
2742 \emph on
2743 (Warnung: Typographie macht süchtig!)
2744 \end_layout
2745
2746 \begin_layout Itemize
2747 Legen Sie eine Kopie des Originaldokumentes an.
2748  Von Zeit zu Zeit wird die Originalversion erneuert.
2749  Sie können beispielsweise CVSweb auf der LyX-Entwickler-Seite im WWW verwenden
2750  um zu sehen, was sich verändert hat.
2751 \begin_inset Foot
2752 status collapsed
2753
2754 \begin_layout Plain Layout
2755 Alternativ können Sie auch lokal eine Kopie des (englischen) Ausgangstextes
2756  aufbewahren und diese dann mit der neuen Version vergleichen (zum Beispiel
2757  mit dem Befehl 
2758 \family typewriter
2759 diff
2760 \family default
2761 ).
2762 \end_layout
2763
2764 \end_inset
2765
2766  
2767 \end_layout
2768
2769 \begin_layout Itemize
2770 Wann immer Sie einen Fehler im Originaltext entdecken, korrigieren Sie ihn
2771  und teilen dem Rest des Dokumentationsteams Ihre Veränderungen mit.
2772  (Sie haben nicht vergessen, dem Dokumentationsteam beizutreten, oder?)
2773  
2774 \emph on
2775 Auch die Originaldokumentation ist nicht komplett.
2776 \end_layout
2777
2778 \begin_layout Section
2779 Internationale Tastaturbelegung
2780 \begin_inset CommandInset label
2781 LatexCommand label
2782 name "sec:Internationale-Tastaturbelegung"
2783
2784 \end_inset
2785
2786
2787 \end_layout
2788
2789 \begin_layout Subsection
2790 Eigene Tastaturtabellen definieren: das 
2791 \emph on
2792 Keymap
2793 \emph default
2794 -Dateiformat
2795 \end_layout
2796
2797 \begin_layout Standard
2798 Sehen wir uns einmal die 
2799 \emph on
2800 Keymap
2801 \emph default
2802 -Datei ein wenig näher an.
2803  Es handelt sich um eine ASCII-Datei, in der folgendes definiert wird:
2804 \end_layout
2805
2806 \begin_layout Itemize
2807 Taste-Taste- oder Taste-String-Transformationen
2808 \end_layout
2809
2810 \begin_layout Itemize
2811
2812 \emph on
2813 Tote
2814 \emph default
2815  Tasten -- sogenannte 
2816 \emph on
2817 dead keys
2818 \end_layout
2819
2820 \begin_layout Itemize
2821 Ausnahmen für tote Tasten.
2822 \end_layout
2823
2824 \begin_layout Standard
2825 Zur Definition einer Taste-Taste- oder Taste-String-Transformation dient
2826  folgender Befehl:
2827 \end_layout
2828
2829 \begin_layout Quotation
2830
2831 \family typewriter
2832
2833 \backslash
2834 kmap Taste Ausgabe
2835 \end_layout
2836
2837 \begin_layout Standard
2838 wobei 
2839 \family typewriter
2840 Taste
2841 \family default
2842  die zu übersetzende Taste bezeichnet und 
2843 \family typewriter
2844 Ausgabe
2845 \family default
2846  die Taste oder den String, der dafür in das Dokument eingefügt werden soll.
2847  Eine tote Taste definiert man mit:
2848 \begin_inset space ~
2849 \end_inset
2850
2851
2852 \end_layout
2853
2854 \begin_layout Quotation
2855
2856 \family typewriter
2857
2858 \backslash
2859 kmod
2860 \family default
2861  
2862 \family typewriter
2863 Taste Tote-Taste
2864 \end_layout
2865
2866 \begin_layout Standard
2867 wobei 
2868 \family typewriter
2869 Taste
2870 \family default
2871  wieder eine Taste auf der Tastatur bezeichnet und 
2872 \family typewriter
2873 Tote-Taste
2874 \family default
2875  der Name einer toten Taste ist.
2876  LyX unterstützt folgende toten Tasten (Abkürzungen in Klammern):
2877 \end_layout
2878
2879 \begin_layout Quotation
2880
2881 \emph on
2882 Name
2883 \begin_inset space \hfill{}
2884 \end_inset
2885
2886 Beispiel
2887 \end_layout
2888
2889 \begin_layout Quotation
2890 acute (acu)
2891 \begin_inset space \hfill{}
2892 \end_inset
2893
2894 áéíóú
2895 \end_layout
2896
2897 \begin_layout Quotation
2898 grave (gra)
2899 \begin_inset space \hfill{}
2900 \end_inset
2901
2902 àèìòù
2903 \end_layout
2904
2905 \begin_layout Quotation
2906 macron (mac)
2907 \begin_inset space \hfill{}
2908 \end_inset
2909
2910  ō
2911 \end_layout
2912
2913 \begin_layout Quotation
2914 tilde (til)
2915 \begin_inset space \hfill{}
2916 \end_inset
2917
2918 ñÑ
2919 \end_layout
2920
2921 \begin_layout Quotation
2922 underbar (underb)
2923 \begin_inset space \hfill{}
2924 \end_inset
2925
2926
2927 \begin_inset ERT
2928 status collapsed
2929
2930 \begin_layout Plain Layout
2931
2932
2933 \backslash
2934 b o
2935 \end_layout
2936
2937 \end_inset
2938
2939
2940 \end_layout
2941
2942 \begin_layout Quotation
2943 cedilla (ced)
2944 \begin_inset space \hfill{}
2945 \end_inset
2946
2947 çÇ
2948 \end_layout
2949
2950 \begin_layout Quotation
2951 underdot (underd)
2952 \begin_inset space \hfill{}
2953 \end_inset
2954
2955
2956 \begin_inset ERT
2957 status collapsed
2958
2959 \begin_layout Plain Layout
2960
2961
2962 \backslash
2963 d o
2964 \end_layout
2965
2966 \end_inset
2967
2968
2969 \end_layout
2970
2971 \begin_layout Quotation
2972 circumflex (circu)
2973 \begin_inset space \hfill{}
2974 \end_inset
2975
2976 âêîôû
2977 \end_layout
2978
2979 \begin_layout Quotation
2980 circle (circl)
2981 \begin_inset space \hfill{}
2982 \end_inset
2983
2984 ÅůŮ
2985 \end_layout
2986
2987 \begin_layout Quotation
2988 tie (tie)
2989 \begin_inset space \hfill{}
2990 \end_inset
2991
2992
2993 \begin_inset ERT
2994 status collapsed
2995
2996 \begin_layout Plain Layout
2997
2998
2999 \backslash
3000 t oo
3001 \end_layout
3002
3003 \end_inset
3004
3005
3006 \end_layout
3007
3008 \begin_layout Quotation
3009 breve (bre)
3010 \begin_inset space \hfill{}
3011 \end_inset
3012
3013 ă
3014 \begin_inset ERT
3015 status collapsed
3016
3017 \begin_layout Plain Layout
3018
3019
3020 \backslash
3021 u o
3022 \end_layout
3023
3024 \end_inset
3025
3026
3027 \end_layout
3028
3029 \begin_layout Quotation
3030 caron (car)
3031 \begin_inset space \hfill{}
3032 \end_inset
3033
3034 čšž
3035 \end_layout
3036
3037 \begin_layout Quotation
3038 hungarian umlaut (hug)
3039 \begin_inset space \hfill{}
3040 \end_inset
3041
3042 őű
3043 \end_layout
3044
3045 \begin_layout Quotation
3046 umlaut (uml)
3047 \begin_inset space \hfill{}
3048 \end_inset
3049
3050 äöü
3051 \end_layout
3052
3053 \begin_layout Quotation
3054 dot (dot)
3055 \begin_inset space \hfill{}
3056 \end_inset
3057
3058 ż
3059 \begin_inset ERT
3060 status collapsed
3061
3062 \begin_layout Plain Layout
3063
3064
3065 \backslash
3066 .s
3067 \end_layout
3068
3069 \end_inset
3070
3071
3072 \end_layout
3073
3074 \begin_layout Standard
3075 Da es auf vielen internationalen Tastaturen Ausnahmen dafür gibt, wie eine
3076  bestimmte tote Taste das folgende Zeichen verändern soll, können diese
3077  definiert werden, und zwar mit:
3078 \end_layout
3079
3080 \begin_layout Quotation
3081
3082 \family typewriter
3083
3084 \backslash
3085 kxmod
3086 \family default
3087  
3088 \family typewriter
3089 Tote-Taste Taste Ausgabe
3090 \end_layout
3091
3092 \begin_layout Standard
3093 Zum Beispiel soll caron-o auf einer slowakischen Tastatur ein circumflex-o
3094  erzeugen.
3095  Dies erreicht man mit:
3096 \end_layout
3097
3098 \begin_layout Quotation
3099
3100 \family typewriter
3101
3102 \backslash
3103 kxmod
3104 \family default
3105  
3106 \family typewriter
3107 caron o "
3108 \backslash
3109 ^o"
3110 \end_layout
3111
3112 \begin_layout Standard
3113 Auch müssen für die Buchstaben i und j Ausnahmen definiert werden, um den
3114  Punkt zu löschen, bevor ein Akzent eingefügt wird.
3115  Ich werde dies beizeiten ändern, hatte aber bisher noch keine Zeit dazu.
3116 \end_layout
3117
3118 \begin_layout Standard
3119 Ach so, zur Definition der Ausgabe: Der Backslash 
3120 \begin_inset Quotes gld
3121 \end_inset
3122
3123
3124 \family typewriter
3125
3126 \backslash
3127
3128 \family default
3129
3130 \begin_inset Quotes grd
3131 \end_inset
3132
3133  ist ein Sonderzeichen.
3134  Um ihn einzugeben, muss man einen doppelten Backslash 
3135 \begin_inset Quotes gld
3136 \end_inset
3137
3138
3139 \family typewriter
3140
3141 \backslash
3142
3143 \backslash
3144
3145 \family default
3146
3147 \begin_inset Quotes grd
3148 \end_inset
3149
3150  eingeben.
3151  Auch das Anführungszeichen 
3152 \begin_inset Quotes gld
3153 \end_inset
3154
3155 "
3156 \begin_inset Quotes grd
3157 \end_inset
3158
3159  und das Doppelkreuz 
3160 \begin_inset Quotes gld
3161 \end_inset
3162
3163
3164 \family typewriter
3165 #
3166 \family default
3167
3168 \begin_inset Quotes grd
3169 \end_inset
3170
3171  haben eine andere Bedeutung.
3172  
3173 \family typewriter
3174 #
3175 \family default
3176  bezeichnet einen Kommentar, Anführungszeichen markieren den Anfang und
3177  das Ende eines Strings (das heißt einer LaTeX-Befehlssequenz).
3178  Um diese Zeichen einzugeben, muss ein Backslash vorangestellt werden (also:
3179  
3180 \family typewriter
3181
3182 \backslash
3183 "
3184 \family default
3185  und 
3186 \family typewriter
3187
3188 \backslash
3189 #
3190 \family default
3191 ).
3192  Wenn Sie eine funktionierende Keymap-Datei für eine neue Sprache angefertigt
3193  haben, mailen Sie diese bitte an das Entwickler-Team, damit sie in die
3194  nächste Distribution integriert werden kann.
3195 \end_layout
3196
3197 \begin_layout Standard
3198 In Zukunft werden auch noch folgende Befehle unterstützt:
3199 \end_layout
3200
3201 \begin_layout Itemize
3202
3203 \family typewriter
3204
3205 \backslash
3206 kinclude Dateiname
3207 \family default
3208 \emph on
3209
3210 \begin_inset space \hfill{}
3211 \end_inset
3212
3213
3214 \emph default
3215 bindet eine andere Datei ein 
3216 \end_layout
3217
3218 \begin_layout Itemize
3219
3220 \family typewriter
3221
3222 \backslash
3223 kprog
3224 \family default
3225  
3226 \family typewriter
3227 Programm
3228 \family default
3229 \emph on
3230
3231 \begin_inset space \hfill{}
3232 \end_inset
3233
3234
3235 \emph default
3236  definiert ein externes Keymap-Programm 
3237 \end_layout
3238
3239 \begin_layout Standard
3240 Auch sollte es die 
3241 \family typewriter
3242 lyxrc-D
3243 \family default
3244 atei nach Voreinstellungen durchsuchen (zum Beispiel nach einer Option 
3245 \family typewriter
3246
3247 \backslash
3248 kinclude
3249 \family default
3250 , um eine Standardtastatur zu verwenden).
3251 \end_layout
3252
3253 \begin_layout Section
3254 Internationale Tastaturtabellen: 
3255 \emph on
3256 Keymaps
3257 \emph default
3258
3259 \begin_inset CommandInset label
3260 LatexCommand label
3261 name "sec:Internationale-Tastaturtabellen"
3262
3263 \end_inset
3264
3265
3266 \end_layout
3267
3268 \begin_layout Standard
3269 Die nächsten beiden Abschnitte beschreiben detailliert die Syntax der 
3270 \family typewriter
3271 .kmap
3272 \family default
3273 - und 
3274 \family typewriter
3275 .cdef
3276 \family default
3277 -Dateien.
3278  Diese Abschnitte sollten Ihnen dabei helfen, Ihre eigene Tastaturtabelle
3279  zu entwerfen, wenn die vorhandenen nicht ganz Ihren Bedürfnissen entsprechen.
3280 \end_layout
3281
3282 \begin_layout Subsection
3283 Die 
3284 \family typewriter
3285 .kmap
3286 \family default
3287 -Datei
3288 \begin_inset CommandInset label
3289 LatexCommand label
3290 name "sub:Die-.kmap-Datei"
3291
3292 \end_inset
3293
3294
3295 \end_layout
3296
3297 \begin_layout Standard
3298 Eine 
3299 \family sans
3300 \shape up
3301 .
3302 \family typewriter
3303 kmap
3304 \family default
3305 \shape default
3306 -Datei transformiert gedrückte Tasten zu Buchstaben oder Strings (Zeichenketten)
3307  -- es definiert ein 
3308 \emph on
3309 keyboard mapping
3310 \emph default
3311 .
3312  Im Folgenden werden die Schlüsselwörter 
3313 \family typewriter
3314 kmap
3315 \family default
3316
3317 \family typewriter
3318 kmod
3319 \family default
3320
3321 \family typewriter
3322 kxmod
3323 \family default
3324  und 
3325 \family typewriter
3326 kcomb
3327 \family default
3328  beschrieben.
3329 \end_layout
3330
3331 \begin_layout Labeling
3332 \labelwidthstring 00.00.0000
3333
3334 \family typewriter
3335 \shape up
3336 kmap
3337 \family default
3338 \shape default
3339  Transformiere einen Buchstaben zu einem String
3340 \end_layout
3341
3342 \begin_layout LyX-Code
3343
3344 \backslash
3345 kmap 
3346 \family roman
3347 \emph on
3348 Zeichen Ausgabe
3349 \end_layout
3350
3351 \begin_layout Standard
3352 Dieser Ausdruck definiert, dass 
3353 \emph on
3354 Zeichen
3355 \emph default
3356  zu 
3357 \emph on
3358 Ausgabe
3359 \emph default
3360  transformiert werden soll.
3361  Dabei müssen in 
3362 \emph on
3363 Ausgabe
3364 \emph default
3365  die Zeichen Backslash 
3366 \begin_inset Quotes gld
3367 \end_inset
3368
3369
3370 \family typewriter
3371
3372 \backslash
3373
3374 \family default
3375
3376 \begin_inset Quotes grd
3377 \end_inset
3378
3379  und Anführungszeichen 
3380 \begin_inset Quotes gld
3381 \end_inset
3382
3383
3384 \family typewriter
3385 "
3386 \family default
3387
3388 \begin_inset Quotes grd
3389 \end_inset
3390
3391  mit einem vorangehenden Backslash versehen werden.
3392  
3393 \end_layout
3394
3395 \begin_layout Standard
3396 Als Beispiel ein Ausdruck, der das Zeichen 
3397 \begin_inset Quotes gld
3398 \end_inset
3399
3400
3401 \family typewriter
3402 /
3403 \family default
3404
3405 \begin_inset Quotes grd
3406 \end_inset
3407
3408  ausgibt, wenn die Taste 
3409 \begin_inset Quotes gld
3410 \end_inset
3411
3412
3413 \family typewriter
3414 &
3415 \family default
3416
3417 \begin_inset Quotes grd
3418 \end_inset
3419
3420  gedrückt wurde:
3421 \end_layout
3422
3423 \begin_layout LyX-Code
3424
3425 \backslash
3426 kmap & /
3427 \end_layout
3428
3429 \begin_layout Labeling
3430 \labelwidthstring 00.00.0000
3431
3432 \family typewriter
3433 \shape up
3434 kmod
3435 \family default
3436 \shape default
3437  Spezifiziere ein Akzentzeichen 
3438 \end_layout
3439
3440 \begin_layout LyX-Code
3441
3442 \backslash
3443 kmod 
3444 \family roman
3445 \emph on
3446 Zeichen Akzent erlaubt
3447 \end_layout
3448
3449 \begin_layout Standard
3450 Dieser Ausdruck wird dafür sorgen, dass 
3451 \emph on
3452 Zeichen
3453 \emph default
3454  als ein bestimmter 
3455 \emph on
3456 Akzent
3457 \emph default
3458  interpretiert wird, und zwar bei allen Zeichen, die in 
3459 \emph on
3460 erlaubt
3461 \emph default
3462  aufgeführt sind.
3463  Dies ist der Mechanismus toter Tasten 
3464 \emph on
3465 (dead keys).
3466 \begin_inset Foot
3467 status collapsed
3468
3469 \begin_layout Plain Layout
3470 Der Ausdruck 
3471 \emph on
3472 tote
3473 \emph default
3474  
3475 \emph on
3476 Taste
3477 \emph default
3478  kommt daher, dass diese Taste allein kein Zeichen erzeugt, aber, gefolgt
3479  von einer anderen Taste, akzentuierte Zeichen erzeugt.
3480  Zum Beispiel kann auf diese Weise é
3481 \begin_inset Quotes grd
3482 \end_inset
3483
3484  erzeugt werden.
3485 \end_layout
3486
3487 \end_inset
3488
3489
3490 \emph default
3491  Wenn Sie die Taste 
3492 \emph on
3493 Zeichen
3494 \emph default
3495  drücken, gefolgt von einem Zeichen, das 
3496 \emph on
3497 nicht
3498 \emph default
3499  in 
3500 \emph on
3501 erlaubt
3502 \emph default
3503  aufgeführt wurde, werden einfach beide Zeichen einzeln ausgegeben.
3504 \end_layout
3505
3506 \begin_layout Standard
3507 Der folgende Ausdruck definiert, dass die Taste 
3508 \begin_inset Quotes gld
3509 \end_inset
3510
3511
3512 \family typewriter
3513 ^
3514 \family default
3515
3516 \begin_inset Quotes grd
3517 \end_inset
3518
3519  der circumflex-Akzent wird, wenn er von einem der Buchstaben a, e, i, o,
3520  u, A, E, I ,O oder U gefolgt wird:
3521 \end_layout
3522
3523 \begin_layout LyX-Code
3524
3525 \backslash
3526 kmod ^ circumflex aeiouAEIOU
3527 \end_layout
3528
3529 \begin_layout Labeling
3530 \labelwidthstring 00.00.0000
3531
3532 \family typewriter
3533 kxmod
3534 \family default
3535  Definiere eine Ausnahme zu einem Akzentzeichen
3536 \end_layout
3537
3538 \begin_layout LyX-Code
3539
3540 \backslash
3541 kxmod  
3542 \family roman
3543 \emph on
3544 Akzent Zeichen Ausgabe
3545 \end_layout
3546
3547 \begin_layout Standard
3548 Dieser Ausdruck definiert eine Ausnahme für die Wirkung, die 
3549 \emph on
3550 Akzent
3551 \emph default
3552  in Verbin\SpecialChar \-
3553 dung mit 
3554 \emph on
3555 Zeichen
3556 \emph default
3557  haben soll.
3558  Dabei muss 
3559 \emph on
3560 Akzent
3561 \emph default
3562  vorher mit Hilfe einer 
3563 \family typewriter
3564
3565 \backslash
3566 kmod
3567 \family default
3568 -Zeile einer Taste zugewiesen worden sein.
3569  Wenn Sie die Sequenz 
3570 \emph on
3571 Akzent, Zeichen
3572 \emph default
3573  drücken, wird 
3574 \emph on
3575 Ausgabe
3576 \emph default
3577  produziert.
3578  Falls solch eine Definition 
3579 \emph on
3580 nicht
3581 \emph default
3582  existiert, und Sie 
3583 \emph on
3584 Akzent, Zeichen
3585 \emph default
3586  eingeben, erhalten Sie das 
3587 \emph on
3588 Zeichen
3589 \emph default
3590  -- akzentuiert.
3591 \end_layout
3592
3593 \begin_layout Standard
3594 Der folgende Ausdruck sorgt dafür, dass LaTeX bei einem 
3595 \begin_inset Quotes gld
3596 \end_inset
3597
3598 i
3599 \begin_inset Quotes grd
3600 \end_inset
3601
3602  mit circumflex den I-Punkt entfernt, bevor das Akzentsymbol eingefügt wird:
3603 \end_layout
3604
3605 \begin_layout LyX-Code
3606
3607 \backslash
3608 kxmod circumflex i "
3609 \backslash
3610
3611 \backslash
3612 ^{
3613 \backslash
3614
3615 \backslash
3616 i}"
3617 \end_layout
3618
3619 \begin_layout Labeling
3620 \labelwidthstring 00.00.0000
3621
3622 \family typewriter
3623 kcomb
3624 \family default
3625  Kombiniere zwei Akzentsymbole
3626 \end_layout
3627
3628 \begin_layout LyX-Code
3629
3630 \backslash
3631 kcomb 
3632 \family roman
3633 \emph on
3634 Akzent1 Akzent2 erlaubt
3635 \end_layout
3636
3637 \begin_layout Standard
3638 Hier wird es ziemlich esoterisch.
3639  Dieser Ausdruck erlaubt die Kombination der Effekte von 
3640 \emph on
3641 Akzent1
3642 \emph default
3643  und 
3644 \emph on
3645 Akzent2
3646 \emph default
3647  (in dieser Reihenfolge!) bei allen 
3648 \emph on
3649 erlaubten
3650 \emph default
3651  Zei\SpecialChar \-
3652 chen.
3653  Die Bedeutungen von 
3654 \emph on
3655 Akzent1
3656 \emph default
3657  und 
3658 \emph on
3659 Akzent2
3660 \emph default
3661  müssen zuvor mit Hilfe von 
3662 \family typewriter
3663
3664 \backslash
3665 kmod
3666 \family default
3667  definiert worden sein.
3668 \end_layout
3669
3670 \begin_layout Standard
3671 Folgendes Beispiel aus der Datei 
3672 \family typewriter
3673 greek.kmap
3674 \family default
3675 :
3676 \end_layout
3677
3678 \begin_layout LyX-Code
3679
3680 \backslash
3681 kmod ; acute aeioyvhAEIOYVH 
3682 \end_layout
3683
3684 \begin_layout LyX-Code
3685
3686 \backslash
3687 kmod : umlaut iyIY 
3688 \end_layout
3689
3690 \begin_layout LyX-Code
3691
3692 \backslash
3693 kcomb acute umlaut iyIY
3694 \end_layout
3695
3696 \begin_layout Standard
3697 Diese Zeilen erlauben es, 
3698 \begin_inset Quotes gld
3699 \end_inset
3700
3701
3702 \family typewriter
3703 ;:i
3704 \family default
3705
3706 \begin_inset Quotes grd
3707 \end_inset
3708
3709  einzugeben und auf diese Weise 
3710 \begin_inset Quotes gld
3711 \end_inset
3712
3713
3714 \family typewriter
3715
3716 \backslash
3717 '{
3718 \backslash
3719 "{i}}
3720 \family default
3721
3722 \begin_inset Quotes grd
3723 \end_inset
3724
3725  zu erzeugen (
3726 \begin_inset ERT
3727 status collapsed
3728
3729 \begin_layout Plain Layout
3730
3731
3732 \backslash
3733 '{
3734 \backslash
3735 "{i}}
3736 \end_layout
3737
3738 \end_inset
3739
3740 ).
3741  In diesem Fall löscht die Backspace-Taste das letzte gedrückte Zei\SpecialChar \-
3742 chen.
3743  Wenn Sie also 
3744 \family typewriter
3745 ;:
3746 \family default
3747  
3748 \family sans
3749 Backspace
3750 \family default
3751  
3752 \family typewriter
3753 i
3754 \family default
3755  eingeben, erhalten Sie 
3756 \begin_inset Quotes gld
3757 \end_inset
3758
3759
3760 \family typewriter
3761
3762 \backslash
3763 '(i)
3764 \family default
3765
3766 \begin_inset Quotes grd
3767 \end_inset
3768
3769  (
3770 \begin_inset ERT
3771 status collapsed
3772
3773 \begin_layout Plain Layout
3774
3775
3776 \backslash
3777 'i
3778 \end_layout
3779
3780 \end_inset
3781
3782 ).
3783  
3784 \end_layout
3785
3786 \begin_layout Subsection
3787 Die 
3788 \family typewriter
3789 .cdef
3790 \family default
3791 -Datei
3792 \end_layout
3793
3794 \begin_layout Standard
3795 Nachdem LyX die 
3796 \family typewriter
3797 .kmap
3798 \family default
3799 -Datei verarbeitet hat, erklärt eine 
3800 \family typewriter
3801 .cdef
3802 \family default
3803 -Datei, wie die einzelnen Symbole im gegenwärtigen Zeichensatz dargestellt
3804  werden sollen.
3805  Die LyX-Dis\SpecialChar \-
3806 tri\SpecialChar \-
3807 bu\SpecialChar \-
3808 tion enthält wenigstens die Dateien 
3809 \begin_inset Flex URL
3810 status collapsed
3811
3812 \begin_layout Plain Layout
3813
3814 iso8859-1.cdef
3815 \end_layout
3816
3817 \end_inset
3818
3819  und 
3820 \family typewriter
3821 \shape up
3822 iso8859-
3823 \begin_inset Newline linebreak
3824 \end_inset
3825
3826 2.cdef
3827 \family default
3828 \shape default
3829 .
3830 \end_layout
3831
3832 \begin_layout Standard
3833 Generell besteht eine 
3834 \family typewriter
3835 .
3836 \shape up
3837 cdef
3838 \family default
3839 \shape default
3840 -Datei aus einer Reihe von Deklarationen der folgenden Form:
3841 \end_layout
3842
3843 \begin_layout LyX-Code
3844
3845 \family roman
3846 \emph on
3847 Position_im_Zeichensatz String
3848 \end_layout
3849
3850 \begin_layout Standard
3851 Um beispielsweise dem String (
3852 \emph on
3853 Ausgabe
3854 \emph default
3855  im vorigen Abschnitt) 
3856 \begin_inset Quotes gld
3857 \end_inset
3858
3859
3860 \family typewriter
3861 '{e}
3862 \family default
3863
3864 \begin_inset Quotes grd
3865 \end_inset
3866
3867  das ent\SpecialChar \-
3868 spre\SpecialChar \-
3869 chen\SpecialChar \-
3870 de Zeichen im ISO-8859-1 Zeichensatz (233) zuzuweisen, benutzt
3871  man folgenden Ausdruck:
3872 \end_layout
3873
3874 \begin_layout LyX-Code
3875 233 "
3876 \backslash
3877
3878 \backslash
3879 '{e}"
3880 \end_layout
3881
3882 \begin_layout Standard
3883 Wieder müssen den Zeichen 
3884 \begin_inset Quotes gld
3885 \end_inset
3886
3887
3888 \family typewriter
3889
3890 \backslash
3891
3892 \family default
3893
3894 \begin_inset Quotes grd
3895 \end_inset
3896
3897  und 
3898 \begin_inset Quotes gld
3899 \end_inset
3900
3901
3902 \family typewriter
3903 "
3904 \family default
3905
3906 \begin_inset Quotes grd
3907 \end_inset
3908
3909  ein Backslash vorangestellt werden.
3910  Beachten Sie, dass es durchaus möglich ist, dass dasselbe Zeichen (sinnvoll)
3911  zwei verschiedene Strings repräsentieren kann.
3912  Zum Beispiel in 
3913 \family typewriter
3914 i
3915 \shape up
3916 so-8859-7.cdef
3917 \family default
3918 \shape default
3919  gibt es die Zeilen:
3920 \end_layout
3921
3922 \begin_layout LyX-Code
3923 192 "
3924 \backslash
3925
3926 \backslash
3927 '{
3928 \backslash
3929
3930 \backslash
3931
3932 \backslash
3933 "{i}}"
3934 \begin_inset Newline newline
3935 \end_inset
3936
3937 192 "
3938 \backslash
3939
3940 \backslash
3941
3942 \backslash
3943 "{
3944 \backslash
3945
3946 \backslash
3947 '{i}}"
3948 \end_layout
3949
3950 \begin_layout Standard
3951 Wenn LyX kein passendes Zeichen für einen String finden kann, der durch
3952  eine Tastensequenz erzeugt wurde, wird es versuchen, falls der String wie
3953  ein akzentuierter Buchstabe aussieht, auf dem Bildschirm den Buchstaben
3954  mit Akzent selbst zu zeichnen.
3955 \end_layout
3956
3957 \begin_layout Subsection
3958 Tote Tasten definieren
3959 \end_layout
3960
3961 \begin_layout Standard
3962
3963 \emph on
3964 Anmerkung des Übersetzers: An dieser Stelle weiche ich krass vom Original
3965  ab.
3966  Der englische Text ist hier viel zu weitschweifig und ein bisschen konfus.
3967  -LA
3968 \end_layout
3969
3970 \begin_layout Standard
3971 Es gibt noch eine zweite Möglichkeit, internationale Buchstaben mit Hilfe
3972  von 
3973 \emph on
3974 toten
3975 \emph default
3976  
3977 \emph on
3978 Tasten (dead keys)
3979 \emph default
3980  zu erzeugen -- nämlich direkt in der 
3981 \family typewriter
3982 .bind
3983 \family default
3984 -Datei.
3985  Dazu ein einfaches Beispiel:
3986 \end_layout
3987
3988 \begin_layout Standard
3989 Nehmen wir an, Sie benötigen eine Zirkumflex-Taste.
3990  Diese können Sie definieren, indem Sie in der 
3991 \family typewriter
3992 lyxrc-D
3993 \family default
3994 atei folgende Zeile einfügen:
3995 \end_layout
3996
3997 \begin_layout Standard
3998
3999 \family typewriter
4000
4001 \backslash
4002 bind "asciicircum" "accent-circumflex"
4003 \end_layout
4004
4005 \begin_layout Standard
4006 Dabei ist 
4007 \family typewriter
4008 asciicircum
4009 \family default
4010  die Bezeichnung, die das X11-System für die 
4011 \begin_inset Quotes gld
4012 \end_inset
4013
4014
4015 \family typewriter
4016 ^
4017 \family default
4018
4019 \begin_inset Quotes grd
4020 \end_inset
4021
4022 -Taste verwendet.
4023 \begin_inset Foot
4024 status collapsed
4025
4026 \begin_layout Plain Layout
4027 Die Bezeichnungen anderer Symbole lassen sich ganz gut aus einer c-Include-Datei
4028  namens 
4029 \family typewriter
4030 keysymdef.h
4031 \family default
4032  ablesen.
4033  Meist findet man sie in 
4034 \family typewriter
4035 /usr/X11/include/X11/
4036 \family default
4037 .
4038 \end_layout
4039
4040 \end_inset
4041
4042  
4043 \family typewriter
4044 accent-circum\SpecialChar \-
4045 flex
4046 \family default
4047  ist ein LyX-Befehl, der den Zirkumflex-Akzent erzeugt.
4048 \end_layout
4049
4050 \begin_layout Standard
4051 Leider unterscheidet sich die Wirkungsweise der toten Tasten, die in 
4052 \family typewriter
4053 .lyxrc
4054 \family default
4055  definiert wurden, merklich von der, die in Abschnitt
4056 \begin_inset space ~
4057 \end_inset
4058
4059
4060 \begin_inset CommandInset ref
4061 LatexCommand vref
4062 reference "sub:Die-.kmap-Datei"
4063
4064 \end_inset
4065
4066  beschrieben wurde.
4067 \end_layout
4068
4069 \begin_layout Subsection
4070 Ihre Sprachkonfiguration einstellen
4071 \end_layout
4072
4073 \begin_layout Standard
4074 Sie können Ihre 
4075 \family typewriter
4076 lyxrc-D
4077 \family default
4078 atei so verändern, dass Ihre gewünschte Sprachumgebung automatisch geladen
4079  wird, wenn LyX gestartet wird.
4080  Dieser Abschnitt beschreibt Befehle, die folgendes spezifizieren:
4081 \end_layout
4082
4083 \begin_layout Itemize
4084 Standard-, erste und zweite Tastaturbelegung
4085 \end_layout
4086
4087 \begin_layout Itemize
4088 Zeichensatzkodierung
4089 \end_layout
4090
4091 \begin_layout Standard
4092 In Ihrer 
4093 \family typewriter
4094 lyxrc-D
4095 \family default
4096 atei finden Sie verschiedene Beispiele, wie man sie konfigurieren kann.
4097  Zum Beispiel können Sie einen Eintrag für eine Tastaturbelegung folgendermaßen
4098  vornehmen:
4099 \end_layout
4100
4101 \begin_layout LyX-Code
4102
4103 \backslash
4104 bind "american" "keymap-primary"
4105 \end_layout
4106
4107 \begin_layout Standard
4108 eine tote Taste 
4109 \emph on
4110 (dead key)
4111 \emph default
4112  definieren:
4113 \end_layout
4114
4115 \begin_layout LyX-Code
4116
4117 \backslash
4118 bind "Alt+,"  "accent-cedilla"
4119 \end_layout
4120
4121 \begin_layout Standard
4122 oder eine Zeichensatzkodierung festlegen:
4123 \end_layout
4124
4125 \begin_layout LyX-Code
4126 # Die Norm für die Bildschirmzeichensätze 
4127 \end_layout
4128
4129 \begin_layout LyX-Code
4130 # Voreinstellung ist iso8859-1.
4131 \end_layout
4132
4133 \begin_layout LyX-Code
4134
4135 \backslash
4136 font_norm iso8859-2
4137 \end_layout
4138
4139 \begin_layout Chapter
4140 Installieren neuer Textklassen, Layouts und Vorlagen
4141 \begin_inset CommandInset label
4142 LatexCommand label
4143 name "cha:Installieren-neuer-Textklassen"
4144
4145 \end_inset
4146
4147
4148 \end_layout
4149
4150 \begin_layout Standard
4151 In diesem Abschnitt wird beschrieben, wie Sie beim Installieren neuer Layout-
4152  und Vorlagedateien vorgehen müssen, außerdem auch eine kleine Auf\SpecialChar \textcompwordmark{}
4153 frischung,
4154  wie man neue Dokumentenklassen für LaTeX korrekt installiert.
4155  Zunächst ein paar Definitionen:
4156 \end_layout
4157
4158 \begin_layout Standard
4159 Eine 
4160 \emph on
4161 Dokumentenklasse
4162 \emph default
4163  ist eine LaTeX-Datei (normalerweise mit der Endung 
4164 \family typewriter
4165 .cls
4166 \family default
4167  oder 
4168 \family typewriter
4169 .sty
4170 \family default
4171 ), die das Format einer speziellen Art von Dokument beschreibt, etwa Artikel,
4172  Brief usw., und auch alle dazu notwendigen Befehle definiert.
4173 \end_layout
4174
4175 \begin_layout Standard
4176 Eine 
4177 \emph on
4178 Layout-Datei
4179 \emph default
4180  ist eine LyX-Datei, die einer LaTeX-Dokumentenklasse ent\SpecialChar \-
4181 spricht und LyX
4182  mitteilt, wie die diversen Formatelemente am Bildschirm dar\SpecialChar \-
4183 ge\SpecialChar \-
4184 stellt werden
4185  sollen, damit der Eindruck möglichst gut dem späteren Druckbild entspricht.
4186  Genauer gesagt beschreibt eine Layoutdatei eine 
4187 \emph on
4188 Textklasse
4189 \emph default
4190 , das interne Konstrukt, welches LyX verwendet, um den Text am Bildschirm
4191  darzustellen.
4192 \end_layout
4193
4194 \begin_layout Standard
4195
4196 \emph on
4197 Layout
4198 \emph default
4199  und 
4200 \emph on
4201 Textklasse
4202 \emph default
4203  sind somit in gewisser Weise äquivalent, aber es ist besser, die Datei
4204  als Layout zu bezeichnen und die interne Realisation im Speicher von LyX
4205  als Textklasse.
4206  Eine Vorlage ist einfach ein LyX-Dokument, welches bereits einige vordefinierte
4207  Einträge für eine bestimmte Textklasse enthält.
4208  Derartige Vorlagen sind beispielsweise für Briefe oder Artikel für Zeitschrifte
4209 n sehr hilfreich.
4210 \end_layout
4211
4212 \begin_layout Section
4213 Installation eines neuen LaTeX-Paketes
4214 \end_layout
4215
4216 \begin_layout Standard
4217 Bei manchen TeX-Installationen fehlt möglicherweise das eine oder andere
4218  Paket, das Sie gerne mit LyX verwenden würden.
4219  Zum Beispiel wollen Sie FoilTeX verwenden, ein Paket zur Erstellung von
4220  Dias und Folien für Overheadprojektoren.
4221  Moderne LaTeX-Distributionen wie TeXLive (2008 oder neuer) oder MiKTeX
4222  besitzen ein grafisches Programm um solche Pakete zu installieren.
4223  Z.
4224 \begin_inset space \thinspace{}
4225 \end_inset
4226
4227 B.
4228  bei MiKTeX starten Sie das Programm 
4229 \begin_inset Quotes gld
4230 \end_inset
4231
4232 Package
4233 \begin_inset space ~
4234 \end_inset
4235
4236 Manager
4237 \begin_inset Quotes grd
4238 \end_inset
4239
4240  um eine Liste mit den verfügbaren Paketen zu bekommen.
4241  Um eines davon zu installieren, rechts-klicken Sie oder benutzen den entspreche
4242 nden Werkzeugleistenknopf.
4243 \end_layout
4244
4245 \begin_layout Standard
4246 Falls Ihre LaTeX-Distribution keinen Paketmanager besitzt, oder falls das
4247  Paket nicht direkt über Ihre Distribution verfügbar ist, folgen Sie diesen
4248  Schritten um es manuell zu installieren:
4249 \end_layout
4250
4251 \begin_layout Enumerate
4252 Besorgen Sie sich das Paket von 
4253 \begin_inset CommandInset href
4254 LatexCommand href
4255 name "CTAN"
4256 target "http://www.ctan.org/"
4257
4258 \end_inset
4259
4260  oder einer anderen Quelle.
4261 \end_layout
4262
4263 \begin_layout Enumerate
4264 Falls das Paket eine Datei mit der Endung 
4265 \begin_inset Quotes gld
4266 \end_inset
4267
4268
4269 \begin_inset Flex Code
4270 status collapsed
4271
4272 \begin_layout Plain Layout
4273 .ins
4274 \end_layout
4275
4276 \end_inset
4277
4278
4279 \begin_inset Quotes grd
4280 \end_inset
4281
4282  enthält (was bei FoilTeX der Fall ist), dann öffnen sie eine Kommandozeile
4283  wechseln in das Verzeichnis der Datei und führen den Befehl
4284 \begin_inset Newline newline
4285 \end_inset
4286
4287
4288 \family sans
4289 latex foiltex.ins
4290 \family default
4291
4292 \begin_inset Newline newline
4293 \end_inset
4294
4295 aus.
4296  Sie haben damit dass Paket entpackt und haben alle Dateien um es zu installiere
4297 n.
4298  Die meisten LaTeX-Pakete sind nicht gepackt und man kann direkt mit der
4299  Installation beginnen:
4300 \end_layout
4301
4302 \begin_layout Enumerate
4303 Nun müssen Sie entscheiden, ob das Paket für alle Nutzer oder nur für Sie
4304  verfügbar sein soll.
4305 \end_layout
4306
4307 \begin_deeper
4308 \begin_layout Enumerate
4309 Bei *nix Systemen (Linux, OSX, etc.), wenn Sie das Paket für alle Nutzer
4310  installieren möchten, installieren Sie es in den lokalen TeX Ordner; anderenfal
4311 ls installieren Sie es in dein eigenen 
4312 \begin_inset Quotes gld
4313 \end_inset
4314
4315 Benutzer
4316 \begin_inset Quotes grd
4317 \end_inset
4318
4319 -TeX Ordner.
4320  Wo man diese Ordner anlegt, sofern sie nicht schon existieren, hängt von
4321  Ihrem System ab.
4322  Dazu schauen Sie in die Datei 
4323 \begin_inset Flex Code
4324 status collapsed
4325
4326 \begin_layout Plain Layout
4327 texmf.cnf
4328 \end_layout
4329
4330 \end_inset
4331
4332 .
4333 \begin_inset Foot
4334 status collapsed
4335
4336 \begin_layout Plain Layout
4337 Diese befindet sich normalerweise im Ordner 
4338 \family sans
4339 $TEXMF/web2c
4340 \family default
4341 .
4342  Falls nicht, führen Sie den Befehl 
4343 \begin_inset Flex Code
4344 status collapsed
4345
4346 \begin_layout Plain Layout
4347 kpsewhich texmf.cnf
4348 \end_layout
4349
4350 \end_inset
4351
4352  aus, um sie zu lokalisieren.
4353 \end_layout
4354
4355 \end_inset
4356
4357  Der Ort des lokalen TeX Ordners ist in der Variable 
4358 \begin_inset Flex Code
4359 status collapsed
4360
4361 \begin_layout Plain Layout
4362 TEXMFLOCAL
4363 \end_layout
4364
4365 \end_inset
4366
4367  definiert; es ist üblicherweise der Pfad 
4368 \family sans
4369 /usr/local/share/texmf/
4370 \family default
4371  .
4372  Der Ort des Benutzer-TeX Ordners ist in der Variable 
4373 \begin_inset Flex Code
4374 status collapsed
4375
4376 \begin_layout Plain Layout
4377 TEXMFHOME
4378 \end_layout
4379
4380 \end_inset
4381
4382  definiert und ist üblicherweise der Pfad 
4383 \family sans
4384 $HOME/texmf/
4385 \family default
4386  .
4387  (Wenn diese Variablen nicht vordefiniert sind, müssen Sie diese selbst
4388  definieren.) Sie brauchen wahrscheinlich Root-Rechte um in den lokalen TeX
4389  Ordner zu schreiben, beim Benutzer-TeX Ordner ist die nicht nötig.
4390 \begin_inset Newline newline
4391 \end_inset
4392
4393 Allgemein empfiehlt es sich, Pakete in den Benutzer-TeX Ordner zu installieren,
4394  da dieser nicht verändert oder gar überschrieben wird, wenn Sie ihr System
4395  aktualisieren.
4396  Des Weiteren wird er zusammen mit Ihren Nutzerdaten gesichert, wenn Sie
4397  ein Backup machen (was Sie natürlich regelmäßig tun).
4398 \end_layout
4399
4400 \begin_layout Enumerate
4401 Bei Windows, wenn Sie das Paket für alle Nutzer installieren möchten, gehen
4402  Sie in den Ordner, in dem LaTeX installiert ist und wechseln dort in das
4403  Verzeichnis 
4404 \family sans
4405 ~tex
4406 \backslash
4407 latex
4408 \family default
4409 .
4410  (Verwendet man MiKTeX, wäre es standardmäßig der Ordner 
4411 \family sans
4412 ~:
4413 \backslash
4414 Programme
4415 \backslash
4416 MiKTeX
4417 \backslash
4418 tex
4419 \backslash
4420 latex
4421 \family default
4422  .) Legen Sie dort einen neuen Ordner mit dem Namen 
4423 \begin_inset Quotes gld
4424 \end_inset
4425
4426 foiltex
4427 \begin_inset Quotes grd
4428 \end_inset
4429
4430  an und kopieren Sie alle Dateien das Pakets hinein.
4431  Wenn das Paket nur für den aktuellen Benutzer verfügbar sein soll bzw.
4432  Sie keine Administrator-Rechte haben, tun Sie dasselbe, aber im lokalen
4433  LaTeX-Ordner.
4434  Z.
4435 \begin_inset space \thinspace{}
4436 \end_inset
4437
4438 B.
4439  bei MiKTeX
4440 \begin_inset space ~
4441 \end_inset
4442
4443 2.8 wäre das unter WinXP der Ordner
4444 \begin_inset Newline newline
4445 \end_inset
4446
4447
4448 \family sans
4449 ~:
4450 \backslash
4451 Dokumente und Einstellungen
4452 \backslash
4453 <Benutzername>
4454 \backslash
4455 Anwendungsdaten
4456 \backslash
4457
4458 \begin_inset Newline newline
4459 \end_inset
4460
4461
4462 \begin_inset Phantom HPhantom
4463 status open
4464
4465 \begin_layout Plain Layout
4466
4467 \family sans
4468 ~:
4469 \backslash
4470
4471 \end_layout
4472
4473 \end_inset
4474
4475 MiKTeX
4476 \backslash
4477 2.8
4478 \backslash
4479 tex
4480 \backslash
4481 latex
4482 \family default
4483
4484 \begin_inset Newline newline
4485 \end_inset
4486
4487 , unter WinVista wäre es der Ordner
4488 \begin_inset Newline newline
4489 \end_inset
4490
4491
4492 \family sans
4493 ~:
4494 \backslash
4495 Users
4496 \backslash
4497 <Benutzername>
4498 \backslash
4499 AppData
4500 \backslash
4501 Roaming
4502 \backslash
4503 2.8
4504 \backslash
4505 MiKTeX
4506 \backslash
4507 tex
4508 \backslash
4509 latex
4510 \family default
4511  .
4512 \end_layout
4513
4514 \end_deeper
4515 \begin_layout Enumerate
4516 Jetzt muss man LaTeX nur noch mitteilen, dass es neue Dateien gibt.
4517  Die ist je nach LaTeX-Distribution anders:
4518 \end_layout
4519
4520 \begin_deeper
4521 \begin_layout Enumerate
4522 Bei TeXLive führen Sie von einer Kommandozeile den Befehl 
4523 \begin_inset Flex Code
4524 status collapsed
4525
4526 \begin_layout Plain Layout
4527 texhash
4528 \end_layout
4529
4530 \end_inset
4531
4532  aus.
4533  Wenn Sie das Paket für alle Nutzer installiert haben, brauchen sie dazu
4534  wahrscheinlich Root-Rechte.
4535 \end_layout
4536
4537 \begin_layout Enumerate
4538 Bei MiKTeX, wenn Sie das Paket für alle Nutzer installiert haben, starten
4539  Sie das Programm 
4540 \begin_inset Quotes gld
4541 \end_inset
4542
4543 Settings
4544 \begin_inset space ~
4545 \end_inset
4546
4547 (Admin)
4548 \begin_inset Quotes grd
4549 \end_inset
4550
4551  und drücken dann auf den Kopf 
4552 \begin_inset Quotes gld
4553 \end_inset
4554
4555 Refresh FNDB
4556 \begin_inset Quotes grd
4557 \end_inset
4558
4559 .
4560  Anderenfalls starten Sie das Programm 
4561 \begin_inset Quotes gld
4562 \end_inset
4563
4564 Settings
4565 \begin_inset Quotes grd
4566 \end_inset
4567
4568  und machen dasselbe.
4569 \end_layout
4570
4571 \end_deeper
4572 \begin_layout Enumerate
4573 Nun muss man LyX noch mitteilen, dass es neue Pakete gibt.
4574  Verwenden Sie dazu in LyX das Menü 
4575 \family sans
4576 Werkzeuge\SpecialChar \menuseparator
4577 Neu
4578 \begin_inset space \space{}
4579 \end_inset
4580
4581 konfigurieren
4582 \family default
4583  und starten LyX danach neu.
4584 \end_layout
4585
4586 \begin_layout Standard
4587 Nun ist das Paket installiert.
4588  In unserem Beispiel wird nun die Dokumentklasse 
4589 \begin_inset Flex Code
4590 status collapsed
4591
4592 \begin_layout Plain Layout
4593 Slides
4594 \begin_inset space ~
4595 \end_inset
4596
4597 (FoilTe
4598 \begin_inset ERT
4599 status collapsed
4600
4601 \begin_layout Plain Layout
4602
4603 {}
4604 \end_layout
4605
4606 \end_inset
4607
4608 x)
4609 \end_layout
4610
4611 \end_inset
4612
4613  im Menü 
4614 \family sans
4615 Dokument\SpecialChar \menuseparator
4616 Einstellungen\SpecialChar \menuseparator
4617 Dokumentklasse
4618 \family default
4619  verfügbar sein.
4620 \end_layout
4621
4622 \begin_layout Standard
4623 Möchten sie eine LaTeX-Dokumentklasse verwenden, die generell nicht im Menü
4624  
4625 \family sans
4626 Dokument\SpecialChar \menuseparator
4627 Einstellungen\SpecialChar \menuseparator
4628 Dokumentklasse
4629 \family default
4630  gelistet ist, müssen Sie dafür selbst ein 
4631 \begin_inset Quotes gld
4632 \end_inset
4633
4634 Layout
4635 \begin_inset Quotes grd
4636 \end_inset
4637
4638  erstellen.
4639  Dies ist das Thema des nächsten Abschnitts.
4640 \end_layout
4641
4642 \begin_layout Section
4643 Layout-Dateitypen
4644 \end_layout
4645
4646 \begin_layout Standard
4647
4648 \lang english
4649 This section describes the various sorts of LyX files that contain layout
4650  information.
4651  These files describe various paragraph and character styles, determining
4652  how LyX should display them and how they should be translated into LaTeX,
4653  DocBook, XHTML, or whatever output format is being used.
4654  
4655 \end_layout
4656
4657 \begin_layout Standard
4658
4659 \lang english
4660 We shall try to provide a thorough description of the process of writing
4661  layout files here.
4662  However, there are so many different types of documents supported even
4663  by just LaTeX that we can't hope to cover every different possibility or
4664  problem you might encounter.
4665  The LyX users' list is frequented by people with lots of experience with
4666  layout design who are willing to share what they've learned, so please
4667  feel free to ask questions there.
4668 \end_layout
4669
4670 \begin_layout Standard
4671
4672 \lang english
4673 As you prepare to write a new layout, it is extremely helpful to look at
4674  the layouts distributed with LyX.
4675  If you write a LyX layout for a LaTeX document class that might also be
4676  used by others, or write a module that might be useful to others, then
4677  you should consider posting your layout to the 
4678 \begin_inset CommandInset href
4679 LatexCommand href
4680 name "layout section on the LyX wiki"
4681 target "http://wiki.lyx.org/Layouts/Layouts"
4682
4683 \end_inset
4684
4685  or even to the LyX developers' list, so that it might be included in LyX
4686  itself.
4687 \begin_inset Foot
4688 status collapsed
4689
4690 \begin_layout Plain Layout
4691
4692 \lang english
4693 Note that LyX is licensed under the General Public License, so any material
4694  that is contributed to LyX must be similarly licensed.
4695 \end_layout
4696
4697 \end_inset
4698
4699
4700 \end_layout
4701
4702 \begin_layout Subsection
4703 Layout Module
4704 \begin_inset CommandInset label
4705 LatexCommand label
4706 name "sub:Layout-Module"
4707
4708 \end_inset
4709
4710
4711 \end_layout
4712
4713 \begin_layout Standard
4714
4715 \lang english
4716 We have spoken to this point about `layout files'.
4717  But there are different sorts of files that contain layout information.
4718  Layout files, strictly so called, have the 
4719 \begin_inset Flex Code
4720 status collapsed
4721
4722 \begin_layout Plain Layout
4723
4724 \lang english
4725 .layout
4726 \end_layout
4727
4728 \end_inset
4729
4730  extension and provide LyX with information about document classes.
4731  As of LyX 1.6, however, layout information can also be contained in layout
4732  
4733 \emph on
4734 modules
4735 \emph default
4736 , which have the 
4737 \begin_inset Flex Code
4738 status collapsed
4739
4740 \begin_layout Plain Layout
4741
4742 \lang english
4743 .module
4744 \end_layout
4745
4746 \end_inset
4747
4748  extension.
4749  Modules are to LaTeX packages much as layouts are to LaTeX classes, and
4750  some modules—such as the 
4751 \begin_inset Flex Code
4752 status collapsed
4753
4754 \begin_layout Plain Layout
4755
4756 \lang english
4757 endnotes
4758 \end_layout
4759
4760 \end_inset
4761
4762  module—specifically provide support for one package.
4763  In a sense, layout modules are similar to included
4764 \begin_inset Foot
4765 status collapsed
4766
4767 \begin_layout Plain Layout
4768
4769 \lang english
4770 These can have any extension, but by convention have the 
4771 \begin_inset Flex Code
4772 status collapsed
4773
4774 \begin_layout Plain Layout
4775
4776 \lang english
4777 .inc
4778 \end_layout
4779
4780 \end_inset
4781
4782  extension.
4783 \end_layout
4784
4785 \end_inset
4786
4787  files—files like 
4788 \begin_inset Flex Code
4789 status collapsed
4790
4791 \begin_layout Plain Layout
4792
4793 \lang english
4794 stdsections.inc
4795 \end_layout
4796
4797 \end_inset
4798
4799 —in that modules are not specific to a given document class but may be used
4800  with many different classes.
4801  The difference is that using an included file with 
4802 \begin_inset Flex Code
4803 status collapsed
4804
4805 \begin_layout Plain Layout
4806
4807 \lang english
4808 article.cls
4809 \end_layout
4810
4811 \end_inset
4812
4813  requires editing that file.
4814  Modules, by contrast, are selected in the 
4815 \begin_inset Flex MenuItem
4816 status collapsed
4817
4818 \begin_layout Plain Layout
4819
4820 \lang english
4821 Document\SpecialChar \menuseparator
4822 Settings
4823 \end_layout
4824
4825 \end_inset
4826
4827  dialog.
4828 \end_layout
4829
4830 \begin_layout Standard
4831
4832 \lang english
4833 Building modules is the easiest way to get started with layout editing,
4834  since it can be as simple as adding a single new paragraph style or flex
4835  inset.
4836  But modules may, in principle, contain anything a layout file can contain.
4837 \end_layout
4838
4839 \begin_layout Standard
4840
4841 \lang english
4842 After creating a new module and copying it to the 
4843 \begin_inset Flex Code
4844 status collapsed
4845
4846 \begin_layout Plain Layout
4847
4848 \lang english
4849 layouts/
4850 \end_layout
4851
4852 \end_inset
4853
4854  folder, you will need to reconfigure and then restart LyX for the module
4855  to appear in the menu.
4856  However, changes you make to the module will be seen immediately, if you
4857  open 
4858 \begin_inset Flex MenuItem
4859 status collapsed
4860
4861 \begin_layout Plain Layout
4862
4863 \lang english
4864 Document\SpecialChar \menuseparator
4865 Settings
4866 \end_layout
4867
4868 \end_inset
4869
4870 , highlight something, and then hit 
4871 \begin_inset Quotes eld
4872 \end_inset
4873
4874 OK
4875 \begin_inset Quotes erd
4876 \end_inset
4877
4878 .
4879  
4880 \emph on
4881 It is strongly recommended that you save your work before doing this
4882 \emph default
4883 .
4884  In fact, 
4885 \emph on
4886 it is strongly recommended that you not attempt to edit modules while simultaneo
4887 usly working on actual documents
4888 \emph default
4889 .
4890  Though of course the developers strive to keep LyX stable in such situations,
4891  syntax errors and the like in your module file could cause strange behavior.
4892 \end_layout
4893
4894 \begin_layout Subsubsection
4895 Lokales Format
4896 \end_layout
4897
4898 \begin_layout Standard
4899
4900 \lang english
4901 Modules are to LyX as packages are to LaTeX.
4902  Sometimes, however, you find yourself wanting a specific inset or character
4903  style just for one document and writing a module that will also be available
4904  to other documents makes little sense.
4905  What you need is LyX's 
4906 \begin_inset Quotes eld
4907 \end_inset
4908
4909 Local Layout
4910 \begin_inset Quotes erd
4911 \end_inset
4912
4913 .
4914 \end_layout
4915
4916 \begin_layout Standard
4917
4918 \lang english
4919 You will find it under 
4920 \family sans
4921 Document\SpecialChar \menuseparator
4922 Settings\SpecialChar \menuseparator
4923 Local Layout
4924 \family default
4925 .
4926  The large text box allows you to enter anything that you might enter in
4927  a layout file or module.
4928  You can think of a document's local layout, in fact, as a module that belongs
4929  just to it.
4930  So, in particular, you must enter a 
4931 \begin_inset Flex Code
4932 status collapsed
4933
4934 \begin_layout Plain Layout
4935
4936 \lang english
4937 Format
4938 \end_layout
4939
4940 \end_inset
4941
4942  tag.
4943  Any format is acceptable, but one would normally use the format current
4944  at the time.
4945  (In LyX 2.0, the current layout format is 35.) You should be aware that local
4946  layout is not supported by versions of LyX prior to 1.6, so you should not
4947  use it if you want to be able to export your document to LyX 1.5 or earlier
4948  (without, that is, losing the local layout information).
4949  If you wish to be able to export to 1.6---local layout is supported in 1.6,
4950  though there is no UI for it---then you should use format 11 and, of course,
4951  use only layout constructs that were available in LyX 1.6.
4952 \end_layout
4953
4954 \begin_layout Standard
4955
4956 \lang english
4957 When you have entered something in the 
4958 \begin_inset Flex Code
4959 status collapsed
4960
4961 \begin_layout Plain Layout
4962
4963 \lang english
4964 Local Layout
4965 \end_layout
4966
4967 \end_inset
4968
4969  pane, LyX will enable the 
4970 \begin_inset Quotes eld
4971 \end_inset
4972
4973 Validate
4974 \begin_inset Quotes erd
4975 \end_inset
4976
4977  button at the bottom.
4978  Clicking this button will cause LyX to determine whether what you have
4979  entered is valid layout information for the chosen format.
4980  LyX will report the result but, unfortunately, will not tell you what errors
4981  there might have been.
4982  These will be written to the terminal, however, if LyX is started from
4983  a terminal.
4984  You will not be permitted to save your local layout until you have entered
4985  something valid.
4986 \end_layout
4987
4988 \begin_layout Standard
4989
4990 \lang english
4991 The warnings at the end of the previous section apply here, too.
4992  Do not play with local layout while you are actually working, especially
4993  if you have not saved your document.
4994  That said, using local layout with a test document can be a very convenient
4995  way to try out layout ideas, or even to start developing a module.
4996 \end_layout
4997
4998 \begin_layout Subsection
4999 Layout für 
5000 \begin_inset Flex MenuItem
5001 status collapsed
5002
5003 \begin_layout Plain Layout
5004 .sty
5005 \end_layout
5006
5007 \end_inset
5008
5009 -Dateien
5010 \end_layout
5011
5012 \begin_layout Standard
5013
5014 \lang english
5015 There are two situations you are likely to encounter when wanting to support
5016  a new LaTeX document class, involving style (
5017 \begin_inset Flex Code
5018 status collapsed
5019
5020 \begin_layout Plain Layout
5021
5022 \lang english
5023 .sty
5024 \end_layout
5025
5026 \end_inset
5027
5028 ) files and LaTeX2e class (
5029 \begin_inset Flex Code
5030 status collapsed
5031
5032 \begin_layout Plain Layout
5033
5034 \lang english
5035 .cls
5036 \end_layout
5037
5038 \end_inset
5039
5040 ) .
5041  Supporting a style file is usually fairly easy.
5042  Supporting a new class file is a bit harder.
5043  We'll discuss the former in this section and the latter in the next.
5044  Similar remarks apply, of course, if you want to support a new DocBook
5045  DTD.
5046 \end_layout
5047
5048 \begin_layout Standard
5049
5050 \lang english
5051 The easier case is the one in which your new document class is provided
5052  as a style file that is to be used in conjunction with an already supported
5053  document class.
5054  For the sake of the example, we'll assume that the style file is called
5055  
5056 \begin_inset Flex MenuItem
5057 status collapsed
5058
5059 \begin_layout Plain Layout
5060
5061 \lang english
5062 myclass.sty
5063 \end_layout
5064
5065 \end_inset
5066
5067  and that it is meant to be used with 
5068 \begin_inset Flex MenuItem
5069 status collapsed
5070
5071 \begin_layout Plain Layout
5072
5073 \lang english
5074 report.cls
5075 \end_layout
5076
5077 \end_inset
5078
5079 , which is a standard class.
5080  
5081 \end_layout
5082
5083 \begin_layout Standard
5084
5085 \lang english
5086 Start by copying the existing class's layout file into your local directory:
5087 \begin_inset Foot
5088 status collapsed
5089
5090 \begin_layout Plain Layout
5091
5092 \lang english
5093 Of course, which directory is your local directory will vary by platform,
5094  and LyX allows you to specify your local directory on startup, too, using
5095  the 
5096 \begin_inset Flex Code
5097 status collapsed
5098
5099 \begin_layout Plain Layout
5100
5101 \lang english
5102 -userdir
5103 \end_layout
5104
5105 \end_inset
5106
5107  option.
5108 \end_layout
5109
5110 \end_inset
5111
5112
5113 \end_layout
5114
5115 \begin_layout LyX-Code
5116
5117 \lang english
5118 cp report.layout ~/.lyx/layouts/myclass.layout
5119 \end_layout
5120
5121 \begin_layout Standard
5122
5123 \lang english
5124 Then edit 
5125 \begin_inset Flex Code
5126 status collapsed
5127
5128 \begin_layout Plain Layout
5129
5130 \lang english
5131 myclass.layout
5132 \end_layout
5133
5134 \end_inset
5135
5136  and change the line: 
5137 \end_layout
5138
5139 \begin_layout LyX-Code
5140
5141 \lang english
5142
5143 \backslash
5144 DeclareLaTeXClass{report}
5145 \end_layout
5146
5147 \begin_layout Standard
5148
5149 \lang english
5150 to read
5151 \end_layout
5152
5153 \begin_layout LyX-Code
5154
5155 \lang english
5156
5157 \backslash
5158 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
5159 \end_layout
5160
5161 \begin_layout Standard
5162
5163 \lang english
5164 Then add:
5165 \end_layout
5166
5167 \begin_layout LyX-Code
5168
5169 \lang english
5170 Preamble 
5171 \begin_inset Newline newline
5172 \end_inset
5173
5174     
5175 \backslash
5176 usepackage{myclass}
5177 \begin_inset Newline newline
5178 \end_inset
5179
5180 EndPreamble
5181 \end_layout
5182
5183 \begin_layout Standard
5184
5185 \lang english
5186 near the top of the file.
5187 \end_layout
5188
5189 \begin_layout Standard
5190
5191 \lang english
5192 Start LyX and select 
5193 \begin_inset Flex MenuItem
5194 status collapsed
5195
5196 \begin_layout Plain Layout
5197
5198 \lang english
5199 Tools\SpecialChar \menuseparator
5200 Reconfigure
5201 \end_layout
5202
5203 \end_inset
5204
5205 .
5206  Then restart LyX and try creating a new document.
5207  You should see "
5208 \begin_inset Flex MenuItem
5209 status collapsed
5210
5211 \begin_layout Plain Layout
5212
5213 \lang english
5214 report (myclass)
5215 \end_layout
5216
5217 \end_inset
5218
5219 " as a document class option in the 
5220 \begin_inset Flex MenuItem
5221 status collapsed
5222
5223 \begin_layout Plain Layout
5224
5225 \lang english
5226 Document\SpecialChar \menuseparator
5227 Settings
5228 \end_layout
5229
5230 \end_inset
5231
5232  dialog.
5233  It is likely that some of the sectioning commands and such in your new
5234  class will work differently from how they worked in the base class—
5235 \begin_inset Flex Code
5236 status collapsed
5237
5238 \begin_layout Plain Layout
5239
5240 \lang english
5241 report
5242 \end_layout
5243
5244 \end_inset
5245
5246  in this example—so you can fiddle around with the settings for the different
5247  sections if you wish.
5248  The layout information for sections is contained in 
5249 \begin_inset Flex Code
5250 status collapsed
5251
5252 \begin_layout Plain Layout
5253
5254 \lang english
5255 stdsections.inc
5256 \end_layout
5257
5258 \end_inset
5259
5260 , but you do not need to copy and change this file.
5261  Instead, you can simply add your changes to your layout file, after the
5262  line 
5263 \begin_inset Flex Code
5264 status collapsed
5265
5266 \begin_layout Plain Layout
5267
5268 \lang english
5269 Input stdclass.inc
5270 \end_layout
5271
5272 \end_inset
5273
5274 , which itself includes 
5275 \begin_inset Flex Code
5276 status collapsed
5277
5278 \begin_layout Plain Layout
5279
5280 \lang english
5281 stdsections.inc
5282 \end_layout
5283
5284 \end_inset
5285
5286 .
5287  For example, you might add these lines:
5288 \end_layout
5289
5290 \begin_layout LyX-Code
5291
5292 \lang english
5293 Style Chapter
5294 \end_layout
5295
5296 \begin_layout LyX-Code
5297
5298 \lang english
5299     Font
5300 \end_layout
5301
5302 \begin_layout LyX-Code
5303
5304 \lang english
5305         Family Sans
5306 \end_layout
5307
5308 \begin_layout LyX-Code
5309
5310 \lang english
5311     EndFont
5312 \end_layout
5313
5314 \begin_layout LyX-Code
5315
5316 \lang english
5317 End
5318 \end_layout
5319
5320 \begin_layout Standard
5321
5322 \lang english
5323 to change the font for chapter headings to sans-serif.
5324  This will override (or, in this case, add to) the existing declaration
5325  for the Chapter style.
5326  
5327 \end_layout
5328
5329 \begin_layout Standard
5330
5331 \lang english
5332 Your new package may also provide commands or environments not present in
5333  the base class.
5334  In this case, you will want to add these to the layout file.
5335  See 
5336 \begin_inset CommandInset ref
5337 LatexCommand ref
5338 reference "sec:Das-Layout-Dateiformat"
5339
5340 \end_inset
5341
5342  for information on how to do so.
5343 \end_layout
5344
5345 \begin_layout Standard
5346
5347 \lang english
5348 If 
5349 \begin_inset Flex MenuItem
5350 status collapsed
5351
5352 \begin_layout Plain Layout
5353
5354 \lang english
5355 myclass.sty
5356 \end_layout
5357
5358 \end_inset
5359
5360  can be used with several different document classes, and even if it cannot,
5361  you might find it easiest just to write a module that you can load with
5362  the base class.
5363  The simplest possible such module would be:
5364 \end_layout
5365
5366 \begin_layout LyX-Code
5367
5368 \lang english
5369 #
5370 \backslash
5371 DeclareLyXModule{My Package} 
5372 \end_layout
5373
5374 \begin_layout LyX-Code
5375
5376 \lang english
5377 #DescriptionBegin 
5378 \end_layout
5379
5380 \begin_layout LyX-Code
5381
5382 \lang english
5383 #Support for mypkg.sty.
5384 \end_layout
5385
5386 \begin_layout LyX-Code
5387
5388 \lang english
5389 #DescriptionEnd
5390 \begin_inset Newline newline
5391 \end_inset
5392
5393
5394 \end_layout
5395
5396 \begin_layout LyX-Code
5397
5398 \lang english
5399 Format 21
5400 \begin_inset Newline newline
5401 \end_inset
5402
5403
5404 \end_layout
5405
5406 \begin_layout LyX-Code
5407
5408 \lang english
5409 Preamble
5410 \begin_inset Newline newline
5411 \end_inset
5412
5413     
5414 \backslash
5415 usepackage{mypkg}
5416 \begin_inset Newline newline
5417 \end_inset
5418
5419 EndPreamble
5420 \end_layout
5421
5422 \begin_layout Standard
5423
5424 \lang english
5425 A more complex module might modify the behavior of some existing constructs
5426  or define some new ones.
5427  Again, see 
5428 \begin_inset CommandInset ref
5429 LatexCommand ref
5430 reference "sec:Das-Layout-Dateiformat"
5431
5432 \end_inset
5433
5434  for discussion.
5435 \end_layout
5436
5437 \begin_layout Subsection
5438 Layout für 
5439 \begin_inset Flex MenuItem
5440 status collapsed
5441
5442 \begin_layout Plain Layout
5443 .cls
5444 \end_layout
5445
5446 \end_inset
5447
5448 -Dateien
5449 \end_layout
5450
5451 \begin_layout Standard
5452
5453 \lang english
5454 There are two possibilities here.
5455  One is that the class file is itself based upon an existing document class.
5456  For example, many thesis classes are based upon 
5457 \begin_inset Flex MenuItem
5458 status collapsed
5459
5460 \begin_layout Plain Layout
5461
5462 \lang english
5463 book.cls
5464 \end_layout
5465
5466 \end_inset
5467
5468 .
5469  To see whether yours is, look for a line like
5470 \end_layout
5471
5472 \begin_layout LyX-Code
5473
5474 \lang english
5475
5476 \backslash
5477 LoadClass{book}
5478 \end_layout
5479
5480 \begin_layout Standard
5481
5482 \lang english
5483 in the file.
5484  If so, then you may proceed largely as in the previous section, though
5485  the 
5486 \begin_inset Flex Code
5487 status collapsed
5488
5489 \begin_layout Plain Layout
5490
5491 \lang english
5492 DeclareLaTeXClass
5493 \end_layout
5494
5495 \end_inset
5496
5497  line will be different.
5498  If your new class is 
5499 \begin_inset Flex Code
5500 status collapsed
5501
5502 \begin_layout Plain Layout
5503
5504 \lang english
5505 thesis
5506 \end_layout
5507
5508 \end_inset
5509
5510  and it is based upon 
5511 \begin_inset Flex Code
5512 status collapsed
5513
5514 \begin_layout Plain Layout
5515
5516 \lang english
5517 book
5518 \end_layout
5519
5520 \end_inset
5521
5522 , then the line should read:
5523 \begin_inset Foot
5524 status collapsed
5525
5526 \begin_layout Plain Layout
5527
5528 \lang english
5529 And it will be easiest if you save the file to 
5530 \begin_inset Flex Code
5531 status collapsed
5532
5533 \begin_layout Plain Layout
5534
5535 \lang english
5536 thesis.layout
5537 \end_layout
5538
5539 \end_inset
5540
5541 : LyX assumes that the document class has the same name as the layout file.
5542  
5543 \end_layout
5544
5545 \end_inset
5546
5547
5548 \end_layout
5549
5550 \begin_layout LyX-Code
5551
5552 \lang english
5553
5554 \backslash
5555 DeclareLaTeXClass[thesis,book]{thesis}
5556 \end_layout
5557
5558 \begin_layout Standard
5559
5560 \lang english
5561 If, on the other hand, the new class is not based upon an existing class,
5562  you will probably have to 
5563 \begin_inset Quotes eld
5564 \end_inset
5565
5566 roll your own
5567 \begin_inset Quotes erd
5568 \end_inset
5569
5570  layout.
5571  We strongly suggest copying an existing layout file which uses a similar
5572  LaTeX class and then modifying it, if you can do so.
5573  At least use an existing file as a starting point so you can find out what
5574  items you need to worry about.
5575  Again, the specifics are covered below.
5576 \end_layout
5577
5578 \begin_layout Subsection
5579 Vorlagen erstellen
5580 \begin_inset CommandInset label
5581 LatexCommand label
5582 name "sub:Vorlagen-erstellen"
5583
5584 \end_inset
5585
5586
5587 \end_layout
5588
5589 \begin_layout Standard
5590
5591 \lang english
5592 Once you have written a layout file for a new document class, you might
5593  want to consider writing a 
5594 \emph on
5595 template
5596 \emph default
5597  for it, too.
5598  A template acts as a kind of tutorial for your layout, showing how it might
5599  be used, though containing dummy content.
5600  You can of course look at the various templates included with LyX for ideas.
5601 \end_layout
5602
5603 \begin_layout Standard
5604
5605 \lang english
5606 Templates are created just like usual documents: using LyX.
5607  The only difference is that usual documents contain all possible settings,
5608  including the font scheme and the paper size.
5609  Usually a user doesn't want a template to overwrite his preferred settings
5610  for such parameters.
5611  For that reason, the designer of a template should remove the corresponding
5612  commands like 
5613 \begin_inset Flex Code
5614 status collapsed
5615
5616 \begin_layout Plain Layout
5617
5618 \lang english
5619
5620 \backslash
5621 font_roman
5622 \end_layout
5623
5624 \end_inset
5625
5626  or 
5627 \begin_inset Flex Code
5628 status collapsed
5629
5630 \begin_layout Plain Layout
5631
5632 \lang english
5633
5634 \backslash
5635 papersize
5636 \end_layout
5637
5638 \end_inset
5639
5640  from the template LyX file.
5641  This can be done with any simple text-editor, for example 
5642 \begin_inset Flex Code
5643 status collapsed
5644
5645 \begin_layout Plain Layout
5646
5647 \lang english
5648 vi
5649 \end_layout
5650
5651 \end_inset
5652
5653  or 
5654 \begin_inset Flex Code
5655 status collapsed
5656
5657 \begin_layout Plain Layout
5658
5659 \lang english
5660 notepad
5661 \end_layout
5662
5663 \end_inset
5664
5665 .
5666  
5667 \end_layout
5668
5669 \begin_layout Standard
5670
5671 \lang english
5672 Put the edited template files you create in 
5673 \begin_inset Flex Code
5674 status collapsed
5675
5676 \begin_layout Plain Layout
5677
5678 \lang english
5679 UserDir/templates/
5680 \end_layout
5681
5682 \end_inset
5683
5684 , copy the ones you use from the global template directory in 
5685 \begin_inset Flex Code
5686 status collapsed
5687
5688 \begin_layout Plain Layout
5689
5690 \lang english
5691 LyXDir/templates/
5692 \end_layout
5693
5694 \end_inset
5695
5696  to the same place, and redefine the template path in the 
5697 \begin_inset Flex MenuItem
5698 status collapsed
5699
5700 \begin_layout Plain Layout
5701
5702 \lang english
5703 Tools\SpecialChar \menuseparator
5704 Preferences\SpecialChar \menuseparator
5705 Paths
5706 \end_layout
5707
5708 \end_inset
5709
5710  dialog.
5711 \end_layout
5712
5713 \begin_layout Standard
5714
5715 \lang english
5716 Note, by the way, that there is a template which has a particular meaning:
5717 \begin_inset Newline newline
5718 \end_inset
5719
5720
5721 \begin_inset Flex Code
5722 status collapsed
5723
5724 \begin_layout Plain Layout
5725
5726 \lang english
5727 defaults.lyx
5728 \end_layout
5729
5730 \end_inset
5731
5732 .
5733  This template is loaded every time you create a new document with 
5734 \begin_inset Flex MenuItem
5735 status collapsed
5736
5737 \begin_layout Plain Layout
5738
5739 \lang english
5740 File\SpecialChar \menuseparator
5741 New
5742 \end_layout
5743
5744 \end_inset
5745
5746  in order to provide useful defaults.
5747  To create this template from inside LyX, all you have to do is to open
5748  a document with the correct settings, and use the 
5749 \begin_inset Flex MenuItem
5750 status collapsed
5751
5752 \begin_layout Plain Layout
5753
5754 \lang english
5755 Save as Document Defaults
5756 \end_layout
5757
5758 \end_inset
5759
5760  button.
5761 \end_layout
5762
5763 \begin_layout Subsection
5764 Alte Layout-Dateien auf den neuesten Stand bringen
5765 \end_layout
5766
5767 \begin_layout Standard
5768
5769 \lang english
5770 The format of layout files changes with each LyX release, so old layout
5771  files need to be converted to the new format.
5772  This process has been automated since LyX 1.4: If LyX reads a layout file
5773  in an older format, it automatically calls the script 
5774 \begin_inset Flex Code
5775 status collapsed
5776
5777 \begin_layout Plain Layout
5778
5779 \lang english
5780 layout2layout.py
5781 \end_layout
5782
5783 \end_inset
5784
5785  to convert it to a temporary file in current format.
5786  The original file is left untouched.
5787  If you use the layout file often, then, you may want to convert it permanently,
5788  so that LyX does not have to do so itself every time.
5789  To do this, you can call the converter manually:
5790 \end_layout
5791
5792 \begin_layout LyX-Code
5793
5794 \lang english
5795 mv myclass.layout myclass.old
5796 \end_layout
5797
5798 \begin_layout LyX-Code
5799
5800 \lang english
5801 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
5802 \end_layout
5803
5804 \begin_layout Standard
5805
5806 \lang english
5807 You need to replace 
5808 \begin_inset Flex Code
5809 status collapsed
5810
5811 \begin_layout Plain Layout
5812
5813 \lang english
5814 LyXDir
5815 \end_layout
5816
5817 \end_inset
5818
5819  with the name of your LyX system directory, of course.
5820 \end_layout
5821
5822 \begin_layout Standard
5823
5824 \lang english
5825 Note that manual conversion does not affect included files, so these will
5826  have to be converted separately.
5827 \end_layout
5828
5829 \begin_layout Section
5830 Das Layout-Dateiformat
5831 \begin_inset CommandInset label
5832 LatexCommand label
5833 name "sec:Das-Layout-Dateiformat"
5834
5835 \end_inset
5836
5837
5838 \end_layout
5839
5840 \begin_layout Standard
5841
5842 \lang english
5843 When it's finally time to get your hands dirty and create or edit your own
5844  layout file, the following sections describe what you're up against.
5845  Our advice is to go slowly, save and test often, listen to soothing music,
5846  and enjoy one or two of your favorite adult beverages; more if you are
5847  getting particularly stuck.
5848  It's really not that hard, except that the multitude of options can become
5849  overwhelming if you try to do too much in one sitting.
5850  Go have another adult beverage, just for good measure.
5851 \end_layout
5852
5853 \begin_layout Standard
5854
5855 \lang english
5856 Note that all the tags used in layout files are case-insensitive.
5857  This means that 
5858 \begin_inset Flex Code
5859 status collapsed
5860
5861 \begin_layout Plain Layout
5862
5863 \lang english
5864 Style
5865 \end_layout
5866
5867 \end_inset
5868
5869
5870 \begin_inset Flex Code
5871 status collapsed
5872
5873 \begin_layout Plain Layout
5874
5875 \lang english
5876 style
5877 \end_layout
5878
5879 \end_inset
5880
5881  and 
5882 \begin_inset Flex Code
5883 status collapsed
5884
5885 \begin_layout Plain Layout
5886
5887 \lang english
5888 StYlE
5889 \end_layout
5890
5891 \end_inset
5892
5893  are really the same tag.
5894  The possible values are printed in brackets after the feature's name.
5895  The default value if a feature isn't specified inside a text class-description
5896  is typeset 
5897 \begin_inset Flex Code
5898 status collapsed
5899
5900 \begin_layout Plain Layout
5901
5902 \emph on
5903 \lang english
5904 emphasized
5905 \end_layout
5906
5907 \end_inset
5908
5909 .
5910  If the argument has a data type like 
5911 \begin_inset Quotes eld
5912 \end_inset
5913
5914 string
5915 \begin_inset Quotes erd
5916 \end_inset
5917
5918  or 
5919 \begin_inset Quotes eld
5920 \end_inset
5921
5922 float
5923 \begin_inset Quotes erd
5924 \end_inset
5925
5926 , the default is shown like this: 
5927 \begin_inset Flex Code
5928 status collapsed
5929
5930 \begin_layout Plain Layout
5931
5932 \lang english
5933 float=
5934 \emph on
5935 default
5936 \end_layout
5937
5938 \end_inset
5939
5940 .
5941 \end_layout
5942
5943 \begin_layout Subsection
5944 Deklaration einer neuen Textklasse
5945 \end_layout
5946
5947 \begin_layout Standard
5948 Zeilen, die mit einem 
5949 \family typewriter
5950 #
5951 \family default
5952  beginnen, sind Kommentare.
5953  Mit einer Ausnahme: alle Textklassen sollten mit Zeilen ähnlich wie den
5954  folgenden beginnen:
5955 \end_layout
5956
5957 \begin_layout LyX-Code
5958
5959 \size small
5960 #% Do not delete the line below; configure depends on this
5961 \end_layout
5962
5963 \begin_layout LyX-Code
5964
5965 \size small
5966 #  
5967 \backslash
5968 DeclareLaTe
5969 \family typewriter
5970 \size default
5971
5972 \begin_inset ERT
5973 status collapsed
5974
5975 \begin_layout Plain Layout
5976
5977 {}
5978 \end_layout
5979
5980 \end_inset
5981
5982
5983 \family default
5984 \size small
5985 XClass{article}
5986 \end_layout
5987
5988 \begin_layout Standard
5989 Die zweite Zeile wird benötigt, wenn Sie LyX konfigurieren.
5990  Die Textklassen-Datei wird von dem LaTeX-Skript 
5991 \family typewriter
5992
5993 \begin_inset Flex URL
5994 status collapsed
5995
5996 \begin_layout Plain Layout
5997
5998 chkconfig.ltx
5999 \end_layout
6000
6001 \end_inset
6002
6003
6004 \family default
6005  gelesen, und zwar in einem speziellen Modus, in dem 
6006 \family typewriter
6007 #
6008 \family default
6009 -Zeichen ignoriert werden.
6010  Die erste Zeile ist einfach ein LaTeX-Kommentar, in der zweiten wird die
6011  Textklasse deklariert.
6012  Eine Datei namens
6013 \begin_inset Newline newline
6014 \end_inset
6015
6016
6017 \family typewriter
6018 article.layout
6019 \family default
6020 , die mit diesen beiden Zeilen beginnt, definiert eine Textklasse mit dem
6021  Namen 
6022 \family typewriter
6023 article
6024 \family default
6025  und benutzt die LaTeX-Dokumentenklasse 
6026 \family typewriter
6027 article.cls
6028 \family default
6029 .
6030  
6031 \emph on
6032 article
6033 \emph default
6034  ist auch die Beschreibung, die später im Popup-Menü 
6035 \family sans
6036 Dokument\SpecialChar \menuseparator
6037 Einstellungen
6038 \family default
6039  auftaucht.
6040  
6041 \end_layout
6042
6043 \begin_layout Standard
6044 Angenommen, Sie möchten Ihre eigene Textklasse schreiben, welche die LaTeX-Doku\SpecialChar \-
6045 m
6046 en\SpecialChar \-
6047 tenklasse 
6048 \family typewriter
6049 article
6050 \family default
6051  benutzt, in der Sie aber das Aussehen der Kopfzeile verändert haben.
6052  Wenn Sie dann Ihre Textklasse in eine Datei namens 
6053 \family typewriter
6054 myarticle.
6055 \begin_inset Newline linebreak
6056 \end_inset
6057
6058 layout
6059 \family default
6060  schreiben, sollten die ersten beiden Zeilen der Datei etwa so aussehen:
6061 \end_layout
6062
6063 \begin_layout LyX-Code
6064
6065 \size small
6066 #% Do not delete the line below; configure depends on this
6067 \end_layout
6068
6069 \begin_layout LyX-Code
6070
6071 \size small
6072 #  
6073 \backslash
6074 DeclareLaTe
6075 \family typewriter
6076 \size default
6077
6078 \begin_inset ERT
6079 status collapsed
6080
6081 \begin_layout Plain Layout
6082
6083 {}
6084 \end_layout
6085
6086 \end_inset
6087
6088
6089 \family default
6090 \size small
6091 XClass[article]{article (with my own headings)}
6092 \end_layout
6093
6094 \begin_layout Standard
6095 Auf diese Weise deklarieren Sie eine Textklasse 
6096 \family typewriter
6097 myarticle
6098 \family default
6099 , die die LaTeX
6100 \begin_inset ERT
6101 status collapsed
6102
6103 \begin_layout Plain Layout
6104
6105 "=
6106 \end_layout
6107
6108 \end_inset
6109
6110 Dokumentklasse 
6111 \family typewriter
6112 article.cls
6113 \family default
6114  verwendet und (im Popup-Menü) beschrieben wird mit: 
6115 \family sans
6116 article (with my own headings)
6117 \family default
6118 .
6119  Falls Ihre Textklasse auch noch von weiteren Paketen abhängt, können Sie
6120  das so angeben:
6121 \end_layout
6122
6123 \begin_layout LyX-Code
6124
6125 \size small
6126 #% Do not delete the line below; configure depends on this
6127 \end_layout
6128
6129 \begin_layout LyX-Code
6130
6131 \size small
6132 #  
6133 \backslash
6134 DeclareLaTe
6135 \family typewriter
6136 \size default
6137
6138 \begin_inset ERT
6139 status collapsed
6140
6141 \begin_layout Plain Layout
6142
6143 {}
6144 \end_layout
6145
6146 \end_inset
6147
6148
6149 \family default
6150 \size small
6151 XClass[article,foo.sty]{article (with my own head
6152 \begin_inset ERT
6153 status collapsed
6154
6155 \begin_layout Plain Layout
6156
6157 "-
6158 \end_layout
6159
6160 \end_inset
6161
6162 ings)}
6163 \end_layout
6164
6165 \begin_layout Standard
6166 Dadurch wird angezeigt, dass Ihre Klasse auch das Paket 
6167 \family typewriter
6168 foo.sty
6169 \family default
6170  verwendet.
6171  Schließlich können Sie auch Klassen für DocBook festlegen.
6172  Eine typische Deklaration sieht so aus:
6173 \end_layout
6174
6175 \begin_layout LyX-Code
6176
6177 \end_layout
6178
6179 \begin_layout LyX-Code
6180
6181 \size small
6182 #% Do not delete the line below; configure depends on this
6183 \end_layout
6184
6185 \begin_layout LyX-Code
6186
6187 \size small
6188
6189 \backslash
6190 DeclareDocBookClass[article]{SGML (DocBook article)}
6191 \end_layout
6192
6193 \begin_layout Standard
6194 Diesen Deklarationen kann außerdem ein optionaler Parameter zugefügt werden,
6195  der den Namen der Dokumentenklasse festlegt (hier ist aber keine Liste
6196  erlaubt).
6197 \end_layout
6198
6199 \begin_layout Standard
6200 Wenn Sie eine Textklasse nach Ihrem Geschmack erstellt haben, müssen Sie
6201  die Datei nur noch in das Verzeichnis 
6202 \family typewriter
6203 Ly
6204 \begin_inset ERT
6205 status collapsed
6206
6207 \begin_layout Plain Layout
6208
6209 {}
6210 \end_layout
6211
6212 \end_inset
6213
6214 XDir/layouts/
6215 \family default
6216  oder nach 
6217 \family typewriter
6218 UserDir/layouts
6219 \family default
6220  kopieren und unter LyX den Menüpunkt 
6221 \family sans
6222 Werkzeuge\SpecialChar \menuseparator
6223 Neu
6224 \begin_inset space \space{}
6225 \end_inset
6226
6227 konfigurieren
6228 \family default
6229  auswählen.
6230  Nach dem Neustart von LyX sollte Ihre Textklasse im Popup-Menü 
6231 \family sans
6232 Dokument\SpecialChar \menuseparator
6233 Einstellungen
6234 \family default
6235  auswählbar sein.
6236 \end_layout
6237
6238 \begin_layout Subsection
6239
6240 \lang english
6241 The Module declaration
6242 \end_layout
6243
6244 \begin_layout Standard
6245
6246 \lang english
6247 A module must begin with a line like the following:
6248 \end_layout
6249
6250 \begin_layout LyX-Code
6251 #
6252 \backslash
6253 DeclareLyXModule[endnotes.sty]{Endnotes} 
6254 \end_layout
6255
6256 \begin_layout Standard
6257
6258 \lang english
6259 The mandatory argument, in curly brackets, is the name of the module, as
6260  it should appear in 
6261 \begin_inset Flex MenuItem
6262 status collapsed
6263
6264 \begin_layout Plain Layout
6265
6266 \lang english
6267 Document\SpecialChar \menuseparator
6268 Settings\SpecialChar \menuseparator
6269 Modules
6270 \end_layout
6271
6272 \end_inset
6273
6274 .
6275  The argument in square brackets is optional: It declares any LaTeX packages
6276  on which the module depends.
6277  Please note that only packages about which LyX knows should be listed in
6278  the square brackets.
6279 \begin_inset Foot
6280 status collapsed
6281
6282 \begin_layout Plain Layout
6283
6284 \lang english
6285 The list of such packages is documented only in the source code.
6286 \end_layout
6287
6288 \end_inset
6289
6290  LyX will not check for arbitrary packages.
6291  It is also possible to use the form 
6292 \begin_inset Flex MenuItem
6293 status collapsed
6294
6295 \begin_layout Plain Layout
6296
6297 \lang english
6298 from->to
6299 \end_layout
6300
6301 \end_inset
6302
6303  as an optional argument, which declares that the module can only be used
6304  when there exists a conversion chain between the formats `
6305 \begin_inset Flex Code
6306 status collapsed
6307
6308 \begin_layout Plain Layout
6309
6310 \lang english
6311 from
6312 \end_layout
6313
6314 \end_inset
6315
6316 ' and `
6317 \begin_inset Flex Code
6318 status collapsed
6319
6320 \begin_layout Plain Layout
6321
6322 \lang english
6323 to
6324 \end_layout
6325
6326 \end_inset
6327
6328 '.
6329 \end_layout
6330
6331 \begin_layout Standard
6332
6333 \lang english
6334 The module declaration should then be followed by lines like the following
6335 \begin_inset Foot
6336 status collapsed
6337
6338 \begin_layout Plain Layout
6339
6340 \lang english
6341 Preferably in English if the module should be published with LyX.
6342  This description will appear in the list of messages to be translated and
6343  will be thus translated with the next interface update.
6344 \end_layout
6345
6346 \end_inset
6347
6348 :
6349 \end_layout
6350
6351 \begin_layout LyX-Code
6352 #DescriptionBegin 
6353 \end_layout
6354
6355 \begin_layout LyX-Code
6356 #Adds an endnote command, in addition to footnotes.
6357  
6358 \end_layout
6359
6360 \begin_layout LyX-Code
6361 #You will need to add  
6362 \backslash
6363 theendnotes in TeX code where you 
6364 \end_layout
6365
6366 \begin_layout LyX-Code
6367 #want the endnotes to appear.
6368  
6369 \end_layout
6370
6371 \begin_layout LyX-Code
6372 #DescriptionEnd 
6373 \end_layout
6374
6375 \begin_layout LyX-Code
6376 #Requires: somemodule | othermodule
6377 \end_layout
6378
6379 \begin_layout LyX-Code
6380 #Excludes: badmodule
6381 \end_layout
6382
6383 \begin_layout Standard
6384
6385 \lang english
6386 The description is used in 
6387 \begin_inset Flex MenuItem
6388 status collapsed
6389
6390 \begin_layout Plain Layout
6391
6392 \lang english
6393 Document\SpecialChar \menuseparator
6394 Settings\SpecialChar \menuseparator
6395 Modules
6396 \end_layout
6397
6398 \end_inset
6399
6400  to provide the user with information about what the module does.
6401  The 
6402 \begin_inset Flex Code
6403 status collapsed
6404
6405 \begin_layout Plain Layout
6406
6407 \lang english
6408 Requires
6409 \end_layout
6410
6411 \end_inset
6412
6413  line is used to identify other modules with which this one must be used;
6414  the 
6415 \begin_inset Flex Code
6416 status collapsed
6417
6418 \begin_layout Plain Layout
6419
6420 \lang english
6421 Excludes
6422 \end_layout
6423
6424 \end_inset
6425
6426  line is used to identify modules with which this one may not be used.
6427  Both are optional, and, as shown, multiple modules should be separated
6428  with the pipe symbol: |.
6429  Note that the required modules are treated disjunctively: 
6430 \emph on
6431 at least one
6432 \emph default
6433  of the required modules must be used.
6434  Similarly, 
6435 \emph on
6436 no
6437 \emph default
6438  excluded module may be used.
6439  Note that modules are identified here by their 
6440 \emph on
6441 filenames
6442 \emph default
6443  without the 
6444 \begin_inset Flex Code
6445 status collapsed
6446
6447 \begin_layout Plain Layout
6448
6449 \lang english
6450 .module
6451 \end_layout
6452
6453 \end_inset
6454
6455  extension.
6456  So 
6457 \begin_inset Flex Code
6458 status collapsed
6459
6460 \begin_layout Plain Layout
6461
6462 \lang english
6463 somemodule
6464 \end_layout
6465
6466 \end_inset
6467
6468  is really 
6469 \begin_inset Flex Code
6470 status collapsed
6471
6472 \begin_layout Plain Layout
6473
6474 \lang english
6475 somemodule.module
6476 \end_layout
6477
6478 \end_inset
6479
6480 .
6481 \end_layout
6482
6483 \begin_layout Subsection
6484 Dateiformat
6485 \end_layout
6486
6487 \begin_layout Standard
6488 Die erste Zeile, die kein Kommentar ist, muss die Dateiformatnummer enthalten:
6489 \end_layout
6490
6491 \begin_layout Description
6492
6493 \family typewriter
6494 \begin_inset Flex Code
6495 status collapsed
6496
6497 \begin_layout Plain Layout
6498 Format
6499 \end_layout
6500
6501 \end_inset
6502
6503  [
6504 \begin_inset Flex Code
6505 status collapsed
6506
6507 \begin_layout Plain Layout
6508 int
6509 \end_layout
6510
6511 \end_inset
6512
6513
6514 \family default
6515 \lang english
6516 The format of the layout file.
6517 \end_layout
6518
6519 \begin_layout Standard
6520
6521 \lang english
6522 This tag was introduced with LyX 1.4.0.
6523  Layout files from LyX 1.3.x and earlier don't have an explicit file format
6524  and are considered to be of format 1.
6525  The format for the present version of LyX is format 21.
6526  But each version of LyX is capable of reading earlier versions' layout
6527  files, just as they are capable of reading files produced by earlier versions
6528  of LyX.
6529  There is, however, no provision for converting to earlier formats.
6530  So LyX 1.6.x will not read layout files in format 21 but only files in format
6531  11 or earlier.
6532 \end_layout
6533
6534 \begin_layout Subsection
6535 Allgemeine Parameter für Textklassen
6536 \begin_inset CommandInset label
6537 LatexCommand label
6538 name "sub:Allgemeine-Parameter-für"
6539
6540 \end_inset
6541
6542
6543 \end_layout
6544
6545 \begin_layout Standard
6546 Nachfolgend allgemeine Parameter, die die Form des gesamten Dokumentes be\SpecialChar \-
6547 schrei\SpecialChar \-
6548 b
6549 en:
6550 \end_layout
6551
6552 \begin_layout Description
6553
6554 \family typewriter
6555 \begin_inset Flex Code
6556 status collapsed
6557
6558 \begin_layout Plain Layout
6559 AddToHTMLPreamble
6560 \end_layout
6561
6562 \end_inset
6563
6564  
6565 \family default
6566 \lang english
6567 Adds information that will be output in the 
6568 \begin_inset Flex Code
6569 status collapsed
6570
6571 \begin_layout Plain Layout
6572
6573 \lang english
6574 <head>
6575 \end_layout
6576
6577 \end_inset
6578
6579  block when this document class is output to XHTML.
6580  Typically, this would be used to output CSS style information, but it can
6581  be used for anything that can appear in 
6582 \begin_inset Flex Code
6583 status collapsed
6584
6585 \begin_layout Plain Layout
6586
6587 \lang english
6588 <head>
6589 \end_layout
6590
6591 \end_inset
6592
6593 .
6594  Must end with 
6595 \begin_inset Quotes eld
6596 \end_inset
6597
6598
6599 \begin_inset Flex Code
6600 status collapsed
6601
6602 \begin_layout Plain Layout
6603
6604 \lang english
6605 EndPreamble
6606 \end_layout
6607
6608 \end_inset
6609
6610
6611 \begin_inset Quotes erd
6612 \end_inset
6613
6614 .
6615 \end_layout
6616
6617 \begin_layout Description
6618
6619 \family typewriter
6620 \series medium
6621 AddToPreamble
6622 \family default
6623 \series default
6624  
6625 \begin_inset space ~
6626 \end_inset
6627
6628
6629 \begin_inset Newline newline
6630 \end_inset
6631
6632 fügt Informationen zum LaTeX-Vorspann hinzu und muss mir 
6633 \family typewriter
6634 EndPreamble
6635 \family default
6636  beendet werden.
6637 \end_layout
6638
6639 \begin_layout Description
6640
6641 \family typewriter
6642 \begin_inset Flex Code
6643 status collapsed
6644
6645 \begin_layout Plain Layout
6646 CiteFormat
6647 \end_layout
6648
6649 \end_inset
6650
6651  
6652 \family default
6653 \lang english
6654 Defines formats for use in the display of bibliographic information.
6655  See Section 
6656 \begin_inset CommandInset ref
6657 LatexCommand ref
6658 reference "sub:Citation-format-description"
6659
6660 \end_inset
6661
6662  for details.
6663  Must end with 
6664 \begin_inset Quotes eld
6665 \end_inset
6666
6667
6668 \begin_inset Flex Code
6669 status collapsed
6670
6671 \begin_layout Plain Layout
6672
6673 \lang english
6674 End
6675 \end_layout
6676
6677 \end_inset
6678
6679
6680 \begin_inset Quotes erd
6681 \end_inset
6682
6683 .
6684 \end_layout
6685
6686 \begin_layout Description
6687
6688 \family typewriter
6689 \series medium
6690 ClassOptions\SpecialChar \ldots{}
6691 End
6692 \family default
6693 \series default
6694  
6695 \begin_inset space ~
6696 \end_inset
6697
6698
6699 \begin_inset Newline newline
6700 \end_inset
6701
6702 Dieser Abschnitt beschreibt verschiedene globale Optionen, die von der Dokumente
6703 nklasse unterstützt werden.
6704  Eine detaillierte Beschreibung finden Sie in Abschnitt 
6705 \begin_inset CommandInset ref
6706 LatexCommand ref
6707 reference "sub:Der-Abschnitt-ClassOptions"
6708
6709 \end_inset
6710
6711 .
6712 \end_layout
6713
6714 \begin_layout Description
6715
6716 \family typewriter
6717 \series medium
6718 Columns
6719 \family default
6720 \series default
6721  [
6722 \begin_inset Flex Code
6723 status collapsed
6724
6725 \begin_layout Plain Layout
6726
6727 \emph on
6728 1
6729 \end_layout
6730
6731 \end_inset
6732
6733 ,
6734 \begin_inset space \thinspace{}
6735 \end_inset
6736
6737
6738 \begin_inset Flex Code
6739 status collapsed
6740
6741 \begin_layout Plain Layout
6742 2
6743 \end_layout
6744
6745 \end_inset
6746
6747 ] Gibt an, ob die Textklasse standardmäßig ein- oder zweispaltig gesetzt
6748  wird.
6749  Kann im Popup-Menü 
6750 \family sans
6751 Dokument\SpecialChar \menuseparator
6752 Einstellungen
6753 \family default
6754 \SpecialChar \ldots{}
6755  geändert werden.
6756  Diese Einstellung ist wichtig: Falls Ihre Textklasse standardmäßig zweispaltig
6757  gesetzt wird, Sie aber vergessen, das korrekt anzugeben, wird die Option
6758  
6759 \family typewriter
6760 twocolumn
6761 \family default
6762  
6763 \emph on
6764 nicht
6765 \emph default
6766  gesetzt, wenn Sie 
6767 \family sans
6768 Zweispaltiges
6769 \family default
6770
6771 \begin_inset space \space{}
6772 \end_inset
6773
6774
6775 \family sans
6776 Dokument
6777 \family default
6778  in 
6779 \family sans
6780 Dokument\SpecialChar \menuseparator
6781 Einstellungen
6782 \family default
6783 \SpecialChar \ldots{}
6784  aktivieren.
6785 \end_layout
6786
6787 \begin_layout Description
6788
6789 \family typewriter
6790 \series medium
6791 Counter
6792 \family default
6793 \series default
6794  
6795 \begin_inset space ~
6796 \end_inset
6797
6798
6799 \begin_inset Newline newline
6800 \end_inset
6801
6802 definiert einen neuen Zähler (siehe 
6803 \begin_inset CommandInset ref
6804 LatexCommand vref
6805 reference "sub:Zähler"
6806
6807 \end_inset
6808
6809 ) und muss mit 
6810 \family typewriter
6811 End
6812 \family default
6813  beendet werden.
6814 \end_layout
6815
6816 \begin_layout Description
6817
6818 \family typewriter
6819 \series medium
6820 DefaultFont
6821 \family default
6822 \series default
6823  
6824 \begin_inset space ~
6825 \end_inset
6826
6827
6828 \begin_inset Newline newline
6829 \end_inset
6830
6831 Dieser Parameter definiert den Standardzeichensatz des Dokuments.
6832  Eine genauere Beschreibung finden Sie in Abschnitt 
6833 \begin_inset CommandInset ref
6834 LatexCommand vref
6835 reference "sub:Beschreibung-des-Zeichensatzes"
6836
6837 \end_inset
6838
6839 .
6840 \end_layout
6841
6842 \begin_layout Description
6843
6844 \family typewriter
6845 \series medium
6846 DefaultModule
6847 \begin_inset space ~
6848 \end_inset
6849
6850 [string] 
6851 \family default
6852 \series default
6853
6854 \begin_inset space ~
6855 \end_inset
6856
6857
6858 \begin_inset Newline newline
6859 \end_inset
6860
6861 spezifiziert ein Modul, das standardmäßig zu dieser Dokumentklasse hinzugefügt
6862  wird.
6863  string ist der Dateiname ohne die Erweiterung 
6864 \family typewriter
6865 .module
6866 \family default
6867 .
6868  Sie können das Modul zwar entfernen, aber es bleibt von Beginn an aktiv.
6869  Es wird nur angewendet, wenn neue Dateien erstellt oder diese Klasse für
6870  ein vorhandenes Dokument gewählt werden.
6871 \end_layout
6872
6873 \begin_layout Description
6874
6875 \family typewriter
6876 \series medium
6877 DefaultStyle
6878 \series default
6879
6880 \begin_inset space ~
6881 \end_inset
6882
6883 [string]
6884 \family default
6885  
6886 \family typewriter
6887
6888 \begin_inset Newline newline
6889 \end_inset
6890
6891
6892 \family default
6893 Dies ist das Layout für neu angelegte Absätze, normalerweise 
6894 \family sans
6895 Standard
6896 \family default
6897 .
6898  Fehlt dieser Eintrag, wird das erste definierte Layout verwendet; dennoch
6899  ist es sehr ratsam, diese Anweisung anzugeben.
6900 \end_layout
6901
6902 \begin_layout Description
6903
6904 \family typewriter
6905 \series medium
6906 ExcludesModule
6907 \series default
6908
6909 \begin_inset space ~
6910 \end_inset
6911
6912
6913 \series medium
6914 [string]
6915 \family default
6916 \series default
6917  
6918 \begin_inset space ~
6919 \end_inset
6920
6921
6922 \begin_inset Newline newline
6923 \end_inset
6924
6925 zeigt an, dass das genannte Modul -- spezifiziert durch den Dateinamen ohne
6926  die Erweiterung 
6927 \family typewriter
6928 .module
6929 \family default
6930  -- in dieser Dokumentklasse nicht benutzt werden kann.
6931  Dies könnte in einem Journal-spezifischen Layout benutzt werden, um zum
6932  Beispiel die Verwendung des theorems-sec-Moduls, das Theoreme abschnittsweise
6933  nummeriert, zu verhindern.
6934  Diese Marke darf 
6935 \emph on
6936 nicht
6937 \emph default
6938  in einem Modul benutzt werden.
6939  Module haben einen anderen Weg, andere Module auszuschließen (siehe 
6940 \begin_inset CommandInset ref
6941 LatexCommand ref
6942 reference "sub:Layout-Module"
6943
6944 \end_inset
6945
6946 ).
6947 \end_layout
6948
6949 \begin_layout Description
6950
6951 \family typewriter
6952 \series medium
6953 Float
6954 \family default
6955 \series default
6956  
6957 \begin_inset space ~
6958 \end_inset
6959
6960
6961 \begin_inset Newline newline
6962 \end_inset
6963
6964 definiert ein neues Gleitobjekt (siehe 
6965 \begin_inset CommandInset ref
6966 LatexCommand vref
6967 reference "sub:Gleitobjekte"
6968
6969 \end_inset
6970
6971 ) und muss mit 
6972 \family typewriter
6973 End
6974 \family default
6975  beendet werden.
6976 \end_layout
6977
6978 \begin_layout Description
6979 \begin_inset Flex Code
6980 status collapsed
6981
6982 \begin_layout Plain Layout
6983 HTMLPreamble
6984 \end_layout
6985
6986 \end_inset
6987
6988  
6989 \lang english
6990 Sets the information that will be output in the 
6991 \begin_inset Flex Code
6992 status collapsed
6993
6994 \begin_layout Plain Layout
6995
6996 \lang english
6997 <head>
6998 \end_layout
6999
7000 \end_inset
7001
7002  block when this document class is output to XHTML.
7003  Note that this will completely override any prior 
7004 \begin_inset Flex Code
7005 status collapsed
7006
7007 \begin_layout Plain Layout
7008
7009 \lang english
7010 HTMLPreamble
7011 \end_layout
7012
7013 \end_inset
7014
7015  or 
7016 \begin_inset Flex Code
7017 status collapsed
7018
7019 \begin_layout Plain Layout
7020
7021 \lang english
7022 AddToHTMLPreamble
7023 \end_layout
7024
7025 \end_inset
7026
7027  declarations.
7028  (Use 
7029 \begin_inset Flex Code
7030 status collapsed
7031
7032 \begin_layout Plain Layout
7033
7034 \lang english
7035 AddToHTMLPreamble
7036 \end_layout
7037
7038 \end_inset
7039
7040  if you just want to add material to the preamble.) Must end with 
7041 \begin_inset Quotes eld
7042 \end_inset
7043
7044
7045 \begin_inset Flex Code
7046 status collapsed
7047
7048 \begin_layout Plain Layout
7049
7050 \lang english
7051 EndPreamble
7052 \end_layout
7053
7054 \end_inset
7055
7056
7057 \begin_inset Quotes erd
7058 \end_inset
7059
7060 .
7061 \end_layout
7062
7063 \begin_layout Description
7064 \begin_inset Flex Code
7065 status collapsed
7066
7067 \begin_layout Plain Layout
7068 HTMLTOCSection
7069 \end_layout
7070
7071 \end_inset
7072
7073  [
7074 \begin_inset Flex Code
7075 status collapsed
7076
7077 \begin_layout Plain Layout
7078 string
7079 \end_layout
7080
7081 \end_inset
7082
7083
7084 \lang english
7085 The layout to use for the table of contents, bibliography, and so forth,
7086  when the document is output to HTML.
7087  For articles, this should normally be Section; for books, Chapter.
7088  If it is not given, then LyX will attempt to figure out which layout to
7089  use.
7090 \end_layout
7091
7092 \begin_layout Description
7093 \begin_inset Flex Code
7094 status collapsed
7095
7096 \begin_layout Plain Layout
7097 IfCounter
7098 \end_layout
7099
7100 \end_inset
7101
7102  [
7103 \begin_inset Flex Code
7104 status collapsed
7105
7106 \begin_layout Plain Layout
7107 string
7108 \end_layout
7109
7110 \end_inset
7111
7112
7113 \lang english
7114 Modifies the properties of the given counter.
7115  If the counter does not exist, the section is ignored.
7116  Must end with 
7117 \begin_inset Quotes eld
7118 \end_inset
7119
7120
7121 \begin_inset Flex Code
7122 status collapsed
7123
7124 \begin_layout Plain Layout
7125
7126 \lang english
7127 End
7128 \end_layout
7129
7130 \end_inset
7131
7132
7133 \begin_inset Quotes erd
7134 \end_inset
7135
7136 .
7137 \begin_inset Newline newline
7138 \end_inset
7139
7140 See Section
7141 \begin_inset space ~
7142 \end_inset
7143
7144
7145 \begin_inset CommandInset ref
7146 LatexCommand ref
7147 reference "sub:Zähler"
7148
7149 \end_inset
7150
7151  for details on counters.
7152 \end_layout
7153
7154 \begin_layout Description
7155 \begin_inset Flex Code
7156 status collapsed
7157
7158 \begin_layout Plain Layout
7159 IfStyle
7160 \end_layout
7161
7162 \end_inset
7163
7164  [
7165 \begin_inset Flex Code
7166 status collapsed
7167
7168 \begin_layout Plain Layout
7169 string
7170 \end_layout
7171
7172 \end_inset
7173
7174
7175 \lang english
7176 Modifies the properties of the given paragraph style.
7177  If the style does not exist, the section is ignored.
7178  Must end with 
7179 \begin_inset Quotes eld
7180 \end_inset
7181
7182
7183 \begin_inset Flex Code
7184 status collapsed
7185
7186 \begin_layout Plain Layout
7187
7188 \lang english
7189 End
7190 \end_layout
7191
7192 \end_inset
7193
7194
7195 \begin_inset Quotes erd
7196 \end_inset
7197
7198 .
7199 \end_layout
7200
7201 \begin_layout Description
7202
7203 \family typewriter
7204 \series medium
7205 Input
7206 \family default
7207 \series default
7208  
7209 \begin_inset space ~
7210 \end_inset
7211
7212
7213 \begin_inset Newline newline
7214 \end_inset
7215
7216 Hiermit können Sie andere Dateien einbinden, die Definitionen für Textklassen
7217  enthalten.
7218  Damit können Sie unnötige Mehrfachdefinitionen vermeiden.
7219  Beispielsweise binden die meisten Standardtextklassen die Datei 
7220 \family typewriter
7221 stdclass.inc
7222 \family default
7223  ein, in der ein Großteil der Definitionen für Standardlayouts gemacht wird.
7224 \end_layout
7225
7226 \begin_layout Description
7227
7228 \family typewriter
7229 \series medium
7230 InsetLayout
7231 \family default
7232 \series default
7233  
7234 \begin_inset space ~
7235 \end_inset
7236
7237
7238 \begin_inset Newline newline
7239 \end_inset
7240
7241 definiert das Layout einer Einfügung (neu).
7242  
7243 \family typewriter
7244 \series medium
7245 InsetLayout
7246 \family default
7247 \series default
7248  kann auf eine vorhandene Einfügung angewendet werden oder eine neue, benutzerde
7249 finierte, zum Beispiel einen neuen Zeichenstil.
7250  Abschnitt 
7251 \begin_inset CommandInset ref
7252 LatexCommand vref
7253 reference "sub:Flexible-Einfügungen-und"
7254
7255 \end_inset
7256
7257  enthält weitere Einzelheiten.
7258  Diese Marke muss mit 
7259 \family typewriter
7260 End
7261 \family default
7262  beendet werden.
7263 \end_layout
7264
7265 \begin_layout Description
7266 \begin_inset Flex Code
7267 status collapsed
7268
7269 \begin_layout Plain Layout
7270 LeftMargin
7271 \end_layout
7272
7273 \end_inset
7274
7275  [
7276 \begin_inset Flex Code
7277 status collapsed
7278
7279 \begin_layout Plain Layout
7280 string
7281 \end_layout
7282
7283 \end_inset
7284
7285 ] ist ein String dessen Länge die Breite des linken Randes festlegt, zum
7286  Beispiel 
7287 \begin_inset Quotes gld
7288 \end_inset
7289
7290
7291 \begin_inset Flex Code
7292 status collapsed
7293
7294 \begin_layout Plain Layout
7295 MMMMM
7296 \end_layout
7297
7298 \end_inset
7299
7300
7301 \begin_inset Quotes grd
7302 \end_inset
7303
7304 .
7305 \end_layout
7306
7307 \begin_layout Description
7308 \begin_inset Flex Code
7309 status collapsed
7310
7311 \begin_layout Plain Layout
7312 NoCounter
7313 \end_layout
7314
7315 \end_inset
7316
7317  [
7318 \begin_inset Flex Code
7319 status collapsed
7320
7321 \begin_layout Plain Layout
7322 string
7323 \end_layout
7324
7325 \end_inset
7326
7327
7328 \lang english
7329 This command deletes an existing counter, usually one defined in an included
7330  file.
7331 \end_layout
7332
7333 \begin_layout Description
7334
7335 \family typewriter
7336 \series medium
7337 NoFloat
7338 \family default
7339 \series default
7340  
7341 \begin_inset space ~
7342 \end_inset
7343
7344
7345 \begin_inset Newline newline
7346 \end_inset
7347
7348 löscht ein vorhandenes Gleitobjekt.
7349  Dies ist besonders dann nützlich, wenn Sie ein Gleitobjekt, das in einer
7350  Eingabedatei definiert wurde, unterdrücken wollen.
7351 \end_layout
7352
7353 \begin_layout Description
7354
7355 \family typewriter
7356 \series medium
7357 NoStyle
7358 \family default
7359 \series default
7360  
7361 \begin_inset space ~
7362 \end_inset
7363
7364
7365 \begin_inset Newline newline
7366 \end_inset
7367
7368 Mit diesem Befehl können Sie die Definition eines bereits mit 
7369 \family typewriter
7370 Style 
7371 \family default
7372 defi\SpecialChar \-
7373 nier\SpecialChar \-
7374 ten Layouts rückgängig ma\SpecialChar \-
7375 chen.
7376  Dies ist dann nützlich, wenn Sie ein Layout unterdrücken möchten, das in
7377  einer Datei definiert wird, die Sie mit 
7378 \family typewriter
7379 Input
7380 \family default
7381  eingebunden haben.
7382 \end_layout
7383
7384 \begin_layout Description
7385
7386 \family typewriter
7387 \series medium
7388 OutputFormat
7389 \family default
7390 \series default
7391  
7392 \begin_inset space ~
7393 \end_inset
7394
7395
7396 \begin_inset Newline newline
7397 \end_inset
7398
7399
7400 \lang english
7401 A string indicating the file format (as defined in the Preferences dialog)
7402  produced by this class.
7403  It is mainly useful when OutputType is `literate' and one wants to define
7404  a new type of literate document.
7405  This string is reset to `docbook', `latex', or `literate' when the correspondin
7406 g OutputType parameter is encountered.
7407 \end_layout
7408
7409 \begin_layout Description
7410
7411 \family typewriter
7412 \series medium
7413 OutputType
7414 \family default
7415 \series default
7416  
7417 \begin_inset space ~
7418 \end_inset
7419
7420
7421 \begin_inset Newline newline
7422 \end_inset
7423
7424 ist eine Zeichenkette, die angibt, welche Dokumentart diese Klasse erzeugt.
7425  Zur Zeit gibt es folgende Möglichkeiten: 
7426 \family typewriter
7427 docbook
7428 \family default
7429
7430 \family typewriter
7431 latex
7432 \family default
7433  und 
7434 \family typewriter
7435 literate
7436 \family default
7437 .
7438 \end_layout
7439
7440 \begin_layout Description
7441
7442 \family typewriter
7443 \series medium
7444 PageStyle
7445 \family default
7446 \series default
7447  [
7448 \family typewriter
7449 \emph on
7450 plain
7451 \emph default
7452 , empty, headings
7453 \family default
7454 ]
7455 \begin_inset Newline newline
7456 \end_inset
7457
7458 Der Standardseitenstil.
7459  Kann ebenfalls im Popup-Menü 
7460 \family sans
7461 Dokument\SpecialChar \menuseparator
7462 Ein\SpecialChar \-
7463 stel\SpecialChar \-
7464 lun\SpecialChar \-
7465 gen
7466 \family default
7467 \SpecialChar \ldots{}
7468  geändert werden.
7469 \end_layout
7470
7471 \begin_layout Description
7472
7473 \family typewriter
7474 \series medium
7475 Preamble\SpecialChar \ldots{}
7476 EndPreamble
7477 \family default
7478 \series default
7479  
7480 \begin_inset space ~
7481 \end_inset
7482
7483
7484 \begin_inset Newline newline
7485 \end_inset
7486
7487 An dieser Stelle können Sie LaTeX-Code angeben, der vor 
7488 \family typewriter
7489
7490 \backslash
7491 begin{document}
7492 \family default
7493  in die LaTeX-Ausgabe eingebunden wird.
7494  Zum Beispiel eigene Definitionen von LaTeX-Makros.
7495 \end_layout
7496
7497 \begin_layout Description
7498
7499 \family typewriter
7500 \series medium
7501 Provides 
7502 \family default
7503 \series default
7504 [
7505 \begin_inset Flex Code
7506 status collapsed
7507
7508 \begin_layout Plain Layout
7509 string
7510 \end_layout
7511
7512 \end_inset
7513
7514 ] [
7515 \begin_inset Flex Code
7516 status collapsed
7517
7518 \begin_layout Plain Layout
7519
7520 \emph on
7521 0
7522 \end_layout
7523
7524 \end_inset
7525
7526 ,
7527 \begin_inset space \thinspace{}
7528 \end_inset
7529
7530
7531 \begin_inset Flex Code
7532 status collapsed
7533
7534 \begin_layout Plain Layout
7535 1
7536 \end_layout
7537
7538 \end_inset
7539
7540 ]
7541 \family typewriter
7542  
7543 \family default
7544 zeigt an, ob die Klasse bereits die Funktion 
7545 \family typewriter
7546 string
7547 \family default
7548  liefert.
7549  Normalerweise ist eine Funktion der Name eines Paketes (
7550 \family typewriter
7551 amsmath
7552 \family default
7553
7554 \family typewriter
7555 makeidx
7556 \family default
7557 ,\SpecialChar \ldots{}
7558 ) oder ein Makro (
7559 \family typewriter
7560 url
7561 \family default
7562
7563 \family typewriter
7564 boldsymbol
7565 \family default
7566 ,\SpecialChar \ldots{}
7567 ).
7568  Die vollständige Liste der unterstützten Funktionen ist leider nur in den
7569  LyX-Quellen dokumentiert -- in 
7570 \family typewriter
7571 src/LaTe
7572 \family sans
7573
7574 \begin_inset ERT
7575 status collapsed
7576
7577 \begin_layout Plain Layout
7578
7579 {}
7580 \end_layout
7581
7582 \end_inset
7583
7584
7585 \family typewriter
7586 X\SpecialChar \-
7587 Features.cpp
7588 \family default
7589 .
7590  
7591 \family sans
7592 Hilfe\SpecialChar \menuseparator
7593 LaTe
7594 \begin_inset ERT
7595 status collapsed
7596
7597 \begin_layout Plain Layout
7598
7599 {}
7600 \end_layout
7601
7602 \end_inset
7603
7604 X-Konfiguration
7605 \family default
7606  gibt einen Überblick über die unterstützten Pakete.
7607 \end_layout
7608
7609 \begin_layout Description
7610 \begin_inset Flex Code
7611 status collapsed
7612
7613 \begin_layout Plain Layout
7614 ProvidesModule
7615 \end_layout
7616
7617 \end_inset
7618
7619  [
7620 \begin_inset Flex Code
7621 status collapsed
7622
7623 \begin_layout Plain Layout
7624 string
7625 \end_layout
7626
7627 \end_inset
7628
7629 ] zeigt an, dass dieses Layout die Funktionalität des Moduls 
7630 \begin_inset Flex Code
7631 status collapsed
7632
7633 \begin_layout Plain Layout
7634 string
7635 \end_layout
7636
7637 \end_inset
7638
7639  anbietet, das als Dateiname ohne die Erweiterung 
7640 \family typewriter
7641 .module
7642 \family default
7643  angegeben wird.
7644  Dies wird typischerweise benutzt, wenn das Layout das Modul direkt benutzt
7645  statt den Tag 
7646 \begin_inset Flex Code
7647 status collapsed
7648
7649 \begin_layout Plain Layout
7650 DefaultModule
7651 \end_layout
7652
7653 \end_inset
7654
7655  zu benutzen.
7656  Es könnte auch in einem Modul benutzt werden, das eine andere Implementation
7657  derselben Funktion liefert.
7658 \end_layout
7659
7660 \begin_layout Description
7661 \begin_inset Flex Code
7662 status collapsed
7663
7664 \begin_layout Plain Layout
7665 Requires
7666 \end_layout
7667
7668 \end_inset
7669
7670  [
7671 \begin_inset Flex Code
7672 status collapsed
7673
7674 \begin_layout Plain Layout
7675 string
7676 \end_layout
7677
7678 \end_inset
7679
7680 ]
7681 \family typewriter
7682  
7683 \family default
7684 zeigt an, ob die Klasse die Funktion 
7685 \begin_inset Flex Code
7686 status collapsed
7687
7688 \begin_layout Plain Layout
7689 string
7690 \end_layout
7691
7692 \end_inset
7693
7694  benötigt.
7695  Mehrfache Funktionen müssen durch Komma getrennt werden Beachten Sie, dass
7696  Sie nur unterstützte Funktionen anfordern können.
7697  
7698 \lang english
7699 (Again, see 
7700 \begin_inset Flex Code
7701 status collapsed
7702
7703 \begin_layout Plain Layout
7704
7705 \lang english
7706 LaTeXFeatures.cpp
7707 \end_layout
7708
7709 \end_inset
7710
7711  for a list of these.)
7712 \end_layout
7713
7714 \begin_layout Description
7715 \begin_inset Flex Code
7716 status collapsed
7717
7718 \begin_layout Plain Layout
7719 RightMargin
7720 \end_layout
7721
7722 \end_inset
7723
7724  [
7725 \begin_inset Flex Code
7726 status collapsed
7727
7728 \begin_layout Plain Layout
7729 string
7730 \end_layout
7731
7732 \end_inset
7733
7734 ] ist ein String dessen Länge die Breite des rechten Randes festlegt, zum
7735  Beispiel 
7736 \begin_inset Quotes gld
7737 \end_inset
7738
7739
7740 \begin_inset Flex Code
7741 status collapsed
7742
7743 \begin_layout Plain Layout
7744 MMMMM
7745 \end_layout
7746
7747 \end_inset
7748
7749
7750 \begin_inset Quotes grd
7751 \end_inset
7752
7753 .
7754 \end_layout
7755
7756 \begin_layout Description
7757 \begin_inset Flex Code
7758 status collapsed
7759
7760 \begin_layout Plain Layout
7761 SecNumDepth
7762 \end_layout
7763
7764 \end_inset
7765
7766  [
7767 \begin_inset Flex Code
7768 status collapsed
7769
7770 \begin_layout Plain Layout
7771 int=3
7772 \end_layout
7773
7774 \end_inset
7775
7776 ] legt die Nummerierungstiefe fest; korrespondiert mit dem LaTeX-Zähler
7777  
7778 \begin_inset Flex Code
7779 status collapsed
7780
7781 \begin_layout Plain Layout
7782 secnumdepth
7783 \end_layout
7784
7785 \end_inset
7786
7787 .
7788 \end_layout
7789
7790 \begin_layout Description
7791 \begin_inset Flex Code
7792 status collapsed
7793
7794 \begin_layout Plain Layout
7795 Sides
7796 \end_layout
7797
7798 \end_inset
7799
7800  [
7801 \begin_inset Flex Code
7802 status collapsed
7803
7804 \begin_layout Plain Layout
7805
7806 \emph on
7807 1
7808 \end_layout
7809
7810 \end_inset
7811
7812 ,
7813 \begin_inset space \thinspace{}
7814 \end_inset
7815
7816
7817 \begin_inset Flex Code
7818 status collapsed
7819
7820 \begin_layout Plain Layout
7821 2
7822 \end_layout
7823
7824 \end_inset
7825
7826 ] Gibt an, ob der Text standardmäßig für ein- oder für zweiseitigen Druck
7827  gesetzt wird.
7828  Kann im Dialog 
7829 \begin_inset Flex MenuItem
7830 status collapsed
7831
7832 \begin_layout Plain Layout
7833 Dokument\SpecialChar \menuseparator
7834 Einstellungen
7835 \end_layout
7836
7837 \end_inset
7838
7839  geändert werden.
7840 \end_layout
7841
7842 \begin_layout Description
7843 \begin_inset Flex Code
7844 status collapsed
7845
7846 \begin_layout Plain Layout
7847 Style
7848 \end_layout
7849
7850 \end_inset
7851
7852  [
7853 \begin_inset Flex Code
7854 status collapsed
7855
7856 \begin_layout Plain Layout
7857 <Name>
7858 \end_layout
7859
7860 \end_inset
7861
7862 ] definiert einen neuen Absatzstil.
7863  Wenn er bereits existiert, werden stattdessen einige seiner Parameter neu
7864  definiert.
7865  Muss mit 
7866 \begin_inset Quotes gld
7867 \end_inset
7868
7869
7870 \begin_inset Flex Code
7871 status collapsed
7872
7873 \begin_layout Plain Layout
7874 End
7875 \end_layout
7876
7877 \end_inset
7878
7879
7880 \begin_inset Quotes grd
7881 \end_inset
7882
7883  beendet werden.
7884 \begin_inset Newline newline
7885 \end_inset
7886
7887 Siehe Abschnitt
7888 \begin_inset space ~
7889 \end_inset
7890
7891
7892 \begin_inset CommandInset ref
7893 LatexCommand ref
7894 reference "sub:Einzelne-Absatz-Layouts"
7895
7896 \end_inset
7897
7898  für mehr über Absatzstile.
7899 \end_layout
7900
7901 \begin_layout Description
7902 \begin_inset Flex Code
7903 status collapsed
7904
7905 \begin_layout Plain Layout
7906 TitleLatexName
7907 \end_layout
7908
7909 \end_inset
7910
7911  [
7912 \begin_inset Flex Code
7913 status collapsed
7914
7915 \begin_layout Plain Layout
7916 string="maketitle"
7917 \end_layout
7918
7919 \end_inset
7920
7921 ] ist der Name des Befehls oder der Umgebung, der für 
7922 \begin_inset Flex Code
7923 status collapsed
7924
7925 \begin_layout Plain Layout
7926 TitleLatexType
7927 \end_layout
7928
7929 \end_inset
7930
7931  benutzt werden soll.
7932 \end_layout
7933
7934 \begin_layout Description
7935 \begin_inset Flex Code
7936 status collapsed
7937
7938 \begin_layout Plain Layout
7939 TitleLatexType
7940 \end_layout
7941
7942 \end_inset
7943
7944  [
7945 \begin_inset Flex Code
7946 status collapsed
7947
7948 \begin_layout Plain Layout
7949
7950 \emph on
7951 CommandAfter
7952 \end_layout
7953
7954 \end_inset
7955
7956
7957 \begin_inset Flex Code
7958 status collapsed
7959
7960 \begin_layout Plain Layout
7961 Environment
7962 \end_layout
7963
7964 \end_inset
7965
7966 ] gibt an, wie der Dokumenttitel aussehen soll.
7967  
7968 \begin_inset Flex Code
7969 status collapsed
7970
7971 \begin_layout Plain Layout
7972 CommandAfter
7973 \end_layout
7974
7975 \end_inset
7976
7977  bedeutet, dass das Makro namens 
7978 \begin_inset Flex Code
7979 status collapsed
7980
7981 \begin_layout Plain Layout
7982 TitleLatexName
7983 \end_layout
7984
7985 \end_inset
7986
7987  nach dem letzten Layout mit 
7988 \begin_inset Quotes gld
7989 \end_inset
7990
7991
7992 \begin_inset Flex Code
7993 status collapsed
7994
7995 \begin_layout Plain Layout
7996 InTitle
7997 \begin_inset space ~
7998 \end_inset
7999
8000 1
8001 \end_layout
8002
8003 \end_inset
8004
8005
8006 \begin_inset Quotes grd
8007 \end_inset
8008
8009  gesetzt werden soll.
8010  
8011 \begin_inset Flex Code
8012 status collapsed
8013
8014 \begin_layout Plain Layout
8015 Environment
8016 \end_layout
8017
8018 \end_inset
8019
8020  ist für den Fall, dass alle Layouts mit 
8021 \begin_inset Quotes gld
8022 \end_inset
8023
8024
8025 \begin_inset Flex Code
8026 status collapsed
8027
8028 \begin_layout Plain Layout
8029 InTitle
8030 \begin_inset space ~
8031 \end_inset
8032
8033 1
8034 \end_layout
8035
8036 \end_inset
8037
8038
8039 \begin_inset Quotes grd
8040 \end_inset
8041
8042  in die 
8043 \begin_inset Flex Code
8044 status collapsed
8045
8046 \begin_layout Plain Layout
8047 TitleLatexName
8048 \end_layout
8049
8050 \end_inset
8051
8052 -Umgebung gesetzt werden sollen.
8053 \end_layout
8054
8055 \begin_layout Description
8056 \begin_inset Flex Code
8057 status collapsed
8058
8059 \begin_layout Plain Layout
8060 TocDepth
8061 \end_layout
8062
8063 \end_inset
8064
8065  [
8066 \begin_inset Flex Code
8067 status collapsed
8068
8069 \begin_layout Plain Layout
8070 int=3
8071 \end_layout
8072
8073 \end_inset
8074
8075 ] legt fest, bis zu welcher Tiefe das Inhaltsverzeichnis gehen soll; korrespondi
8076 ert mit dem LaTeX-Zähler 
8077 \begin_inset Flex Code
8078 status collapsed
8079
8080 \begin_layout Plain Layout
8081 tocdepth
8082 \end_layout
8083
8084 \end_inset
8085
8086 .
8087 \end_layout
8088
8089 \begin_layout Subsection
8090 Der Abschnitt 
8091 \family typewriter
8092 ClassOptions
8093 \family default
8094
8095 \begin_inset CommandInset label
8096 LatexCommand label
8097 name "sub:Der-Abschnitt-ClassOptions"
8098
8099 \end_inset
8100
8101
8102 \end_layout
8103
8104 \begin_layout Standard
8105 Der Abschnitt 
8106 \begin_inset Flex Code
8107 status collapsed
8108
8109 \begin_layout Plain Layout
8110 ClassOptions
8111 \end_layout
8112
8113 \end_inset
8114
8115  kann folgende Einträge enthalten:
8116 \end_layout
8117
8118 \begin_layout Description
8119 \begin_inset Flex Code
8120 status collapsed
8121
8122 \begin_layout Plain Layout
8123 FontSize
8124 \end_layout
8125
8126 \end_inset
8127
8128  [
8129 \begin_inset Flex Code
8130 status collapsed
8131
8132 \begin_layout Plain Layout
8133 string="10|11|12"
8134 \end_layout
8135
8136 \end_inset
8137
8138 ] Eine Liste verfügbarer Größen für den Hauptzeichensatz; die Einträge werden
8139  mit 
8140 \begin_inset Quotes gld
8141 \end_inset
8142
8143
8144 \begin_inset Flex Code
8145 status collapsed
8146
8147 \begin_layout Plain Layout
8148 |
8149 \end_layout
8150
8151 \end_inset
8152
8153
8154 \begin_inset Quotes grd
8155 \end_inset
8156
8157  getrennt.
8158 \end_layout
8159
8160 \begin_layout Description
8161 \begin_inset Flex Code
8162 status collapsed
8163
8164 \begin_layout Plain Layout
8165 Header
8166 \end_layout
8167
8168 \end_inset
8169
8170  wird benutzt, um die DTD-Zeile mit XML-basierten Klassen zu setzen.
8171  Zum Beispiel PUBLIC 
8172 \begin_inset Quotes gld
8173 \end_inset
8174
8175 -//OASIS//DTD DocBook V4.2//EN
8176 \begin_inset Quotes grd
8177 \end_inset
8178
8179 .
8180 \end_layout
8181
8182 \begin_layout Description
8183 \begin_inset Flex Code
8184 status collapsed
8185
8186 \begin_layout Plain Layout
8187 Other
8188 \end_layout
8189
8190 \end_inset
8191
8192  [
8193 \begin_inset Flex Code
8194 status collapsed
8195
8196 \begin_layout Plain Layout
8197 string=""
8198 \end_layout
8199
8200 \end_inset
8201
8202 ] Sonstige Optionen für die Dokumentenklasse, die durch Komma getrennt werden.
8203  Sie werden in dem 
8204 \begin_inset Flex Code
8205 status collapsed
8206
8207 \begin_layout Plain Layout
8208
8209 \backslash
8210 documentclass
8211 \end_layout
8212
8213 \end_inset
8214
8215
8216 \family typewriter
8217 -
8218 \family default
8219 Befehl als optionales Argument übergeben.
8220 \end_layout
8221
8222 \begin_layout Description
8223 \begin_inset Flex Code
8224 status collapsed
8225
8226 \begin_layout Plain Layout
8227 PageStyle
8228 \end_layout
8229
8230 \end_inset
8231
8232  [
8233 \begin_inset Flex Code
8234 status collapsed
8235
8236 \begin_layout Plain Layout
8237 string="empty|plain|headings|fancy"
8238 \end_layout
8239
8240 \end_inset
8241
8242 ] Eine Liste verfügbarer Seitenstile; die Einträge werden mit 
8243 \begin_inset Quotes gld
8244 \end_inset
8245
8246
8247 \begin_inset Flex Code
8248 status collapsed
8249
8250 \begin_layout Plain Layout
8251 |
8252 \end_layout
8253
8254 \end_inset
8255
8256
8257 \begin_inset Quotes grd
8258 \end_inset
8259
8260  getrennt.
8261 \end_layout
8262
8263 \begin_layout Standard
8264 Der Abschnitt 
8265 \begin_inset Flex Code
8266 status collapsed
8267
8268 \begin_layout Plain Layout
8269 ClassOptions
8270 \end_layout
8271
8272 \end_inset
8273
8274  muss mit 
8275 \begin_inset Quotes gld
8276 \end_inset
8277
8278
8279 \begin_inset Flex Code
8280 status collapsed
8281
8282 \begin_layout Plain Layout
8283 End
8284 \end_layout
8285
8286 \end_inset
8287
8288
8289 \begin_inset Quotes grd
8290 \end_inset
8291
8292  beendet werden.
8293 \end_layout
8294
8295 \begin_layout Subsection
8296 Einzelne Absatz-Layouts
8297 \begin_inset CommandInset label
8298 LatexCommand label
8299 name "sub:Einzelne-Absatz-Layouts"
8300
8301 \end_inset
8302
8303
8304 \end_layout
8305
8306 \begin_layout Standard
8307 Eine Layoutbeschreibung für einen Absatz sieht wie folgt aus
8308 \begin_inset Foot
8309 status collapsed
8310
8311 \begin_layout Plain Layout
8312 Sie können mit diesem Ausdruck entweder ein neues Layout definieren oder
8313  aber ein bereits definiertes umdefinieren.
8314  
8315 \end_layout
8316
8317 \end_inset
8318
8319 :
8320 \end_layout
8321
8322 \begin_layout LyX-Code
8323 Style 
8324 \family roman
8325 \emph on
8326 Name
8327 \end_layout
8328
8329 \begin_layout LyX-Code
8330  ...
8331 \end_layout
8332
8333 \begin_layout LyX-Code
8334 End
8335 \end_layout
8336
8337 \begin_layout Standard
8338 Innerhalb des Blocks sind folgende Befehle erlaubt:
8339 \end_layout
8340
8341 \begin_layout Description
8342 \begin_inset Flex Code
8343 status collapsed
8344
8345 \begin_layout Plain Layout
8346 Align
8347 \end_layout
8348
8349 \end_inset
8350
8351  [
8352 \begin_inset Flex Code
8353 status collapsed
8354
8355 \begin_layout Plain Layout
8356
8357 \emph on
8358 block
8359 \emph default
8360 , left, right, center
8361 \end_layout
8362
8363 \end_inset
8364
8365 ] Gibt an, ob der Text im Blocksatz linksbündig, rechtsbündig oder zentriert
8366  gesetzt wird.
8367 \end_layout
8368
8369 \begin_layout Description
8370 \begin_inset Flex Code
8371 status collapsed
8372
8373 \begin_layout Plain Layout
8374 AlignPossible
8375 \end_layout
8376
8377 \end_inset
8378
8379  [
8380 \begin_inset Flex Code
8381 status collapsed
8382
8383 \begin_layout Plain Layout
8384
8385 \emph on
8386 block
8387 \emph default
8388 , left, right, center
8389 \end_layout
8390
8391 \end_inset
8392
8393 ] Eine Liste von möglichen Textausrichtungen, die durch Kommata voneinander
8394  getrennt werden.
8395  (Einige LaTeX-Stile verbieten bestimmte Ausrichtungen, weil sie keinen
8396  Sinn machen.
8397  Beispielsweise sollte in einer nummerierten Aufzählung der Text nicht rechtsbün
8398 dig oder zentriert gesetzt werden.)
8399 \end_layout
8400
8401 \begin_layout Description
8402 \begin_inset Flex Code
8403 status collapsed
8404
8405 \begin_layout Plain Layout
8406 BabelPreamble
8407 \end_layout
8408
8409 \end_inset
8410
8411  Beachten Sie, dass dies alle vorhergehenden 
8412 \begin_inset Flex Code
8413 status collapsed
8414
8415 \begin_layout Plain Layout
8416 BabelPreamble
8417 \end_layout
8418
8419 \end_inset
8420
8421 -Dekla\SpecialChar \-
8422 ration für diesen Stil überschreibt.
8423  Muss mit 
8424 \begin_inset Quotes gld
8425 \end_inset
8426
8427
8428 \begin_inset Flex Code
8429 status collapsed
8430
8431 \begin_layout Plain Layout
8432 EndBabelPreamble
8433 \end_layout
8434
8435 \end_inset
8436
8437
8438 \begin_inset Quotes grd
8439 \end_inset
8440
8441  beendet werden.
8442  Siehe Abschnitt
8443 \begin_inset space ~
8444 \end_inset
8445
8446
8447 \begin_inset CommandInset ref
8448 LatexCommand ref
8449 reference "sub:I18n"
8450
8451 \end_inset
8452
8453  für Details zur Verwendung.
8454 \end_layout
8455
8456 \begin_layout Description
8457 \begin_inset Flex Code
8458 status collapsed
8459
8460 \begin_layout Plain Layout
8461 BottomSep
8462 \end_layout
8463
8464 \end_inset
8465
8466  [
8467 \begin_inset Flex Code
8468 status collapsed
8469
8470 \begin_layout Plain Layout
8471 float=0
8472 \end_layout
8473
8474 \end_inset
8475
8476 ]
8477 \begin_inset Foot
8478 status collapsed
8479
8480 \begin_layout Plain Layout
8481 \begin_inset Quotes gld
8482 \end_inset
8483
8484 float
8485 \begin_inset Quotes grd
8486 \end_inset
8487
8488  ist eine Gleitkommazahl, wie 
8489 \begin_inset Quotes gld
8490 \end_inset
8491
8492 1,5
8493 \begin_inset Quotes grd
8494 \end_inset
8495
8496 .
8497 \end_layout
8498
8499 \end_inset
8500
8501  Der vertikale Abstand, der die letzte Serie von Absätzen vom folgenden
8502  Text trennt.
8503  Wenn der nächste Paragraph einen anderen Stil hat, werden die Abstände
8504  nicht einfach addiert, sondern das Maximum wird verwendet.
8505 \end_layout
8506
8507 \begin_layout Description
8508 \begin_inset Flex Code
8509 status collapsed
8510
8511 \begin_layout Plain Layout
8512 Category
8513 \end_layout
8514
8515 \end_inset
8516
8517  [
8518 \begin_inset Flex Code
8519 status collapsed
8520
8521 \begin_layout Plain Layout
8522 string
8523 \end_layout
8524
8525 \end_inset
8526
8527 ] ist die Kategorie für diesen Stil.
8528  Sie wird benutzt, um zugehörige Stile in der Layout-Kombobox der Werkzeugleiste
8529  zu gruppieren.
8530  Jeder beliebige String kann benutzt werden, aber es ist sinnvoll vorhandene
8531  Ka\SpecialChar \-
8532 te\SpecialChar \-
8533 gorien zusammen mit Ihren eigenen Stilen zu benutzen.
8534 \end_layout
8535
8536 \begin_layout Description
8537 \begin_inset Flex Code
8538 status collapsed
8539
8540 \begin_layout Plain Layout
8541 CommandDepth
8542 \end_layout
8543
8544 \end_inset
8545
8546  ist die Tiefe des XML-Befehls und wird nur für XML-Formate benutzt.
8547 \end_layout
8548
8549 \begin_layout Description
8550 \begin_inset Flex Code
8551 status collapsed
8552
8553 \begin_layout Plain Layout
8554 CopyStyle
8555 \end_layout
8556
8557 \end_inset
8558
8559  [
8560 \begin_inset Flex Code
8561 status collapsed
8562
8563 \begin_layout Plain Layout
8564 string
8565 \end_layout
8566
8567 \end_inset
8568
8569 ] Kopiert alle Eigenschaften eines bereits definierten Layouts in das aktuelle.
8570 \end_layout
8571
8572 \begin_layout Description
8573 \begin_inset Flex Code
8574 status collapsed
8575
8576 \begin_layout Plain Layout
8577 DependsOn
8578 \end_layout
8579
8580 \end_inset
8581
8582  [
8583 \begin_inset Flex Code
8584 status collapsed
8585
8586 \begin_layout Plain Layout
8587 <Name>
8588 \end_layout
8589
8590 \end_inset
8591
8592 ] ist der Name eines Stils, dessen Vorspann 
8593 \emph on
8594 vor
8595 \emph default
8596  diesem ausgegeben werden soll.
8597  Dadurch wird eine Reihenfolge von Vorspannteilen bewirkt, wenn Makro-Definition
8598 en voneinander abhängen.
8599 \begin_inset Foot
8600 status collapsed
8601
8602 \begin_layout Plain Layout
8603 Beachten Sie, dass es außer dieser Funktionalität keine andere Möglichkeit
8604  gibt, Vorspanne zu ordnen.
8605  Die Reihenfolge, die Sie in einer LyX-Version sehen, kann sich in späteren
8606  Versionen ohne Warnung ändern.
8607 \end_layout
8608
8609 \end_inset
8610
8611
8612 \end_layout
8613
8614 \begin_layout Description
8615 \begin_inset Flex Code
8616 status collapsed
8617
8618 \begin_layout Plain Layout
8619 EndLabeltype
8620 \end_layout
8621
8622 \end_inset
8623
8624  [
8625 \begin_inset Flex Code
8626 status collapsed
8627
8628 \begin_layout Plain Layout
8629
8630 \emph on
8631 No_Label
8632 \emph default
8633 , Box, Filled_Box, Static
8634 \end_layout
8635
8636 \end_inset
8637
8638 ]
8639 \family typewriter
8640  
8641 \family default
8642 ist der Markentyp, der am Ende eines Absatzes steht (oder mehrerer Absätze,
8643  wenn 
8644 \begin_inset Flex Code
8645 status collapsed
8646
8647 \begin_layout Plain Layout
8648 LatexType
8649 \end_layout
8650
8651 \end_inset
8652
8653  auf
8654 \begin_inset Newline newline
8655 \end_inset
8656
8657
8658 \begin_inset Flex Code
8659 status collapsed
8660
8661 \begin_layout Plain Layout
8662 Environment
8663 \end_layout
8664
8665 \end_inset
8666
8667
8668 \begin_inset Flex Code
8669 status collapsed
8670
8671 \begin_layout Plain Layout
8672 Item_Environment
8673 \end_layout
8674
8675 \end_inset
8676
8677  oder 
8678 \begin_inset Flex Code
8679 status collapsed
8680
8681 \begin_layout Plain Layout
8682 List_Environment
8683 \end_layout
8684
8685 \end_inset
8686
8687  gesetzt ist).
8688 \begin_inset Newline newline
8689 \end_inset
8690
8691
8692 \begin_inset Flex Code
8693 status collapsed
8694
8695 \begin_layout Plain Layout
8696 No_Label
8697 \end_layout
8698
8699 \end_inset
8700
8701  bedeutet 
8702 \begin_inset Quotes gld
8703 \end_inset
8704
8705 nichts
8706 \begin_inset Quotes grd
8707 \end_inset
8708
8709
8710 \begin_inset Flex Code
8711 status collapsed
8712
8713 \begin_layout Plain Layout
8714 Box
8715 \end_layout
8716
8717 \end_inset
8718
8719  oder 
8720 \begin_inset Flex Code
8721 status collapsed
8722
8723 \begin_layout Plain Layout
8724 Filled_Box
8725 \end_layout
8726
8727 \end_inset
8728
8729  ist ein weißes oder schwarzes Quadrat, das für das Markieren eines Beweisendes
8730  geeignet ist.
8731  
8732 \begin_inset Flex Code
8733 status collapsed
8734
8735 \begin_layout Plain Layout
8736 Static
8737 \end_layout
8738
8739 \end_inset
8740
8741  ist eine explizite Zeichenkette.
8742 \end_layout
8743
8744 \begin_layout Description
8745 \begin_inset Flex Code
8746 status collapsed
8747
8748 \begin_layout Plain Layout
8749 EndLabelString
8750 \end_layout
8751
8752 \end_inset
8753
8754  [
8755 \begin_inset Flex Code
8756 status collapsed
8757
8758 \begin_layout Plain Layout
8759 string=""
8760 \end_layout
8761
8762 \end_inset
8763
8764 ] ist eine Zeichenkette, die für einen 
8765 \begin_inset Flex Code
8766 status collapsed
8767
8768 \begin_layout Plain Layout
8769 Static
8770 \end_layout
8771
8772 \end_inset
8773
8774
8775 \begin_inset Newline newline
8776 \end_inset
8777
8778
8779 \begin_inset Flex Code
8780 status collapsed
8781
8782 \begin_layout Plain Layout
8783 EndLabelType
8784 \end_layout
8785
8786 \end_inset
8787
8788  benutzt wird.
8789 \end_layout
8790
8791 \begin_layout Description
8792 \begin_inset Flex Code
8793 status collapsed
8794
8795 \begin_layout Plain Layout
8796 Font
8797 \end_layout
8798
8799 \end_inset
8800
8801  Der Zeichensatz, der für den Textkörper 
8802 \emph on
8803 und
8804 \emph default
8805  die Marke verwendet wird, siehe Abschnitt
8806 \begin_inset space \space{}
8807 \end_inset
8808
8809
8810 \begin_inset CommandInset ref
8811 LatexCommand ref
8812 reference "sub:Beschreibung-des-Zeichensatzes"
8813
8814 \end_inset
8815
8816 .
8817  Wird 
8818 \begin_inset Flex Code
8819 status collapsed
8820
8821 \begin_layout Plain Layout
8822 Font
8823 \end_layout
8824
8825 \end_inset
8826
8827  gesetzt, dann erhält 
8828 \begin_inset Flex Code
8829 status collapsed
8830
8831 \begin_layout Plain Layout
8832 LabelFont
8833 \end_layout
8834
8835 \end_inset
8836
8837  automatisch denselben Wert.
8838  Daher sollte 
8839 \begin_inset Flex Code
8840 status collapsed
8841
8842 \begin_layout Plain Layout
8843 Font
8844 \end_layout
8845
8846 \end_inset
8847
8848  zuerst definiert werden.
8849 \end_layout
8850
8851 \begin_layout Description
8852 \begin_inset Flex Code
8853 status collapsed
8854
8855 \begin_layout Plain Layout
8856 FreeSpacing
8857 \end_layout
8858
8859 \end_inset
8860
8861  [
8862 \begin_inset Flex Code
8863 status collapsed
8864
8865 \begin_layout Plain Layout
8866
8867 \emph on
8868 0
8869 \end_layout
8870
8871 \end_inset
8872
8873 ,
8874 \begin_inset space \thinspace{}
8875 \end_inset
8876
8877
8878 \begin_inset Flex Code
8879 status collapsed
8880
8881 \begin_layout Plain Layout
8882 1
8883 \end_layout
8884
8885 \end_inset
8886
8887 ] Normalerweise erlaubt es LyX nicht, mehr als ein Leerzeichen zwischen
8888  Wörtern einzufügen.
8889  Diese Eigenschaft kann in bestimmten Fällen umständ\SpecialChar \-
8890 lich sein, zum Beispiel,
8891  wenn ein Programmcode eingegeben werden soll.
8892  In solchen Fällen kann 
8893 \begin_inset Flex Code
8894 status collapsed
8895
8896 \begin_layout Plain Layout
8897 FreeSpacing
8898 \end_layout
8899
8900 \end_inset
8901
8902  auf 
8903 \begin_inset Flex Code
8904 status collapsed
8905
8906 \begin_layout Plain Layout
8907 1
8908 \end_layout
8909
8910 \end_inset
8911
8912  gesetzt werden.
8913  LyX erzeugt in diesem Falls sich LyX nicht im LaTeX-Modus befindet, erzeugt
8914  es für jedes zusätzliche Leerzeichen ein geschütztes Leerzeichen.
8915 \end_layout
8916
8917 \begin_layout Description
8918 \begin_inset Flex Code
8919 status collapsed
8920
8921 \begin_layout Plain Layout
8922 HTML*
8923 \end_layout
8924
8925 \end_inset
8926
8927  Diese Tags kontrollieren die XHTML-Ausgabe.
8928  Siehe Abschnitt
8929 \begin_inset space ~
8930 \end_inset
8931
8932
8933 \begin_inset CommandInset ref
8934 LatexCommand ref
8935 reference "sec:Tags-for-XHTML"
8936
8937 \end_inset
8938
8939 .
8940 \end_layout
8941
8942 \begin_layout Description
8943 \begin_inset Flex Code
8944 status collapsed
8945
8946 \begin_layout Plain Layout
8947 InnerTag
8948 \end_layout
8949
8950 \end_inset
8951
8952  [[FIXME]] (Wird nur für XML-Formate benutzt.)
8953 \end_layout
8954
8955 \begin_layout Description
8956 \begin_inset Flex Code
8957 status collapsed
8958
8959 \begin_layout Plain Layout
8960 InPreamble
8961 \end_layout
8962
8963 \end_inset
8964
8965  [
8966 \begin_inset Flex Code
8967 status collapsed
8968
8969 \begin_layout Plain Layout
8970
8971 \emph on
8972 0
8973 \end_layout
8974
8975 \end_inset
8976
8977 ,
8978 \begin_inset space \thinspace{}
8979 \end_inset
8980
8981
8982 \begin_inset Flex Code
8983 status collapsed
8984
8985 \begin_layout Plain Layout
8986 1
8987 \end_layout
8988
8989 \end_inset
8990
8991 ]Wenn auf 
8992 \begin_inset Flex Code
8993 status collapsed
8994
8995 \begin_layout Plain Layout
8996 1
8997 \end_layout
8998
8999 \end_inset
9000
9001 gesetzt, wird der Stil in den LaTeX-Vorspann gesetzt und nicht in den eigentlich
9002 en Dokumenttext.
9003  Dies ist nützlich für Dokumentklassen, die Informationen wie den Titel
9004  und Autor im Vorspann erwarten.
9005  Beachten Sie, dass dies nur für Stile funktioniert, deren 
9006 \begin_inset Flex Code
9007 status collapsed
9008
9009 \begin_layout Plain Layout
9010 LatexType
9011 \end_layout
9012
9013 \end_inset
9014
9015  
9016 \begin_inset Flex Code
9017 status collapsed
9018
9019 \begin_layout Plain Layout
9020 Command
9021 \end_layout
9022
9023 \end_inset
9024
9025  oder 
9026 \begin_inset Flex Code
9027 status collapsed
9028
9029 \begin_layout Plain Layout
9030 Paragraph
9031 \end_layout
9032
9033 \end_inset
9034
9035 ist.
9036 \end_layout
9037
9038 \begin_layout Description
9039 \begin_inset Flex Code
9040 status collapsed
9041
9042 \begin_layout Plain Layout
9043 InTitle
9044 \end_layout
9045
9046 \end_inset
9047
9048  [
9049 \begin_inset Flex Code
9050 status collapsed
9051
9052 \begin_layout Plain Layout
9053
9054 \emph on
9055 0
9056 \end_layout
9057
9058 \end_inset
9059
9060 ,
9061 \begin_inset space \thinspace{}
9062 \end_inset
9063
9064
9065 \begin_inset Flex Code
9066 status collapsed
9067
9068 \begin_layout Plain Layout
9069 1
9070 \end_layout
9071
9072 \end_inset
9073
9074 ] Wenn auf 
9075 \begin_inset Flex Code
9076 status collapsed
9077
9078 \begin_layout Plain Layout
9079 1
9080 \end_layout
9081
9082 \end_inset
9083
9084 gesetzt, wird der Stil als Teil des Titel-Abschnitts behandelt (siehe auch
9085  die allgemeinen Textklassen-Parameter 
9086 \begin_inset Flex Code
9087 status collapsed
9088
9089 \begin_layout Plain Layout
9090 TitleLatexType
9091 \end_layout
9092
9093 \end_inset
9094
9095  und 
9096 \begin_inset Flex Code
9097 status collapsed
9098
9099 \begin_layout Plain Layout
9100 TitleLatexName
9101 \end_layout
9102
9103 \end_inset
9104
9105 ).
9106 \end_layout
9107
9108 \begin_layout Description
9109 \begin_inset Flex Code
9110 status collapsed
9111
9112 \begin_layout Plain Layout
9113 ItemSep
9114 \end_layout
9115
9116 \end_inset
9117
9118  [
9119 \begin_inset Flex Code
9120 status collapsed
9121
9122 \begin_layout Plain Layout
9123 float=0
9124 \end_layout
9125
9126 \end_inset
9127
9128 ] Ein zusätzlicher Abstand zwischen Absätzen desselben Layouts.
9129  Wenn in einer Umgebung andere Layouts integriert werden, so werden diese
9130  mit dem 
9131 \begin_inset Flex Code
9132 status collapsed
9133
9134 \begin_layout Plain Layout
9135 ParSep
9136 \end_layout
9137
9138 \end_inset
9139
9140  der Umgebung getrennt.
9141  Die kompletten Unterpunkte der Umgebung werden jedoch 
9142 \emph on
9143 zusätzlich
9144 \emph default
9145  mit 
9146 \begin_inset Flex Code
9147 status collapsed
9148
9149 \begin_layout Plain Layout
9150 ItemSep
9151 \end_layout
9152
9153 \end_inset
9154
9155  getrennt.
9156  Man beachte, dass 
9157 \begin_inset Flex Code
9158 status collapsed
9159
9160 \begin_layout Plain Layout
9161 ItemSep
9162 \end_layout
9163
9164 \end_inset
9165
9166 ein 
9167 \emph on
9168 Multiplikator
9169 \emph default
9170  ist
9171 \emph on
9172 .
9173 \end_layout
9174
9175 \begin_layout Description
9176 \begin_inset Flex Code
9177 status collapsed
9178
9179 \begin_layout Plain Layout
9180 ItemTag
9181 \end_layout
9182
9183 \end_inset
9184
9185  [[FIXME]] (Wird nur für XML-Formate benutzt.)
9186 \end_layout
9187
9188 \begin_layout Description
9189 \begin_inset Flex Code
9190 status collapsed
9191
9192 \begin_layout Plain Layout
9193 KeepEmpty
9194 \end_layout
9195
9196 \end_inset
9197
9198  [
9199 \begin_inset Flex Code
9200 status collapsed
9201
9202 \begin_layout Plain Layout
9203
9204 \emph on
9205 0
9206 \end_layout
9207
9208 \end_inset
9209
9210 ,
9211 \begin_inset space \thinspace{}
9212 \end_inset
9213
9214
9215 \begin_inset Flex Code
9216 status collapsed
9217
9218 \begin_layout Plain Layout
9219 1
9220 \end_layout
9221
9222 \end_inset
9223
9224 ] Normalerweise ist es in LyX nicht möglich, einen Absatz leer zu lassen,
9225  da das zu einer leeren LaTeX-Ausgabe führen würde.
9226  In manchen Fällen ist das aber durchaus gewünscht: So können beispielsweise
9227  in einer Briefvorlage die benötigten Felder leer voreingestellt werden,
9228  damit keiner vergisst, sie anzugeben; in speziellen Klassen wird ein Absatz
9229  als Unterbrechung verwendet, der keinen Text enthält.
9230 \end_layout
9231
9232 \begin_layout Description
9233 \begin_inset Flex Code
9234 status collapsed
9235
9236 \begin_layout Plain Layout
9237 LabelBottomsep
9238 \end_layout
9239
9240 \end_inset
9241
9242  [
9243 \begin_inset Flex Code
9244 status collapsed
9245
9246 \begin_layout Plain Layout
9247 float=0
9248 \end_layout
9249
9250 \end_inset
9251
9252 ] Der vertikale Abstand zwischen der Marke und dem folgenden Text.
9253  Wird nur für Marken benutzt, die über dem folgenden Text stehen (
9254 \begin_inset Flex Code
9255 status collapsed
9256
9257 \begin_layout Plain Layout
9258 Top_Environment
9259 \end_layout
9260
9261 \end_inset
9262
9263  und 
9264 \begin_inset Flex Code
9265 status collapsed
9266
9267 \begin_layout Plain Layout
9268 Centered_Top_Environment
9269 \end_layout
9270
9271 \end_inset
9272
9273 ).
9274 \end_layout
9275
9276 \begin_layout Description
9277 \begin_inset Flex Code
9278 status collapsed
9279
9280 \begin_layout Plain Layout
9281 LabelCounter
9282 \end_layout
9283
9284 \end_inset
9285
9286  [
9287 \begin_inset Flex Code
9288 status collapsed
9289
9290 \begin_layout Plain Layout
9291 string=""
9292 \end_layout
9293
9294 \end_inset
9295
9296 ] ist der Name des Zählers zur automatischen Nummerierung.
9297 \begin_inset Newline newline
9298 \end_inset
9299
9300 Er 
9301 \emph on
9302 muss
9303 \emph default
9304  angegeben werden, wenn 
9305 \begin_inset Flex Code
9306 status collapsed
9307
9308 \begin_layout Plain Layout
9309 LabelType
9310 \end_layout
9311
9312 \end_inset
9313
9314  
9315 \begin_inset Flex Code
9316 status collapsed
9317
9318 \begin_layout Plain Layout
9319 Counter
9320 \end_layout
9321
9322 \end_inset
9323
9324  ist.
9325  In diesem Fall wird der Zähler jedes mal erhöht, wenn das entsprechende
9326  Layout im Dokument verwendet wird.
9327 \begin_inset Newline newline
9328 \end_inset
9329
9330 Er 
9331 \emph on
9332 kann
9333 \emph default
9334  angegeben werden, wenn 
9335 \begin_inset Flex Code
9336 status collapsed
9337
9338 \begin_layout Plain Layout
9339 LabelType
9340 \end_layout
9341
9342 \end_inset
9343
9344  
9345 \begin_inset Flex Code
9346 status collapsed
9347
9348 \begin_layout Plain Layout
9349 Enumerate
9350 \end_layout
9351
9352 \end_inset
9353
9354  ist.
9355  In diesem Fall ist es etwas kompliziert: Angenommen Sie haben 
9356 \begin_inset Quotes eld
9357 \end_inset
9358
9359
9360 \begin_inset Flex Code
9361 status collapsed
9362
9363 \begin_layout Plain Layout
9364 LabelCounter MeinZaehler
9365 \end_layout
9366
9367 \end_inset
9368
9369
9370 \begin_inset Quotes erd
9371 \end_inset
9372
9373  angegeben, dann lauten die eigentlichen Zähler 
9374 \begin_inset Flex Code
9375 status collapsed
9376
9377 \begin_layout Plain Layout
9378 MeinZaehleri
9379 \end_layout
9380
9381 \end_inset
9382
9383
9384 \begin_inset Flex Code
9385 status collapsed
9386
9387 \begin_layout Plain Layout
9388 MeinZaehlerii
9389 \end_layout
9390
9391 \end_inset
9392
9393
9394 \begin_inset Flex Code
9395 status collapsed
9396
9397 \begin_layout Plain Layout
9398 MeinZaehleriii
9399 \end_layout
9400
9401 \end_inset
9402
9403  und 
9404 \begin_inset Flex Code
9405 status collapsed
9406
9407 \begin_layout Plain Layout
9408 MeinZaehleriv
9409 \end_layout
9410
9411 \end_inset
9412
9413 ; so wie in LaTeX.
9414  Diese Zähler müssen alle separat deklariert werden.
9415 \begin_inset Newline newline
9416 \end_inset
9417
9418 Siehe Abschnitt
9419 \begin_inset space ~
9420 \end_inset
9421
9422
9423 \begin_inset CommandInset ref
9424 LatexCommand ref
9425 reference "sub:Zähler"
9426
9427 \end_inset
9428
9429  für Einzelheiten zu Zählern.
9430  
9431 \end_layout
9432
9433 \begin_layout Description
9434 \begin_inset Flex Code
9435 status collapsed
9436
9437 \begin_layout Plain Layout
9438 LabelFont
9439 \end_layout
9440
9441 \end_inset
9442
9443  Der Zeichensatz, der für die Marke verwendet wird.
9444  Siehe Abschnitt
9445 \begin_inset space \space{}
9446 \end_inset
9447
9448
9449 \begin_inset CommandInset ref
9450 LatexCommand ref
9451 reference "sub:Beschreibung-des-Zeichensatzes"
9452
9453 \end_inset
9454
9455 .
9456 \end_layout
9457
9458 \begin_layout Description
9459 \begin_inset Flex Code
9460 status collapsed
9461
9462 \begin_layout Plain Layout
9463 LabelIndent
9464 \end_layout
9465
9466 \end_inset
9467
9468  [
9469 \begin_inset Flex Code
9470 status collapsed
9471
9472 \begin_layout Plain Layout
9473 string=""
9474 \end_layout
9475
9476 \end_inset
9477
9478 ] Text der angibt, wie weit die Marke eingerückt werden soll.
9479 \end_layout
9480
9481 \begin_layout Description
9482 \begin_inset Flex Code
9483 status collapsed
9484
9485 \begin_layout Plain Layout
9486 Labelsep
9487 \end_layout
9488
9489 \end_inset
9490
9491  [
9492 \begin_inset Flex Code
9493 status collapsed
9494
9495 \begin_layout Plain Layout
9496 string=""
9497 \end_layout
9498
9499 \end_inset
9500
9501 ] Text der den horizontalen Abstand zwischen der Marke und dem folgenden
9502  Text angibt.
9503  Wird nur für Marken benutzt, die nicht über dem folgenden Text stehen.
9504 \end_layout
9505
9506 \begin_layout Description
9507 \begin_inset Flex Code
9508 status collapsed
9509
9510 \begin_layout Plain Layout
9511 LabelString
9512 \end_layout
9513
9514 \end_inset
9515
9516  [
9517 \begin_inset Flex Code
9518 status collapsed
9519
9520 \begin_layout Plain Layout
9521 string=""
9522 \end_layout
9523
9524 \end_inset
9525
9526 ] Der String, der für den 
9527 \begin_inset Flex Code
9528 status collapsed
9529
9530 \begin_layout Plain Layout
9531 LabelType
9532 \end_layout
9533
9534 \end_inset
9535
9536  
9537 \begin_inset Flex Code
9538 status collapsed
9539
9540 \begin_layout Plain Layout
9541 Static
9542 \end_layout
9543
9544 \end_inset
9545
9546  verwendet wird.
9547  Wenn 
9548 \begin_inset Flex Code
9549 status collapsed
9550
9551 \begin_layout Plain Layout
9552 LabelCounter
9553 \end_layout
9554
9555 \end_inset
9556
9557  gesetzt wurde, kann der String spezielle Formatierungsbefehle enthalten,
9558  wie sie in Abschnitt
9559 \begin_inset space ~
9560 \end_inset
9561
9562
9563 \begin_inset CommandInset ref
9564 LatexCommand ref
9565 reference "sub:Zähler"
9566
9567 \end_inset
9568
9569  be\SpecialChar \-
9570 schrieben sind.
9571 \end_layout
9572
9573 \begin_layout Description
9574 \begin_inset Flex Code
9575 status collapsed
9576
9577 \begin_layout Plain Layout
9578 LabelStringAppendix
9579 \end_layout
9580
9581 \end_inset
9582
9583  [
9584 \begin_inset Flex Code
9585 status collapsed
9586
9587 \begin_layout Plain Layout
9588 string=""
9589 \end_layout
9590
9591 \end_inset
9592
9593 ] wird im Anhang anstatt 
9594 \begin_inset Flex Code
9595 status collapsed
9596
9597 \begin_layout Plain Layout
9598 LabelString
9599 \end_layout
9600
9601 \end_inset
9602
9603  benutzt.
9604  Beachten Sie, dass jede Definition von 
9605 \begin_inset Flex Code
9606 status collapsed
9607
9608 \begin_layout Plain Layout
9609 LabelString
9610 \end_layout
9611
9612 \end_inset
9613
9614  auch 
9615 \begin_inset Flex Code
9616 status collapsed
9617
9618 \begin_layout Plain Layout
9619 LabelStringAppendix
9620 \end_layout
9621
9622 \end_inset
9623
9624  zurücksetzt.
9625 \end_layout
9626
9627 \begin_layout Description
9628 \begin_inset Flex Code
9629 status collapsed
9630
9631 \begin_layout Plain Layout
9632 LabelTag
9633 \end_layout
9634
9635 \end_inset
9636
9637  [FIXME] (Wird nur für XML-Formate benutzt.)
9638 \end_layout
9639
9640 \begin_layout Description
9641 \begin_inset Flex Code
9642 status collapsed
9643
9644 \begin_layout Plain Layout
9645 LabelType
9646 \end_layout
9647
9648 \end_inset
9649
9650  [
9651 \begin_inset Flex Code
9652 status collapsed
9653
9654 \begin_layout Plain Layout
9655
9656 \emph on
9657 No_Label
9658 \emph default
9659 , Manual, Static, Top_Environment,
9660 \begin_inset Newline newline
9661 \end_inset
9662
9663 Centered_Top_Environment, Counter, Sensitive, Enumerate,
9664 \begin_inset Newline newline
9665 \end_inset
9666
9667 Itemize, Bibliography
9668 \end_layout
9669
9670 \end_inset
9671
9672 ]
9673 \end_layout
9674
9675 \begin_deeper
9676 \begin_layout Description
9677 \begin_inset Flex Code
9678 status collapsed
9679
9680 \begin_layout Plain Layout
9681 Manual
9682 \end_layout
9683
9684 \end_inset
9685
9686  bedeutet: die Marke ist das erste Wort (bis zum ersten echten Leerzeichen).
9687  Verwenden Sie geschützte Leerzeichen wenn Sie mehr als ein Wort als Marke
9688  haben wollen.
9689  
9690 \end_layout
9691
9692 \begin_layout Description
9693 \begin_inset Flex Code
9694 status collapsed
9695
9696 \begin_layout Plain Layout
9697 Static
9698 \end_layout
9699
9700 \end_inset
9701
9702  bedeutet: die Marke ist was als 
9703 \begin_inset Flex Code
9704 status collapsed
9705
9706 \begin_layout Plain Layout
9707 LabelString
9708 \end_layout
9709
9710 \end_inset
9711
9712  definiert wurde.
9713 \end_layout
9714
9715 \begin_layout Description
9716 \begin_inset Flex Code
9717 status collapsed
9718
9719 \begin_layout Plain Layout
9720 Top_Environment
9721 \end_layout
9722
9723 \end_inset
9724
9725
9726 \begin_inset space ~
9727 \end_inset
9728
9729 und
9730 \begin_inset space ~
9731 \end_inset
9732
9733
9734 \begin_inset Flex Code
9735 status collapsed
9736
9737 \begin_layout Plain Layout
9738 Centered_Top_Environment
9739 \end_layout
9740
9741 \end_inset
9742
9743  sind Spezialfälle von
9744 \begin_inset Newline newline
9745 \end_inset
9746
9747
9748 \begin_inset Flex Code
9749 status collapsed
9750
9751 \begin_layout Plain Layout
9752 Static
9753 \end_layout
9754
9755 \end_inset
9756
9757 .
9758  Die Marke erscheint über dem Absatz, aber nur am Anfang der Umgebung oder
9759  am Anfang einer Serie von Absätzen mit diesem Layout.
9760  Dies benutzt man zum Beispiel im 
9761 \begin_inset Flex MenuItem
9762 status collapsed
9763
9764 \begin_layout Plain Layout
9765 Abstract
9766 \end_layout
9767
9768 \end_inset
9769
9770 -Layout.
9771 \end_layout
9772
9773 \begin_layout Description
9774 \begin_inset Flex Code
9775 status collapsed
9776
9777 \begin_layout Plain Layout
9778 Sensitive
9779 \end_layout
9780
9781 \end_inset
9782
9783  ist ein Spezialfall für die Bildunterschriftsmarken für Abbildungen und
9784  Tabellen-Gleitobjekte.
9785  
9786 \begin_inset Flex Code
9787 status collapsed
9788
9789 \begin_layout Plain Layout
9790 Sensitive
9791 \end_layout
9792
9793 \end_inset
9794
9795  bedeutet, dass der gedruckte Text von der Art des Gleitobjekts abhängt:
9796  Er ist fest einprogrammiert als 'GleitobjektTyp N', wobei N der Wert des
9797  Zählers des Gleitobjekttyps ist.
9798 \end_layout
9799
9800 \begin_layout Description
9801 \begin_inset Flex Code
9802 status collapsed
9803
9804 \begin_layout Plain Layout
9805 Counter
9806 \end_layout
9807
9808 \end_inset
9809
9810  definiert automatisch nummerierte Zähler.
9811  Der 
9812 \begin_inset Flex Code
9813 status collapsed
9814
9815 \begin_layout Plain Layout
9816 LabelString
9817 \end_layout
9818
9819 \end_inset
9820
9821  wird erweitert, damit er alle 
9822 \begin_inset Flex Code
9823 status collapsed
9824
9825 \begin_layout Plain Layout
9826 Counter
9827 \end_layout
9828
9829 \end_inset
9830
9831  enthält: Das Ergebnis wird demnach zum Beispiel 
9832 \begin_inset Quotes gld
9833 \end_inset
9834
9835
9836 \begin_inset Flex Code
9837 status collapsed
9838
9839 \begin_layout Plain Layout
9840 Abschnitt 
9841 \backslash
9842 thechapter.
9843 \backslash
9844 thesection
9845 \end_layout
9846
9847 \end_inset
9848
9849
9850 \begin_inset Quotes grd
9851 \end_inset
9852
9853  sein.
9854  Siehe Abschnitt
9855 \begin_inset space ~
9856 \end_inset
9857
9858
9859 \begin_inset CommandInset ref
9860 LatexCommand ref
9861 reference "sub:Zähler"
9862
9863 \end_inset
9864
9865  für weitere Informationen über Zähler.
9866 \end_layout
9867
9868 \begin_layout Description
9869 \begin_inset Flex Code
9870 status collapsed
9871
9872 \begin_layout Plain Layout
9873 Enumerate
9874 \end_layout
9875
9876 \end_inset
9877
9878  erzeugt die üblichen Marken für Nummerierungen.
9879  Momentan sind diese fest auf arabische Zahlen, Kleinbuchstaben, kleine
9880  römische Zahlen und Großbuchstaben (für die 4
9881 \begin_inset space ~
9882 \end_inset
9883
9884 möglichen Schachtelungstiefen) programmiert.
9885 \end_layout
9886
9887 \begin_layout Description
9888 \begin_inset Flex Code
9889 status collapsed
9890
9891 \begin_layout Plain Layout
9892 Itemize
9893 \end_layout
9894
9895 \end_inset
9896
9897  erzeugt je nach Schachtelungsebene verschiedene Auflistungszeichen, Diese
9898  sind ebenfalls fest programmiert.
9899 \end_layout
9900
9901 \begin_layout Description
9902 \begin_inset Flex Code
9903 status collapsed
9904
9905 \begin_layout Plain Layout
9906 Bibliography
9907 \end_layout
9908
9909 \end_inset
9910
9911  wird intern von LyX verwendet und sollte nur zusammen mit 
9912 \begin_inset Flex Code
9913 status collapsed
9914
9915 \begin_layout Plain Layout
9916 LatexType BibEnvironment
9917 \end_layout
9918
9919 \end_inset
9920
9921  verwendet werden.
9922 \end_layout
9923
9924 \end_deeper
9925 \begin_layout Description
9926 \begin_inset Flex Code
9927 status collapsed
9928
9929 \begin_layout Plain Layout
9930 LangPreamble
9931 \end_layout
9932
9933 \end_inset
9934
9935  Beachten Sie, dass dies alle vorhergehenden 
9936 \begin_inset Flex Code
9937 status collapsed
9938
9939 \begin_layout Plain Layout
9940 LangPreamble
9941 \end_layout
9942
9943 \end_inset
9944
9945 -Deklaration für diesen Stil überschreibt.
9946  Muss mit 
9947 \begin_inset Quotes gld
9948 \end_inset
9949
9950
9951 \begin_inset Flex Code
9952 status collapsed
9953
9954 \begin_layout Plain Layout
9955 EndLangPreamble
9956 \end_layout
9957
9958 \end_inset
9959
9960
9961 \begin_inset Quotes grd
9962 \end_inset
9963
9964  beendet werden.
9965  Siehe Abschnitt
9966 \begin_inset space ~
9967 \end_inset
9968
9969
9970 \begin_inset CommandInset ref
9971 LatexCommand ref
9972 reference "sub:I18n"
9973
9974 \end_inset
9975
9976  für Details zur Verwendung.
9977 \end_layout
9978
9979 \begin_layout Description
9980 \begin_inset Flex Code
9981 status collapsed
9982
9983 \begin_layout Plain Layout
9984 LatexName
9985 \end_layout
9986
9987 \end_inset
9988
9989  [
9990 \begin_inset Flex Code
9991 status collapsed
9992
9993 \begin_layout Plain Layout
9994 <Name>
9995 \end_layout
9996
9997 \end_inset
9998
9999 ] Der LaTeX-Name für dieses Layout.
10000  Das bedeutet entweder der Name eines LaTeX-Befehls oder der einer LaTeX-Umgebun
10001 g.
10002 \end_layout
10003
10004 \begin_layout Description
10005 \begin_inset Flex Code
10006 status collapsed
10007
10008 \begin_layout Plain Layout
10009 LatexParam
10010 \end_layout
10011
10012 \end_inset
10013
10014  [
10015 \begin_inset Flex Code
10016 status collapsed
10017
10018 \begin_layout Plain Layout
10019 <Parameter>
10020 \end_layout
10021
10022 \end_inset
10023
10024 ] Ein optionaler Parameter für den entsprechenden
10025 \begin_inset Newline newline
10026 \end_inset
10027
10028
10029 \begin_inset Flex Code
10030 status collapsed
10031
10032 \begin_layout Plain Layout
10033 LatexName
10034 \end_layout
10035
10036 \end_inset
10037
10038 .
10039  Dieser Parameter kann innerhalb von LyX nicht mehr geändert werden.
10040  
10041 \end_layout
10042
10043 \begin_layout Description
10044 \begin_inset Flex Code
10045 status collapsed
10046
10047 \begin_layout Plain Layout
10048 LatexType
10049 \end_layout
10050
10051 \end_inset
10052
10053  [
10054 \begin_inset Flex Code
10055 status collapsed
10056
10057 \begin_layout Plain Layout
10058
10059 \emph on
10060 Paragraph
10061 \emph default
10062 , Command, Environment, Item_Environment,
10063 \begin_inset Newline newline
10064 \end_inset
10065
10066 List_Environment, Bib_Environment
10067 \end_layout
10068
10069 \end_inset
10070
10071 ] Legt fest, wie das Layout in LaTeX übersetzt wird.
10072 \begin_inset Foot
10073 status collapsed
10074
10075 \begin_layout Plain Layout
10076 \begin_inset Flex Code
10077 status collapsed
10078
10079 \begin_layout Plain Layout
10080 LatexType
10081 \end_layout
10082
10083 \end_inset
10084
10085  mag irreführend sein, denn dessen Regeln gelten auch für SGML-Klassen.
10086  Siehe die SGML Klassendateien für spezielle Beispiele.
10087 \end_layout
10088
10089 \end_inset
10090
10091
10092 \end_layout
10093
10094 \begin_deeper
10095 \begin_layout Description
10096 \begin_inset Flex Code
10097 status collapsed
10098
10099 \begin_layout Plain Layout
10100 Paragraph
10101 \end_layout
10102
10103 \end_inset
10104
10105  bewirkt nichts besonderes -- der Text wird als 
10106 \emph on
10107 normaler
10108 \emph default
10109  
10110 \emph on
10111 Absatz
10112 \emph default
10113  übernommen.
10114 \end_layout
10115
10116 \begin_layout Description
10117 \begin_inset Flex Code
10118 status collapsed
10119
10120 \begin_layout Plain Layout
10121 Command
10122 \end_layout
10123
10124 \end_inset
10125
10126  behandelt den Text als Argument eines LaTeX-Befehls
10127 \begin_inset Newline newline
10128 \end_inset
10129
10130 (
10131 \begin_inset Flex Code
10132 status collapsed
10133
10134 \begin_layout Plain Layout
10135
10136 \backslash
10137
10138 \emph on
10139 LatexName
10140 \emph default
10141 {\SpecialChar \ldots{}
10142 }
10143 \end_layout
10144
10145 \end_inset
10146
10147 ).
10148 \end_layout
10149
10150 \begin_layout Description
10151 \begin_inset Flex Code
10152 status collapsed
10153
10154 \begin_layout Plain Layout
10155 Environment
10156 \end_layout
10157
10158 \end_inset
10159
10160  behandelt den Text als Kern einer LaTeX-Umgebung
10161 \begin_inset Newline newline
10162 \end_inset
10163
10164 (
10165 \begin_inset Flex Code
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169
10170 \backslash
10171 begin{
10172 \emph on
10173 LatexName
10174 \emph default
10175 }\SpecialChar \ldots{}
10176
10177 \backslash
10178 end{
10179 \emph on
10180 LatexName
10181 \emph default
10182 }
10183 \end_layout
10184
10185 \end_inset
10186
10187 ).
10188 \end_layout
10189
10190 \begin_layout Description
10191 \begin_inset Flex Code
10192 status collapsed
10193
10194 \begin_layout Plain Layout
10195 Item_Environment
10196 \end_layout
10197
10198 \end_inset
10199
10200  bewirkt dasselbe wie 
10201 \begin_inset Flex Code
10202 status collapsed
10203
10204 \begin_layout Plain Layout
10205 Environment
10206 \end_layout
10207
10208 \end_inset
10209
10210 , nur dass vor jedem Absatz ein 
10211 \begin_inset Flex Code
10212 status collapsed
10213
10214 \begin_layout Plain Layout
10215
10216 \backslash
10217 item
10218 \end_layout
10219
10220 \end_inset
10221
10222  eingefügt wird.
10223  
10224 \end_layout
10225
10226 \begin_layout Description
10227 \begin_inset Flex Code
10228 status collapsed
10229
10230 \begin_layout Plain Layout
10231 List_Environment
10232 \end_layout
10233
10234 \end_inset
10235
10236  funktioniert wie 
10237 \begin_inset Flex Code
10238 status collapsed
10239
10240 \begin_layout Plain Layout
10241 Item_Environment
10242 \end_layout
10243
10244 \end_inset
10245
10246 , nur dass
10247 \begin_inset Newline newline
10248 \end_inset
10249
10250
10251 \begin_inset Flex Code
10252 status collapsed
10253
10254 \begin_layout Plain Layout
10255 LabelWidthString
10256 \end_layout
10257
10258 \end_inset
10259
10260  als Argument an die Umgebung übergeben wird.
10261 \begin_inset Newline newline
10262 \end_inset
10263
10264
10265 \begin_inset Flex Code
10266 status collapsed
10267
10268 \begin_layout Plain Layout
10269 LabelWidthString
10270 \end_layout
10271
10272 \end_inset
10273
10274  kann im Menü 
10275 \family sans
10276 Bearbeiten
10277 \family default
10278 \SpecialChar \menuseparator
10279
10280 \family sans
10281 Absatz-Einstellungen
10282 \family default
10283  
10284 \begin_inset Marginal
10285 status open
10286
10287 \begin_layout Plain Layout
10288 \begin_inset Graphics
10289         filename ../../images/layout-paragraph.png
10290         BoundingBox 0bp 6bp 20bp 20bp
10291
10292 \end_inset
10293
10294
10295 \end_layout
10296
10297 \end_inset
10298
10299  definiert werden.
10300 \end_layout
10301
10302 \begin_layout Description
10303 \begin_inset Flex Code
10304 status collapsed
10305
10306 \begin_layout Plain Layout
10307 Bib_Environment
10308 \end_layout
10309
10310 \end_inset
10311
10312  ist wie 
10313 \begin_inset Flex Code
10314 status collapsed
10315
10316 \begin_layout Plain Layout
10317 Environment
10318 \end_layout
10319
10320 \end_inset
10321
10322  aber fügt zusätzlich das notwendige Argument zum Begin-Befehl der Bibliography-
10323 Umgebung ein:
10324 \begin_inset Newline newline
10325 \end_inset
10326
10327
10328 \begin_inset Flex Code
10329 status collapsed
10330
10331 \begin_layout Plain Layout
10332
10333 \backslash
10334 begin{thebibliography}{99}
10335 \end_layout
10336
10337 \end_inset
10338
10339  Es ist daher nur für die Bibliography-Umgebung nützlich.
10340 \end_layout
10341
10342 \begin_layout Standard
10343 Fasst man die letzten Sachen zusammen, wird die LaTeX-Ausgabe entweder so:
10344 \end_layout
10345
10346 \begin_layout LyX-Code
10347
10348 \backslash
10349 LatexName[LatexParam]{\SpecialChar \ldots{}
10350 }
10351 \end_layout
10352
10353 \begin_layout Standard
10354 oder so:
10355 \end_layout
10356
10357 \begin_layout LyX-Code
10358
10359 \backslash
10360 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
10361  
10362 \backslash
10363 end{LatexName}.
10364 \end_layout
10365
10366 \begin_layout Standard
10367 aussehen, abhängig vom LaTeX-Typ.
10368 \end_layout
10369
10370 \end_deeper
10371 \begin_layout Description
10372 \begin_inset Flex Code
10373 status collapsed
10374
10375 \begin_layout Plain Layout
10376 LeftMargin
10377 \end_layout
10378
10379 \end_inset
10380
10381  [
10382 \begin_inset Flex Code
10383 status collapsed
10384
10385 \begin_layout Plain Layout
10386 string=""
10387 \end_layout
10388
10389 \end_inset
10390
10391 ] Wenn ein Layout in ein anderes Layout für Umgebungen eingefügt wird, werden
10392  die Breiten der verschiedenen 
10393 \begin_inset Flex Code
10394 status collapsed
10395
10396 \begin_layout Plain Layout
10397 LeftMargin
10398 \end_layout
10399
10400 \end_inset
10401
10402  nicht einfach addiert, sondern vorher in Abhängigkeit zur Schachtelungstiefe
10403  mit dem Faktor 
10404 \begin_inset Formula $\frac{4}{\mathrm{Tiefe}+4}$
10405 \end_inset
10406
10407  multipliziert.
10408  Dieser Parameter wird auch dann benutzt, wenn 
10409 \begin_inset Flex Code
10410 status collapsed
10411
10412 \begin_layout Plain Layout
10413 Margin
10414 \end_layout
10415
10416 \end_inset
10417
10418  als 
10419 \begin_inset Flex Code
10420 status collapsed
10421
10422 \begin_layout Plain Layout
10423 Manual
10424 \end_layout
10425
10426 \end_inset
10427
10428  oder 
10429 \begin_inset Flex Code
10430 status collapsed
10431
10432 \begin_layout Plain Layout
10433 Dynamic
10434 \end_layout
10435
10436 \end_inset
10437
10438  definiert wurde.
10439  In diesem Fall wird der Wert zu den gegebenen manuellen oder dynamischen
10440  Rändern hinzugefügt.
10441 \begin_inset Newline newline
10442 \end_inset
10443
10444 Zum Beispiel bedeutet 
10445 \begin_inset Quotes gld
10446 \end_inset
10447
10448
10449 \begin_inset Flex Code
10450 status collapsed
10451
10452 \begin_layout Plain Layout
10453 MM
10454 \end_layout
10455
10456 \end_inset
10457
10458
10459 \begin_inset Quotes grd
10460 \end_inset
10461
10462 , dass der Absatz mit der Breite eingerückt wird, die die Buchstaben 
10463 \begin_inset Quotes gld
10464 \end_inset
10465
10466
10467 \begin_inset Flex Code
10468 status collapsed
10469
10470 \begin_layout Plain Layout
10471 MM
10472 \end_layout
10473
10474 \end_inset
10475
10476
10477 \begin_inset Quotes grd
10478 \end_inset
10479
10480  in der normalen Schriftart haben.
10481  man kann negative Breite erzeugen, indem man den String mit 
10482 \begin_inset Quotes gld
10483 \end_inset
10484
10485
10486 \begin_inset Flex Code
10487 status collapsed
10488
10489 \begin_layout Plain Layout
10490 -
10491 \end_layout
10492
10493 \end_inset
10494
10495
10496 \begin_inset Quotes grd
10497 \end_inset
10498
10499  beginnt.
10500  Diese Art der Angabe wurde gewählt, damit der Text unabhängig von der verwendet
10501 en Bildschirmschriftart wie vorgesehen aussieht.
10502 \end_layout
10503
10504 \begin_layout Description
10505 \begin_inset Flex Code
10506 status collapsed
10507
10508 \begin_layout Plain Layout
10509 Margin
10510 \end_layout
10511
10512 \end_inset
10513
10514  [
10515 \begin_inset Flex Code
10516 status collapsed
10517
10518 \begin_layout Plain Layout
10519
10520 \emph on
10521 Static
10522 \emph default
10523 , Manual, Dynamic, First_Dynamic, Right_Address_Box
10524 \end_layout
10525
10526 \end_inset
10527
10528 ]
10529 \begin_inset Newline newline
10530 \end_inset
10531
10532 legt fest, wie der linke Rand des Textes bestimmt wird.
10533  
10534 \end_layout
10535
10536 \begin_deeper
10537 \begin_layout Description
10538 \begin_inset Flex Code
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542 Static
10543 \end_layout
10544
10545 \end_inset
10546
10547  wählt feste Randbreiten.
10548  
10549 \end_layout
10550
10551 \begin_layout Description
10552 \begin_inset Flex Code
10553 status collapsed
10554
10555 \begin_layout Plain Layout
10556 Manual
10557 \end_layout
10558
10559 \end_inset
10560
10561  bedeutet, dass der Rand von der Einstellung der 
10562 \family sans
10563 Ausrichtung
10564 \family default
10565  im Menü 
10566 \family sans
10567 Absatz-Einstellungen
10568 \family default
10569  (
10570 \family sans
10571 Bearbeiten
10572 \family default
10573 \SpecialChar \menuseparator
10574
10575 \family sans
10576 Absatz-Einstellungen
10577 \family default
10578
10579 \begin_inset Marginal
10580 status open
10581
10582 \begin_layout Plain Layout
10583 \begin_inset Graphics
10584         filename ../../images/layout-paragraph.png
10585         BoundingBox 0bp 6bp 20bp 20bp
10586
10587 \end_inset
10588
10589
10590 \end_layout
10591
10592 \end_inset
10593
10594 ) abhängt.
10595  Dies wird für hübsche Listen ohne Tabulatoren benutzt.
10596  
10597 \end_layout
10598
10599 \begin_layout Description
10600 \begin_inset Flex Code
10601 status collapsed
10602
10603 \begin_layout Plain Layout
10604 Dynamic
10605 \end_layout
10606
10607 \end_inset
10608
10609  bedeutet, der linke Rand hängt von der Größe der verwendeten Markierung
10610  ab.
10611  Dies wird zum Beispiel bei automatisch nummerierten Überschriften verwendet.
10612  Es leuchtet ein, dass die Überschrift 
10613 \begin_inset Quotes gld
10614 \end_inset
10615
10616 5.4.3.2.1 Sehr lange \SpecialChar \ldots{}
10617  Überschrift
10618 \begin_inset Quotes grd
10619 \end_inset
10620
10621  einen größeren linken Rand benötigt, als 
10622 \begin_inset Quotes gld
10623 \end_inset
10624
10625 3.2 Sehr lange \SpecialChar \ldots{}
10626  Überschrift
10627 \begin_inset Quotes grd
10628 \end_inset
10629
10630 .
10631  
10632 \end_layout
10633
10634 \begin_layout Description
10635 \begin_inset Flex Code
10636 status collapsed
10637
10638 \begin_layout Plain Layout
10639 First_Dynamic
10640 \end_layout
10641
10642 \end_inset
10643
10644  arbeitet ähnlich wie 
10645 \begin_inset Flex Code
10646 status collapsed
10647
10648 \begin_layout Plain Layout
10649 Dynamic
10650 \end_layout
10651
10652 \end_inset
10653
10654 , aber nur die erste Zeile wird dynamisch gesetzt, die anderen statisch.
10655  Dies wird für die LaTeX
10656 \begin_inset ERT
10657 status collapsed
10658
10659 \begin_layout Plain Layout
10660
10661 "=
10662 \end_layout
10663
10664 \end_inset
10665
10666 Umgebung 
10667 \begin_inset Flex Code
10668 status collapsed
10669
10670 \begin_layout Plain Layout
10671 description
10672 \end_layout
10673
10674 \end_inset
10675
10676  benutzt.
10677 \end_layout
10678
10679 \begin_layout Description
10680 \begin_inset Flex Code
10681 status collapsed
10682
10683 \begin_layout Plain Layout
10684 Right_Address_Box
10685 \end_layout
10686
10687 \end_inset
10688
10689  bedeutet, dass der Rand so gewählt wird, dass die längste Zeile des Absatzes
10690  gerade den rechten Rand berührt.
10691  Dies wird zum Setzen einer Adresse am rechten Rand der Seite eingesetzt.
10692 \end_layout
10693
10694 \end_deeper
10695 \begin_layout Description
10696 \begin_inset Flex Code
10697 status collapsed
10698
10699 \begin_layout Plain Layout
10700 NeedProtect
10701 \end_layout
10702
10703 \end_inset
10704
10705  [
10706 \begin_inset Flex Code
10707 status collapsed
10708
10709 \begin_layout Plain Layout
10710
10711 \emph on
10712 0
10713 \end_layout
10714
10715 \end_inset
10716
10717 ,
10718 \begin_inset space \thinspace{}
10719 \end_inset
10720
10721
10722 \begin_inset Flex Code
10723 status collapsed
10724
10725 \begin_layout Plain Layout
10726 1
10727 \end_layout
10728
10729 \end_inset
10730
10731 ] Gibt an, ob 
10732 \begin_inset Quotes gld
10733 \end_inset
10734
10735 zerbrechliche
10736 \begin_inset Quotes grd
10737 \end_inset
10738
10739  LaTeX-Befehle innerhalb dieses Layouts durch 
10740 \begin_inset Flex Code
10741 status collapsed
10742
10743 \begin_layout Plain Layout
10744
10745 \backslash
10746 protect
10747 \end_layout
10748
10749 \end_inset
10750
10751  geschützt werden müssen.
10752  (Achtung: Diese Einstellung sagt nichts darüber aus, ob der Befehl an sich
10753  geschützt werden soll.)
10754 \end_layout
10755
10756 \begin_layout Description
10757 \begin_inset Flex Code
10758 status collapsed
10759
10760 \begin_layout Plain Layout
10761 Newline
10762 \end_layout
10763
10764 \end_inset
10765
10766  [
10767 \begin_inset Flex Code
10768 status collapsed
10769
10770 \begin_layout Plain Layout
10771 0
10772 \end_layout
10773
10774 \end_inset
10775
10776 ,
10777 \begin_inset space \thinspace{}
10778 \end_inset
10779
10780
10781 \begin_inset Flex Code
10782 status collapsed
10783
10784 \begin_layout Plain Layout
10785
10786 \emph on
10787 1
10788 \end_layout
10789
10790 \end_inset
10791
10792 ] Gibt an, ob Zeilenumbrüche in LaTeX als 
10793 \begin_inset Quotes gld
10794 \end_inset
10795
10796
10797 \begin_inset Flex Code
10798 status collapsed
10799
10800 \begin_layout Plain Layout
10801
10802 \backslash
10803
10804 \backslash
10805
10806 \end_layout
10807
10808 \end_inset
10809
10810
10811 \begin_inset Quotes grd
10812 \end_inset
10813
10814  dargestellt werden, oder nicht.
10815  Man kann dies ausschalten (Wert: 
10816 \begin_inset Flex Code
10817 status collapsed
10818
10819 \begin_layout Plain Layout
10820 0
10821 \end_layout
10822
10823 \end_inset
10824
10825 ), um TeX-Code in LyX komfortabler editieren zu können.
10826 \end_layout
10827
10828 \begin_layout Description
10829 \begin_inset Flex Code
10830 status collapsed
10831
10832 \begin_layout Plain Layout
10833 NextNoIndent
10834 \end_layout
10835
10836 \end_inset
10837
10838  [
10839 \begin_inset Flex Code
10840 status collapsed
10841
10842 \begin_layout Plain Layout
10843
10844 \emph on
10845 0
10846 \end_layout
10847
10848 \end_inset
10849
10850 ,
10851 \begin_inset space \thinspace{}
10852 \end_inset
10853
10854
10855 \begin_inset Flex Code
10856 status collapsed
10857
10858 \begin_layout Plain Layout
10859 1
10860 \end_layout
10861
10862 \end_inset
10863
10864 ] Gibt an, ob der nachfolgende Absatz einen linken Einzug haben darf oder
10865  nicht.
10866  
10867 \begin_inset Flex Code
10868 status collapsed
10869
10870 \begin_layout Plain Layout
10871 1
10872 \end_layout
10873
10874 \end_inset
10875
10876  heißt, der Absatz erhält auf keinen Fall einen Einzug (z.
10877 \begin_inset space \thinspace{}
10878 \end_inset
10879
10880 B.
10881  nach einer Überschrift), wenn 
10882 \begin_inset Flex Code
10883 status collapsed
10884
10885 \begin_layout Plain Layout
10886 DefaultStyle
10887 \end_layout
10888
10889 \end_inset
10890
10891 - (normalerweise 
10892 \begin_inset Flex Code
10893 status collapsed
10894
10895 \begin_layout Plain Layout
10896 Standard
10897 \end_layout
10898
10899 \end_inset
10900
10901 -) Paragraphen einen Einzug haben.
10902  (Daher beeinflusst die Einstellung nur 
10903 \begin_inset Flex Code
10904 status collapsed
10905
10906 \begin_layout Plain Layout
10907 Standard
10908 \end_layout
10909
10910 \end_inset
10911
10912 -Paragraphen.)
10913 \end_layout
10914
10915 \begin_layout Description
10916 \begin_inset Flex Code
10917 status collapsed
10918
10919 \begin_layout Plain Layout
10920 ObsoletedBy
10921 \end_layout
10922
10923 \end_inset
10924
10925  [
10926 \begin_inset Flex Code
10927 status collapsed
10928
10929 \begin_layout Plain Layout
10930 <Name>
10931 \end_layout
10932
10933 \end_inset
10934
10935 ] Der Name eines Layouts, das durch dieses ersetzt wurde.
10936  So können Sie ein Layout umbenennen und die Rückwärtskompatibilität erhalten.
10937 \end_layout
10938
10939 \begin_layout Description
10940 \begin_inset Flex Code
10941 status collapsed
10942
10943 \begin_layout Plain Layout
10944 OptionalArgs
10945 \end_layout
10946
10947 \end_inset
10948
10949  [
10950 \begin_inset Flex Code
10951 status collapsed
10952
10953 \begin_layout Plain Layout
10954 int=0
10955 \end_layout
10956
10957 \end_inset
10958
10959 ] Die Zahl der optionalen Argumente, die in diesem Layout benutzt werden
10960  können.
10961  Dies ist zum Beispiel bei Abschnittsüberschriften hilfreich und macht nur
10962  mit LaTeX Sinn.
10963  Beachten Sie, dass in der Ausgabe die optionalen Argumente vor den benöigten
10964  stehen werden (siehe unten).
10965  Man kann also Konstrukte wie dieses hier haben:
10966 \end_layout
10967
10968 \begin_deeper
10969 \begin_layout LyX-Code
10970
10971 \backslash
10972 mycmd[optional1]{benötigt1}{Inhalt des Paragraphs}
10973 \end_layout
10974
10975 \begin_layout Standard
10976 aber nicht:
10977 \end_layout
10978
10979 \begin_layout LyX-Code
10980
10981 \backslash
10982 mycmd[optional1]{benötigt1}[optional2]{Inhalt des Paragraphs}
10983 \end_layout
10984
10985 \begin_layout Standard
10986 zumindest nicht ohne TeX-Code (in den man alles schreiben kann).
10987 \end_layout
10988
10989 \end_deeper
10990 \begin_layout Description
10991 \begin_inset Flex Code
10992 status collapsed
10993
10994 \begin_layout Plain Layout
10995 ParbreakIsNewline
10996 \end_layout
10997
10998 \end_inset
10999
11000  [
11001 \begin_inset Flex Code
11002 status collapsed
11003
11004 \begin_layout Plain Layout
11005
11006 \emph on
11007 0
11008 \end_layout
11009
11010 \end_inset
11011
11012 ,
11013 \begin_inset space \thinspace{}
11014 \end_inset
11015
11016
11017 \begin_inset Flex Code
11018 status collapsed
11019
11020 \begin_layout Plain Layout
11021 1
11022 \end_layout
11023
11024 \end_inset
11025
11026 ] Gibt an, dass ein Paragraph nicht durch eine leere Zeile in der LaTeX-Ausgabe
11027  abgesetzt wird, sondern nur duch einen Zeilenumbruch.
11028  Zusammen mit 
11029 \begin_inset Flex Code
11030 status collapsed
11031
11032 \begin_layout Plain Layout
11033 PassThru 1
11034 \end_layout
11035
11036 \end_inset
11037
11038  erlaubt dies die Emulation eines reinen Texteditors (so wie die TeX-Code
11039  Einfügung).
11040 \end_layout
11041
11042 \begin_layout Description
11043 \begin_inset Flex Code
11044 status collapsed
11045
11046 \begin_layout Plain Layout
11047 ParIndent
11048 \end_layout
11049
11050 \end_inset
11051
11052  [
11053 \begin_inset Flex Code
11054 status collapsed
11055
11056 \begin_layout Plain Layout
11057 string=""
11058 \end_layout
11059
11060 \end_inset
11061
11062 ] Der Einzug der ersten Zeile eines Absatzes.
11063  
11064 \begin_inset Flex Code
11065 status collapsed
11066
11067 \begin_layout Plain Layout
11068 Parindent
11069 \end_layout
11070
11071 \end_inset
11072
11073  bleibt für ein bestimmtes Layout fest.
11074  Eine Ausnahme ist das Standard-Layout, denn dort kann der Einzug vom vorherigen
11075  Layout mit 
11076 \begin_inset Flex Code
11077 status collapsed
11078
11079 \begin_layout Plain Layout
11080 NextNoIndent
11081 \end_layout
11082
11083 \end_inset
11084
11085  verboten werden.
11086  Außerdem benutzt das 
11087 \begin_inset Flex Code
11088 status collapsed
11089
11090 \begin_layout Plain Layout
11091 Standard
11092 \end_layout
11093
11094 \end_inset
11095
11096 -Layout innerhalb von Umgebungen den 
11097 \begin_inset Flex Code
11098 status collapsed
11099
11100 \begin_layout Plain Layout
11101 Parindent
11102 \end_layout
11103
11104 \end_inset
11105
11106  der Umgebung und nicht den eigenen.
11107  Zum Beispiel haben 
11108 \begin_inset Flex Code
11109 status collapsed
11110
11111 \begin_layout Plain Layout
11112 Standard
11113 \end_layout
11114
11115 \end_inset
11116
11117 -Absätze innerhalb einer Aufzählung keinen Einzug.
11118 \end_layout
11119
11120 \begin_layout Description
11121 \begin_inset Flex Code
11122 status collapsed
11123
11124 \begin_layout Plain Layout
11125 ParSep
11126 \end_layout
11127
11128 \end_inset
11129
11130  [
11131 \begin_inset Flex Code
11132 status collapsed
11133
11134 \begin_layout Plain Layout
11135 float=0
11136 \end_layout
11137
11138 \end_inset
11139
11140 ] Der vertikale Anstand zwischen den Absätzen dieses Layouts.
11141 \end_layout
11142
11143 \begin_layout Description
11144 \begin_inset Flex Code
11145 status collapsed
11146
11147 \begin_layout Plain Layout
11148 Parskip
11149 \end_layout
11150
11151 \end_inset
11152
11153  [
11154 \begin_inset Flex Code
11155 status collapsed
11156
11157 \begin_layout Plain Layout
11158 float=0
11159 \end_layout
11160
11161 \end_inset
11162
11163 ] Der Benutzer kann in LyX wählen ob Absätze duch 
11164 \family sans
11165 Einrückung
11166 \family default
11167  oder 
11168 \family sans
11169 Vertikaler
11170 \begin_inset space \space{}
11171 \end_inset
11172
11173 Abstand
11174 \family default
11175  getrennt werden.
11176  Wenn 
11177 \family sans
11178 Einrückung
11179 \family default
11180  gewählt ist, wird 
11181 \begin_inset Flex Code
11182 status collapsed
11183
11184 \begin_layout Plain Layout
11185 Parskip
11186 \end_layout
11187
11188 \end_inset
11189
11190  ignoriert.
11191  Ist 
11192 \family sans
11193 Vertikaler
11194 \begin_inset space \space{}
11195 \end_inset
11196
11197 Abstand
11198 \family default
11199  gewählt wird 
11200 \begin_inset Flex Code
11201 status collapsed
11202
11203 \begin_layout Plain Layout
11204 ParIndent
11205 \end_layout
11206
11207 \end_inset
11208
11209  ignoriert und alle Absätze durch den vertikalen Abstand von 
11210 \begin_inset Flex Code
11211 status collapsed
11212
11213 \begin_layout Plain Layout
11214 Parskip
11215 \end_layout
11216
11217 \end_inset
11218
11219  getrennt.
11220  Die Länge dieses Abstands berechnet sich mit 
11221 \begin_inset Flex Code
11222 status collapsed
11223
11224 \begin_layout Plain Layout
11225 Parskip
11226 \begin_inset space ~
11227 \end_inset
11228
11229 * DefaultHeight
11230 \end_layout
11231
11232 \end_inset
11233
11234  wobei 
11235 \begin_inset Flex Code
11236 status collapsed
11237
11238 \begin_layout Plain Layout
11239 DefaultHeight
11240 \end_layout
11241
11242 \end_inset
11243
11244  die Höhe einer Zeile in der normalen Schrift ist.
11245  Dadurch bleibt das Aussehen mit verschiedenen Schriften gleich.
11246 \end_layout
11247
11248 \begin_layout Description
11249 \begin_inset Flex Code
11250 status collapsed
11251
11252 \begin_layout Plain Layout
11253 PassThru
11254 \end_layout
11255
11256 \end_inset
11257
11258  [
11259 \begin_inset Flex Code
11260 status collapsed
11261
11262 \begin_layout Plain Layout
11263
11264 \emph on
11265 0
11266 \end_layout
11267
11268 \end_inset
11269
11270 ,
11271 \begin_inset space \thinspace{}
11272 \end_inset
11273
11274
11275 \begin_inset Flex Code
11276 status collapsed
11277
11278 \begin_layout Plain Layout
11279 1
11280 \end_layout
11281
11282 \end_inset
11283
11284 ]
11285 \family typewriter
11286  
11287 \family default
11288 Legt fest, ob der Absatzinhalt unverändert ausgegeben werden soll, also
11289  ohne diverse von LaTeX benötigte Ersetzungen durchzuführen.
11290 \end_layout
11291
11292 \begin_layout Description
11293 \begin_inset Flex Code
11294 status collapsed
11295
11296 \begin_layout Plain Layout
11297 Preamble
11298 \end_layout
11299
11300 \end_inset
11301
11302  Befehle und Definitionen, die in die Präambel (vor 
11303 \begin_inset Flex Code
11304 status collapsed
11305
11306 \begin_layout Plain Layout
11307
11308 \backslash
11309 begin{docu\SpecialChar \-
11310 ment}
11311 \end_layout
11312
11313 \end_inset
11314
11315 ) eingefügt werden, wenn dieses Layout benutzt wird.
11316  Kann verwendet werden um Pakete zu laden, Makros zu definieren usw..
11317  Muss mit 
11318 \begin_inset Quotes gld
11319 \end_inset
11320
11321
11322 \begin_inset Flex Code
11323 status collapsed
11324
11325 \begin_layout Plain Layout
11326 EndPreamble
11327 \end_layout
11328
11329 \end_inset
11330
11331
11332 \begin_inset Quotes grd
11333 \end_inset
11334
11335  beendet werden.
11336 \end_layout
11337
11338 \begin_layout Description
11339 \begin_inset Flex Code
11340 status collapsed
11341
11342 \begin_layout Plain Layout
11343 RefPrefix
11344 \end_layout
11345
11346 \end_inset
11347
11348  [
11349 \begin_inset Flex Code
11350 status collapsed
11351
11352 \begin_layout Plain Layout
11353 string
11354 \end_layout
11355
11356 \end_inset
11357
11358 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieses Paragraphs
11359  verwiesen wird.
11360  Dies erlaubt die Verwendung von Formatierten Querverweisen.
11361 \end_layout
11362
11363 \begin_layout Description
11364 \begin_inset Flex Code
11365 status collapsed
11366
11367 \begin_layout Plain Layout
11368 RequiredArgs
11369 \end_layout
11370
11371 \end_inset
11372
11373  [
11374 \begin_inset Flex Code
11375 status collapsed
11376
11377 \begin_layout Plain Layout
11378 int=0
11379 \end_layout
11380
11381 \end_inset
11382
11383 ] Die Anzahl an benötigten Argumenten, die der LaTeX-Befehl oder die -Umgebung
11384  benötigt.
11385  Für Befehle sind die benötigte Argumente 
11386 \emph on
11387 andere
11388 \emph default
11389  als die, die mit dem Inhalt des Absatzes zu tun haben.
11390  Diese müssen nicht unbedingt angegeben werden: LyX wird leere Argumente
11391  ausgeben, wenn nötig.
11392  Beachten Sie, dass die optionalen Argumente vor den benötigten ausgegeben
11393  werden.
11394  Siehe die obige Diskussion in der Beschreibung von 
11395 \begin_inset Flex Code
11396 status collapsed
11397
11398 \begin_layout Plain Layout
11399 OptionalArgs
11400 \end_layout
11401
11402 \end_inset
11403
11404  für weitere Informationen.
11405 \end_layout
11406
11407 \begin_layout Description
11408 \begin_inset Flex Code
11409 status collapsed
11410
11411 \begin_layout Plain Layout
11412 Requires 
11413 \end_layout
11414
11415 \end_inset
11416
11417  [
11418 \begin_inset Flex Code
11419 status collapsed
11420
11421 \begin_layout Plain Layout
11422 string
11423 \end_layout
11424
11425 \end_inset
11426
11427 ] legt fest, dass das Layout die Funktion 
11428 \begin_inset Flex Code
11429 status collapsed
11430
11431 \begin_layout Plain Layout
11432 string
11433 \end_layout
11434
11435 \end_inset
11436
11437  benötigt.
11438  Siehe die Beschreibung von 
11439 \begin_inset Flex Code
11440 status collapsed
11441
11442 \begin_layout Plain Layout
11443 Provides
11444 \end_layout
11445
11446 \end_inset
11447
11448  in Abschnitt
11449 \begin_inset space ~
11450 \end_inset
11451
11452
11453 \begin_inset CommandInset ref
11454 LatexCommand ref
11455 reference "sub:Allgemeine-Parameter-für"
11456
11457 \end_inset
11458
11459 .
11460 \end_layout
11461
11462 \begin_layout Description
11463 \begin_inset Flex Code
11464 status collapsed
11465
11466 \begin_layout Plain Layout
11467 RightMargin
11468 \end_layout
11469
11470 \end_inset
11471
11472  [
11473 \begin_inset Flex Code
11474 status collapsed
11475
11476 \begin_layout Plain Layout
11477 string=""
11478 \end_layout
11479
11480 \end_inset
11481
11482 ] Ähnlich wie 
11483 \begin_inset Flex Code
11484 status collapsed
11485
11486 \begin_layout Plain Layout
11487 LeftMargin
11488 \end_layout
11489
11490 \end_inset
11491
11492 .
11493 \end_layout
11494
11495 \begin_layout Description
11496 \begin_inset Flex Code
11497 status collapsed
11498
11499 \begin_layout Plain Layout
11500 Spacing
11501 \end_layout
11502
11503 \end_inset
11504
11505  [
11506 \begin_inset Flex Code
11507 status collapsed
11508
11509 \begin_layout Plain Layout
11510
11511 \emph on
11512 single
11513 \end_layout
11514
11515 \end_inset
11516
11517
11518 \begin_inset Flex Code
11519 status collapsed
11520
11521 \begin_layout Plain Layout
11522 onehalf
11523 \end_layout
11524
11525 \end_inset
11526
11527
11528 \begin_inset Flex Code
11529 status collapsed
11530
11531 \begin_layout Plain Layout
11532 double
11533 \end_layout
11534
11535 \end_inset
11536
11537
11538 \begin_inset Flex Code
11539 status collapsed
11540
11541 \begin_layout Plain Layout
11542 other
11543 \begin_inset space ~
11544 \end_inset
11545
11546 <Wert>
11547 \end_layout
11548
11549 \end_inset
11550
11551 ] Dies definiert die Voreinstellung für den Zeilenabstand des Layouts.
11552  Die Argumente 
11553 \begin_inset Flex Code
11554 status collapsed
11555
11556 \begin_layout Plain Layout
11557
11558 \emph on
11559 single
11560 \end_layout
11561
11562 \end_inset
11563
11564
11565 \begin_inset Flex Code
11566 status collapsed
11567
11568 \begin_layout Plain Layout
11569 onehalf
11570 \end_layout
11571
11572 \end_inset
11573
11574  und 
11575 \begin_inset Flex Code
11576 status collapsed
11577
11578 \begin_layout Plain Layout
11579 double
11580 \end_layout
11581
11582 \end_inset
11583
11584  entsprechen den Multiplikatoren 1, 1.25 und 1.667.
11585  Wenn Sie als Argument 
11586 \begin_inset Flex Code
11587 status collapsed
11588
11589 \begin_layout Plain Layout
11590 other
11591 \end_layout
11592
11593 \end_inset
11594
11595  angeben, müssen Sie  als 
11596 \emph on
11597 Wert
11598 \emph default
11599  einen konkreten Multiplikator angeben.
11600  Im Gegensatz zu anderen Parametern erzeugt LyX, wenn 
11601 \begin_inset Flex Code
11602 status collapsed
11603
11604 \begin_layout Plain Layout
11605 Spacing
11606 \end_layout
11607
11608 \end_inset
11609
11610  gesetzt wird, spezifischen LaTeX-Code, der das LaTeX-Paket 
11611 \begin_inset Flex Code
11612 status collapsed
11613
11614 \begin_layout Plain Layout
11615 setspace
11616 \end_layout
11617
11618 \end_inset
11619
11620  verwendet.
11621 \end_layout
11622
11623 \begin_layout Description
11624 \begin_inset Flex Code
11625 status collapsed
11626
11627 \begin_layout Plain Layout
11628 Spellcheck
11629 \end_layout
11630
11631 \end_inset
11632
11633  [
11634 \begin_inset Flex Code
11635 status collapsed
11636
11637 \begin_layout Plain Layout
11638 0
11639 \end_layout
11640
11641 \end_inset
11642
11643 ,
11644 \begin_inset space \thinspace{}
11645 \end_inset
11646
11647
11648 \begin_inset Flex Code
11649 status collapsed
11650
11651 \begin_layout Plain Layout
11652
11653 \emph on
11654 1
11655 \end_layout
11656
11657 \end_inset
11658
11659 ] Erlaubt es, den Inhalt des Paragraphs auf Rechtschreibung zu überprüfen.
11660 \end_layout
11661
11662 \begin_layout Description
11663 \begin_inset Flex Code
11664 status collapsed
11665
11666 \begin_layout Plain Layout
11667 TextFont
11668 \end_layout
11669
11670 \end_inset
11671
11672  Der Zeichensatz, der für den Textkörper verwendet wird.
11673 \begin_inset Newline newline
11674 \end_inset
11675
11676 Siehe Abschnitt
11677 \begin_inset space ~
11678 \end_inset
11679
11680
11681 \begin_inset CommandInset ref
11682 LatexCommand ref
11683 reference "sub:Beschreibung-des-Zeichensatzes"
11684
11685 \end_inset
11686
11687 .
11688 \end_layout
11689
11690 \begin_layout Description
11691 \begin_inset Flex Code
11692 status collapsed
11693
11694 \begin_layout Plain Layout
11695 TocLevel
11696 \end_layout
11697
11698 \end_inset
11699
11700  [
11701 \begin_inset Flex Code
11702 status collapsed
11703
11704 \begin_layout Plain Layout
11705 int=3
11706 \end_layout
11707
11708 \end_inset
11709
11710 ]
11711 \family typewriter
11712  
11713 \family default
11714 ist die Stufe des Stils im Inhaltsverzeichnis und wird zur automatischen
11715  Nummerierung von Abschnittsüberschriften benutzt.
11716 \end_layout
11717
11718 \begin_layout Description
11719 \begin_inset Flex Code
11720 status collapsed
11721
11722 \begin_layout Plain Layout
11723 TopSep
11724 \end_layout
11725
11726 \end_inset
11727
11728
11729 \series medium
11730  
11731 \series default
11732 [
11733 \family typewriter
11734 float=0
11735 \family default
11736 ] Der vertikale Abstand, der die erste Serie von Absätzen vom vorangehenden
11737  Text trennt.
11738 \end_layout
11739
11740 \begin_layout Subsection
11741
11742 \lang english
11743 \begin_inset CommandInset label
11744 LatexCommand label
11745 name "sub:I18n"
11746
11747 \end_inset
11748
11749 Internationalization of Paragraph Styles
11750 \end_layout
11751
11752 \begin_layout Standard
11753
11754 \lang english
11755 If a 
11756 \begin_inset Flex Code
11757 status collapsed
11758
11759 \begin_layout Plain Layout
11760
11761 \lang english
11762 Style
11763 \end_layout
11764
11765 \end_inset
11766
11767  defines text that is to appear in the typeset document, it may use 
11768 \begin_inset Flex Code
11769 status collapsed
11770
11771 \begin_layout Plain Layout
11772
11773 \lang english
11774 LangPreamble
11775 \end_layout
11776
11777 \end_inset
11778
11779  and 
11780 \begin_inset Flex Code
11781 status collapsed
11782
11783 \begin_layout Plain Layout
11784
11785 \lang english
11786 BabelPreamble
11787 \end_layout
11788
11789 \end_inset
11790
11791  to support non-English and even multi-language documents correctly.
11792  The following excerpt (from the 
11793 \begin_inset Flex Code
11794 status collapsed
11795
11796 \begin_layout Plain Layout
11797
11798 \lang english
11799 theorems-ams.inc
11800 \end_layout
11801
11802 \end_inset
11803
11804  file) shows how this works:
11805 \end_layout
11806
11807 \begin_layout LyX-Code
11808 Preamble
11809 \end_layout
11810
11811 \begin_deeper
11812 \begin_layout LyX-Code
11813   
11814 \backslash
11815 theoremstyle{remark}
11816 \end_layout
11817
11818 \begin_layout LyX-Code
11819   
11820 \backslash
11821 newtheorem{claim}[thm]{
11822 \backslash
11823 protect
11824 \backslash
11825 claimname}
11826 \end_layout
11827
11828 \begin_layout LyX-Code
11829 EndPreamble
11830 \end_layout
11831
11832 \begin_layout LyX-Code
11833 LangPreamble
11834 \end_layout
11835
11836 \begin_layout LyX-Code
11837   
11838 \backslash
11839 providecommand{
11840 \backslash
11841 claimname}{_(Claim)}
11842 \end_layout
11843
11844 \begin_layout LyX-Code
11845 EndLangPreamble
11846 \end_layout
11847
11848 \begin_layout LyX-Code
11849 BabelPreamble
11850 \end_layout
11851
11852 \begin_layout LyX-Code
11853     
11854 \backslash
11855 addto
11856 \backslash
11857 captions$$lang{
11858 \backslash
11859 renewcommand{
11860 \backslash
11861 claimname}{_(Claim)}}
11862 \end_layout
11863
11864 \begin_layout LyX-Code
11865 EndBabelPreamble
11866 \end_layout
11867
11868 \end_deeper
11869 \begin_layout Standard
11870
11871 \lang english
11872 In principle, any legal LaTeX may appear in the 
11873 \begin_inset Flex Code
11874 status collapsed
11875
11876 \begin_layout Plain Layout
11877
11878 \lang english
11879 LangPreamble
11880 \end_layout
11881
11882 \end_inset
11883
11884  and 
11885 \begin_inset Flex Code
11886 status collapsed
11887
11888 \begin_layout Plain Layout
11889
11890 \lang english
11891 BabelPreamble
11892 \end_layout
11893
11894 \end_inset
11895
11896  tags, but in practice they will typically look as they do here.
11897  The key to correct translation of the typeset text is the definition of
11898  the LaTeX command 
11899 \begin_inset Flex Code
11900 status collapsed
11901
11902 \begin_layout Plain Layout
11903
11904 \lang english
11905
11906 \backslash
11907 claimname
11908 \end_layout
11909
11910 \end_inset
11911
11912  and its use in 
11913 \begin_inset Flex Code
11914 status collapsed
11915
11916 \begin_layout Plain Layout
11917
11918 \lang english
11919
11920 \backslash
11921 newtheorem
11922 \end_layout
11923
11924 \end_inset
11925
11926 .
11927  
11928 \end_layout
11929
11930 \begin_layout Standard
11931
11932 \lang english
11933 The 
11934 \begin_inset Flex Code
11935 status collapsed
11936
11937 \begin_layout Plain Layout
11938
11939 \lang english
11940 LangPreamble
11941 \end_layout
11942
11943 \end_inset
11944
11945  tag provides for internationalization based upon the overall language of
11946  the document.
11947  The contents of the tag will be included in the preamble, just as with
11948  the 
11949 \begin_inset Flex Code
11950 status collapsed
11951
11952 \begin_layout Plain Layout
11953
11954 \lang english
11955 Preamble
11956 \end_layout
11957
11958 \end_inset
11959
11960  tag.
11961  What makes it special is the use of the 
11962 \begin_inset Quotes eld
11963 \end_inset
11964
11965 function
11966 \begin_inset Quotes erd
11967 \end_inset
11968
11969  
11970 \begin_inset Flex Code
11971 status collapsed
11972
11973 \begin_layout Plain Layout
11974
11975 \lang english
11976 _()
11977 \end_layout
11978
11979 \end_inset
11980
11981 , which will be replaced, when LyX produces LaTeX output, with the translation
11982  of its argument into the document language.
11983 \end_layout
11984
11985 \begin_layout Standard
11986
11987 \lang english
11988 The 
11989 \begin_inset Flex Code
11990 status collapsed
11991
11992 \begin_layout Plain Layout
11993
11994 \lang english
11995 BabelPreamble
11996 \end_layout
11997
11998 \end_inset
11999
12000  tag is more complex, since it is meant to provide support for multi-language
12001  documents and so offers an interface to the 
12002 \begin_inset Flex Code
12003 status collapsed
12004
12005 \begin_layout Plain Layout
12006
12007 \lang english
12008 babel
12009 \end_layout
12010
12011 \end_inset
12012
12013  package.
12014  Its contents will be added to the preamble once for each language that
12015  appears in the document.
12016  In this case, the argument to 
12017 \begin_inset Flex Code
12018 status collapsed
12019
12020 \begin_layout Plain Layout
12021
12022 \lang english
12023 _()
12024 \end_layout
12025
12026 \end_inset
12027
12028  will be replaced with its translation into the language in question; the
12029  expression 
12030 \begin_inset Flex Code
12031 status collapsed
12032
12033 \begin_layout Plain Layout
12034
12035 \lang english
12036 $$lang
12037 \end_layout
12038
12039 \end_inset
12040
12041  is replaced by the language name (as used by the babel package).
12042 \end_layout
12043
12044 \begin_layout Standard
12045
12046 \lang english
12047 A German document that also included a French section would thus have the
12048  following in the preamble:
12049 \end_layout
12050
12051 \begin_layout LyX-Code
12052
12053 \backslash
12054 addto
12055 \backslash
12056 captionsfrench{
12057 \backslash
12058 renewcommand{
12059 \backslash
12060 claimname}{Affirmation}}
12061 \begin_inset Newline newline
12062 \end_inset
12063
12064
12065 \backslash
12066 addto
12067 \backslash
12068 captionsngerman{
12069 \backslash
12070 renewcommand{
12071 \backslash
12072 claimname}{Behauptung}}
12073 \begin_inset Newline newline
12074 \end_inset
12075
12076
12077 \backslash
12078 providecommand{
12079 \backslash
12080 claimname}{Behauptung}
12081 \end_layout
12082
12083 \begin_layout Standard
12084
12085 \lang english
12086 LaTeX and 
12087 \begin_inset Flex Code
12088 status collapsed
12089
12090 \begin_layout Plain Layout
12091
12092 \lang english
12093 babel
12094 \end_layout
12095
12096 \end_inset
12097
12098  will then conspire to produce the correct text in the output.
12099 \end_layout
12100
12101 \begin_layout Standard
12102
12103 \lang english
12104 One important point to note here is that the translations are provided by
12105  LyX itself, through the same mechanism it uses for internationalization
12106  of the user interface.
12107  This means, in effect, that 
12108 \begin_inset Flex Code
12109 status collapsed
12110
12111 \begin_layout Plain Layout
12112
12113 \lang english
12114 LangPreamble
12115 \end_layout
12116
12117 \end_inset
12118
12119  and 
12120 \begin_inset Flex Code
12121 status collapsed
12122
12123 \begin_layout Plain Layout
12124
12125 \lang english
12126 BabelPreamble
12127 \end_layout
12128
12129 \end_inset
12130
12131  are really only of use in layout files that are provided with LyX, since
12132  text entered in user-created layout files will not be seen by LyX's internation
12133 alization routines.
12134  That said, however, any layout created with the intention that it will
12135  be included with LyX should use these tags where appropriate.
12136 \end_layout
12137
12138 \begin_layout Subsection
12139 Gleitobjekte
12140 \begin_inset CommandInset label
12141 LatexCommand label
12142 name "sub:Gleitobjekte"
12143
12144 \end_inset
12145
12146
12147 \end_layout
12148
12149 \begin_layout Standard
12150 Es ist nötig Gleitobjekte (
12151 \begin_inset Flex MenuItem
12152 status collapsed
12153
12154 \begin_layout Plain Layout
12155 Abbildung
12156 \end_layout
12157
12158 \end_inset
12159
12160
12161 \begin_inset Flex MenuItem
12162 status collapsed
12163
12164 \begin_layout Plain Layout
12165 Tabelle
12166 \end_layout
12167
12168 \end_inset
12169
12170 ,\SpecialChar \ldots{}
12171 ) in der Textklasse selber zu definieren.
12172  Standardgleitobjekte sind in der Datei 
12173 \begin_inset Flex Code
12174 status collapsed
12175
12176 \begin_layout Plain Layout
12177 stdfloats.inc
12178 \end_layout
12179
12180 \end_inset
12181
12182  enthalten, so dass Sie sie nur noch
12183 \end_layout
12184
12185 \begin_layout LyX-Code
12186 Input stdfloats.inc
12187 \end_layout
12188
12189 \begin_layout Standard
12190 zu Ihrer Layoutdatei hinzufügen müssen.
12191  Wenn Sie eine Textklasse implementieren wollen, die andere Gleitobjekttypen
12192  enthält (wie zum Beispiel die AGU-Klasse), werden Ihnen die folgenden Informati
12193 onen helfen:
12194 \end_layout
12195
12196 \begin_layout Description
12197 \begin_inset Flex Code
12198 status collapsed
12199
12200 \begin_layout Plain Layout
12201 Extension
12202 \end_layout
12203
12204 \end_inset
12205
12206
12207 \family typewriter
12208 \series medium
12209  
12210 \family default
12211 \series default
12212 [
12213 \begin_inset Flex Code
12214 status collapsed
12215
12216 \begin_layout Plain Layout
12217 string
12218 \end_layout
12219
12220 \end_inset
12221
12222 =
12223 \begin_inset Quotes erd
12224 \end_inset
12225
12226
12227 \begin_inset Quotes erd
12228 \end_inset
12229
12230 ] Die Dateinamenerweiterung einer zusätzlichen Datei für das Abbildungsver\SpecialChar \-
12231 zeichn
12232 is (oder andere).
12233  LaTeX schreibt die Beschriftungen in diese Datei.
12234 \end_layout
12235
12236 \begin_layout Description
12237 \begin_inset Flex Code
12238 status collapsed
12239
12240 \begin_layout Plain Layout
12241 GuiName
12242 \end_layout
12243
12244 \end_inset
12245
12246  [
12247 \begin_inset Flex Code
12248 status collapsed
12249
12250 \begin_layout Plain Layout
12251 string
12252 \end_layout
12253
12254 \end_inset
12255
12256 =
12257 \begin_inset Quotes erd
12258 \end_inset
12259
12260
12261 \begin_inset Quotes erd
12262 \end_inset
12263
12264 ] Die Zeichenkette, die in den Menüs und für die Beschriftung benutzt wird.
12265  Dies wird in die aktuelle Sprache übersetzt, wenn babel verwendet wird.
12266 \end_layout
12267
12268 \begin_layout Description
12269 \begin_inset Flex Code
12270 status collapsed
12271
12272 \begin_layout Plain Layout
12273 HTML*
12274 \end_layout
12275
12276 \end_inset
12277
12278  Diese Tags kontrollieren die XHTML-Ausgabe.
12279  Siehe Abschnitt
12280 \begin_inset space ~
12281 \end_inset
12282
12283
12284 \begin_inset CommandInset ref
12285 LatexCommand ref
12286 reference "sec:Tags-for-XHTML"
12287
12288 \end_inset
12289
12290 .
12291 \end_layout
12292
12293 \begin_layout Description
12294 \begin_inset Flex Code
12295 status collapsed
12296
12297 \begin_layout Plain Layout
12298 IsPredefined
12299 \end_layout
12300
12301 \end_inset
12302
12303  [
12304 \emph on
12305
12306 \begin_inset Flex Code
12307 status collapsed
12308
12309 \begin_layout Plain Layout
12310 0
12311 \end_layout
12312
12313 \end_inset
12314
12315
12316 \emph default
12317 ,
12318 \begin_inset space \thinspace{}
12319 \end_inset
12320
12321
12322 \begin_inset Flex Code
12323 status collapsed
12324
12325 \begin_layout Plain Layout
12326 1
12327 \end_layout
12328
12329 \end_inset
12330
12331 ] Gibt an, ob das Gleitobjekt bereits in der Dokumentklasse definiert ist
12332  oder ob das LaTeX-Paket 
12333 \begin_inset Flex Code
12334 status collapsed
12335
12336 \begin_layout Plain Layout
12337 float
12338 \end_layout
12339
12340 \end_inset
12341
12342  geladen werden muss, um es zu definieren.
12343  Die Voreinstellung ist 
12344 \begin_inset Flex Code
12345 status collapsed
12346
12347 \begin_layout Plain Layout
12348 0
12349 \end_layout
12350
12351 \end_inset
12352
12353 , was bedeutet, dass 
12354 \begin_inset Flex Code
12355 status collapsed
12356
12357 \begin_layout Plain Layout
12358 float
12359 \end_layout
12360
12361 \end_inset
12362
12363  verwendet wird.
12364  Es sollte auf 
12365 \begin_inset Flex Code
12366 status collapsed
12367
12368 \begin_layout Plain Layout
12369 1
12370 \end_layout
12371
12372 \end_inset
12373
12374  gesetzt werden, wenn das Gleitobjekt bereits in der Dokumentklasse definiert
12375  ist.
12376 \end_layout
12377
12378 \begin_layout Description
12379 \begin_inset Flex Code
12380 status collapsed
12381
12382 \begin_layout Plain Layout
12383 ListCommand
12384 \end_layout
12385
12386 \end_inset
12387
12388  [
12389 \begin_inset Flex Code
12390 status collapsed
12391
12392 \begin_layout Plain Layout
12393 string
12394 \end_layout
12395
12396 \end_inset
12397
12398 =
12399 \begin_inset Quotes erd
12400 \end_inset
12401
12402
12403 \begin_inset Quotes erd
12404 \end_inset
12405
12406 ] Der Befehl der verwendet wird, um eine Liste der Gleitobjekte dieses Typs
12407  zu generieren; das `
12408 \backslash
12409 ' muss weggelassen werden.
12410  Der Befehl 
12411 \emph on
12412 muss
12413 \emph default
12414  angegeben werden, wenn 
12415 \begin_inset Flex Code
12416 status collapsed
12417
12418 \begin_layout Plain Layout
12419 UsesFloatPkg
12420 \end_layout
12421
12422 \end_inset
12423
12424  auf 
12425 \begin_inset Flex Code
12426 status collapsed
12427
12428 \begin_layout Plain Layout
12429 0
12430 \end_layout
12431
12432 \end_inset
12433
12434  gesetzt ist, da es sonst keine Möglichkeit gibt, diesen Befehl zu erstellen.
12435  Er wird ignoriert, falls 
12436 \begin_inset Flex Code
12437 status collapsed
12438
12439 \begin_layout Plain Layout
12440 UsesFloatPkg
12441 \end_layout
12442
12443 \end_inset
12444
12445  auf 
12446 \begin_inset Flex Code
12447 status collapsed
12448
12449 \begin_layout Plain Layout
12450 1
12451 \end_layout
12452
12453 \end_inset
12454
12455  gesetzt ist, da es dann eine Möglichkeit gibt.
12456 \end_layout
12457
12458 \begin_layout Description
12459 \begin_inset Flex Code
12460 status collapsed
12461
12462 \begin_layout Plain Layout
12463 ListName
12464 \end_layout
12465
12466 \end_inset
12467
12468  [
12469 \begin_inset Flex Code
12470 status collapsed
12471
12472 \begin_layout Plain Layout
12473 string
12474 \end_layout
12475
12476 \end_inset
12477
12478 =
12479 \begin_inset Quotes erd
12480 \end_inset
12481
12482
12483 \begin_inset Quotes erd
12484 \end_inset
12485
12486 ] Die Überschrift für das Gleitobjekt-Verzeichnis (z.
12487 \begin_inset space \thinspace{}
12488 \end_inset
12489
12490 B.
12491  
12492 \begin_inset Quotes gld
12493 \end_inset
12494
12495 Abbildungsverzeichnis
12496 \begin_inset Quotes grd
12497 \end_inset
12498
12499 ).
12500  Sie wird für die Bildschirmmarke in LyX verwendet, von LaTeX für den Titel
12501  verwendet und als Titel in der XHTML-Ausgabe.
12502  Sie wird in die Dokumentsprache übersetzt.
12503 \end_layout
12504
12505 \begin_layout Description
12506 \begin_inset Flex Code
12507 status collapsed
12508
12509 \begin_layout Plain Layout
12510 NumberWithin
12511 \end_layout
12512
12513 \end_inset
12514
12515  [
12516 \begin_inset Flex Code
12517 status collapsed
12518
12519 \begin_layout Plain Layout
12520 string
12521 \end_layout
12522
12523 \end_inset
12524
12525 =
12526 \begin_inset Quotes erd
12527 \end_inset
12528
12529
12530 \begin_inset Quotes erd
12531 \end_inset
12532
12533 ] Dieses optionale Argument bestimmt, ob Gleitobjekte dieser Klasse mit
12534  der Abschnittsnummer dieses Dokuments nummeriert werden.
12535  Wenn zum Beispiel 
12536 \begin_inset Flex Code
12537 status collapsed
12538
12539 \begin_layout Plain Layout
12540 NumberWithin
12541 \end_layout
12542
12543 \end_inset
12544
12545  auf 
12546 \begin_inset Quotes gld
12547 \end_inset
12548
12549
12550 \begin_inset Flex Code
12551 status collapsed
12552
12553 \begin_layout Plain Layout
12554 chapter
12555 \end_layout
12556
12557 \end_inset
12558
12559
12560 \begin_inset Quotes grd
12561 \end_inset
12562
12563  gesetzt ist, werden die Gleitobjekte mit den Kapitelnummern nummeriert.
12564 \end_layout
12565
12566 \begin_layout Description
12567 \begin_inset Flex Code
12568 status collapsed
12569
12570 \begin_layout Plain Layout
12571 Placement
12572 \end_layout
12573
12574 \end_inset
12575
12576  [
12577 \begin_inset Flex Code
12578 status collapsed
12579
12580 \begin_layout Plain Layout
12581 string
12582 \end_layout
12583
12584 \end_inset
12585
12586 =
12587 \begin_inset Quotes erd
12588 \end_inset
12589
12590
12591 \begin_inset Quotes erd
12592 \end_inset
12593
12594 ] Die Standardplatzierung für die Gleitobjektklasse.
12595
12596 \family typewriter
12597  
12598 \family default
12599
12600 \begin_inset Flex Code
12601 status collapsed
12602
12603 \begin_layout Plain Layout
12604 string
12605 \end_layout
12606
12607 \end_inset
12608
12609  sollte die Standard-LaTeX-Werte 
12610 \begin_inset Flex Code
12611 status collapsed
12612
12613 \begin_layout Plain Layout
12614 t
12615 \end_layout
12616
12617 \end_inset
12618
12619
12620 \begin_inset Flex Code
12621 status collapsed
12622
12623 \begin_layout Plain Layout
12624 b
12625 \end_layout
12626
12627 \end_inset
12628
12629
12630 \begin_inset Flex Code
12631 status collapsed
12632
12633 \begin_layout Plain Layout
12634 p
12635 \end_layout
12636
12637 \end_inset
12638
12639  und 
12640 \begin_inset Flex Code
12641 status collapsed
12642
12643 \begin_layout Plain Layout
12644 h
12645 \end_layout
12646
12647 \end_inset
12648
12649  für oben, unten, Seite und hier enthalten.
12650 \begin_inset Foot
12651 status collapsed
12652
12653 \begin_layout Plain Layout
12654 Wie in LaTeX ist die Reihenfolge der Buchstaben unerheblich.
12655 \end_layout
12656
12657 \end_inset
12658
12659  Zusätzlich gibt es den neuen Typ 
12660 \begin_inset Flex Code
12661 status collapsed
12662
12663 \begin_layout Plain Layout
12664 H
12665 \end_layout
12666
12667 \end_inset
12668
12669 , der nicht wirklich für ein Gleitobjekt steht, denn er bedeutet: drucke
12670  es 
12671 \emph on
12672 hier
12673 \emph default
12674  und nirgendwo sonst.
12675  Beachten Sie, dass 
12676 \begin_inset Flex Code
12677 status collapsed
12678
12679 \begin_layout Plain Layout
12680 H
12681 \end_layout
12682
12683 \end_inset
12684
12685  besonders ist und wegen der Implementierungsdetails nicht bei nicht-eingebauten
12686  Gleitobjekttypen benutzt werden kann.
12687  Wenn Sie die Platzierung nicht verstehen, benutzen Sie einfach 
12688 \begin_inset Quotes gld
12689 \end_inset
12690
12691
12692 \begin_inset Flex Code
12693 status collapsed
12694
12695 \begin_layout Plain Layout
12696 tbp
12697 \end_layout
12698
12699 \end_inset
12700
12701
12702 \begin_inset Quotes grd
12703 \end_inset
12704
12705 .
12706 \end_layout
12707
12708 \begin_layout Description
12709 \begin_inset Flex Code
12710 status collapsed
12711
12712 \begin_layout Plain Layout
12713 RefPrefix
12714 \end_layout
12715
12716 \end_inset
12717
12718  [
12719 \begin_inset Flex Code
12720 status collapsed
12721
12722 \begin_layout Plain Layout
12723 string
12724 \end_layout
12725
12726 \end_inset
12727
12728 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieser Gleitobjekte
12729  verwiesen wird.
12730  Dies erlaubt die Verwendung von Formatierten Querverweisen.
12731  Man kann den 
12732 \begin_inset Flex Code
12733 status collapsed
12734
12735 \begin_layout Plain Layout
12736 RefPrefix
12737 \end_layout
12738
12739 \end_inset
12740
12741  eines kopierten Stils entfernen, indem 
12742 \begin_inset Flex Code
12743 status collapsed
12744
12745 \begin_layout Plain Layout
12746 string
12747 \end_layout
12748
12749 \end_inset
12750
12751  auf 
12752 \begin_inset Quotes gld
12753 \end_inset
12754
12755 OFF
12756 \begin_inset Quotes grd
12757 \end_inset
12758
12759  gesetzt wird.
12760 \end_layout
12761
12762 \begin_layout Description
12763 \begin_inset Flex Code
12764 status collapsed
12765
12766 \begin_layout Plain Layout
12767 Style
12768 \end_layout
12769
12770 \end_inset
12771
12772  [
12773 \begin_inset Flex Code
12774 status collapsed
12775
12776 \begin_layout Plain Layout
12777 string
12778 \end_layout
12779
12780 \end_inset
12781
12782 =
12783 \begin_inset Quotes erd
12784 \end_inset
12785
12786
12787 \begin_inset Quotes erd
12788 \end_inset
12789
12790 ] ist der Gleitobjektstil, wenn er mit 
12791 \begin_inset Flex Code
12792 status collapsed
12793
12794 \begin_layout Plain Layout
12795
12796 \backslash
12797 newfloat
12798 \end_layout
12799
12800 \end_inset
12801
12802  definiert wird.
12803 \end_layout
12804
12805 \begin_layout Description
12806 \begin_inset Flex Code
12807 status collapsed
12808
12809 \begin_layout Plain Layout
12810 Type
12811 \end_layout
12812
12813 \end_inset
12814
12815  [
12816 \begin_inset Flex Code
12817 status collapsed
12818
12819 \begin_layout Plain Layout
12820 string
12821 \end_layout
12822
12823 \end_inset
12824
12825 =
12826 \begin_inset Quotes erd
12827 \end_inset
12828
12829
12830 \begin_inset Quotes erd
12831 \end_inset
12832
12833 ] ist der 
12834 \begin_inset Quotes gld
12835 \end_inset
12836
12837 Typ
12838 \begin_inset Quotes grd
12839 \end_inset
12840
12841  der neuen Gleitobjektklasse, wie z.
12842 \begin_inset space \thinspace{}
12843 \end_inset
12844
12845 B.
12846  Programm oder Algorithmus.
12847  Nach dem entsprechenden 
12848 \begin_inset Flex Code
12849 status collapsed
12850
12851 \begin_layout Plain Layout
12852
12853 \backslash
12854 newfloat
12855 \end_layout
12856
12857 \end_inset
12858
12859  stehen Befehle wie 
12860 \begin_inset Flex Code
12861 status collapsed
12862
12863 \begin_layout Plain Layout
12864
12865 \backslash
12866 begin{program}
12867 \end_layout
12868
12869 \end_inset
12870
12871  oder 
12872 \begin_inset Flex Code
12873 status collapsed
12874
12875 \begin_layout Plain Layout
12876
12877 \backslash
12878 end{algorithm*}
12879 \end_layout
12880
12881 \end_inset
12882
12883  zur Verfügung.
12884 \end_layout
12885
12886 \begin_layout Description
12887 \begin_inset Flex Code
12888 status collapsed
12889
12890 \begin_layout Plain Layout
12891 UsesFloatPkg
12892 \end_layout
12893
12894 \end_inset
12895
12896  [
12897 \begin_inset Flex Code
12898 status collapsed
12899
12900 \begin_layout Plain Layout
12901 0
12902 \end_layout
12903
12904 \end_inset
12905
12906 ,
12907 \begin_inset space \thinspace{}
12908 \end_inset
12909
12910
12911 \begin_inset Flex Code
12912 status collapsed
12913
12914 \begin_layout Plain Layout
12915
12916 \emph on
12917 1
12918 \end_layout
12919
12920 \end_inset
12921
12922 ] Gibt an, ob dieses Gleitobjekt mit Hilfe des LaTeX-Pakets 
12923 \begin_inset Flex Code
12924 status collapsed
12925
12926 \begin_layout Plain Layout
12927 float
12928 \end_layout
12929
12930 \end_inset
12931
12932  definiert wurde, entweder durch die Dokumentklassen, ein anderes Paket
12933  oder durch LyX.
12934 \end_layout
12935
12936 \begin_layout Description
12937 Anmerkung: Wenn ein Gleitobjekt vom Typ 
12938 \emph on
12939 type
12940 \emph default
12941  definiert wurde, gibt es automatisch einen dazugehörigen Zähler namens
12942  
12943 \emph on
12944 type
12945 \emph default
12946 .
12947 \end_layout
12948
12949 \begin_layout Subsection
12950 Flexible Einfügungen und InsetLayout
12951 \begin_inset CommandInset label
12952 LatexCommand label
12953 name "sub:Flexible-Einfügungen-und"
12954
12955 \end_inset
12956
12957
12958 \end_layout
12959
12960 \begin_layout Standard
12961 Es gibt drei Arten von flexiblen Einfügungen:
12962 \end_layout
12963
12964 \begin_layout Itemize
12965 Zeichenstil (
12966 \begin_inset Flex Code
12967 status collapsed
12968
12969 \begin_layout Plain Layout
12970 CharStyle
12971 \end_layout
12972
12973 \end_inset
12974
12975 ): diese definieren semantische Textauszeichnungen, die mit LaTeX-Befehlen
12976  wie 
12977 \begin_inset Flex Code
12978 status collapsed
12979
12980 \begin_layout Plain Layout
12981
12982 \backslash
12983 noun
12984 \end_layout
12985
12986 \end_inset
12987
12988  oder 
12989 \begin_inset Flex Code
12990 status collapsed
12991
12992 \begin_layout Plain Layout
12993
12994 \backslash
12995 code
12996 \end_layout
12997
12998 \end_inset
12999
13000  korrespondieren.
13001 \end_layout
13002
13003 \begin_layout Itemize
13004 benutzerdefiniert (
13005 \begin_inset Flex Code
13006 status collapsed
13007
13008 \begin_layout Plain Layout
13009 Custom
13010 \end_layout
13011
13012 \end_inset
13013
13014 ): diese können benutzt werden, um benutzer\SpecialChar \-
13015 de\SpecialChar \-
13016 fi\SpecialChar \-
13017 nier\SpecialChar \-
13018 te einklappbare Einfügungen
13019  zu definieren, ähnlich wie TeX-Code, Fuß\SpecialChar \-
13020 no\SpecialChar \-
13021 te usw.
13022  Ein naheliegendes Beispiel ist die Endnotiz, die im 
13023 \begin_inset Flex Code
13024 status collapsed
13025
13026 \begin_layout Plain Layout
13027 endnote
13028 \end_layout
13029
13030 \end_inset
13031
13032 -Modul definiert ist.
13033 \end_layout
13034
13035 \begin_layout Itemize
13036 XML-Element (
13037 \begin_inset Flex Code
13038 status collapsed
13039
13040 \begin_layout Plain Layout
13041 Element
13042 \end_layout
13043
13044 \end_inset
13045
13046 ): diese werden mit DocBook-Klassen benutzt.
13047 \end_layout
13048
13049 \begin_layout Standard
13050 Flexible Einfügungen werden mit der 
13051 \begin_inset Flex Code
13052 status collapsed
13053
13054 \begin_layout Plain Layout
13055 InsetLayout
13056 \end_layout
13057
13058 \end_inset
13059
13060 -Marke definiert, die weiter unten erklärt wird.
13061 \end_layout
13062
13063 \begin_layout Standard
13064 Die 
13065 \begin_inset Flex Code
13066 status collapsed
13067
13068 \begin_layout Plain Layout
13069 InsetLayout
13070 \end_layout
13071
13072 \end_inset
13073
13074 -Marke besitzt noch eine andere Funktion: sie kann benutzt werden, um das
13075  allgemeine Aussehen vieler verschiedener Einfügungstypen anzupassen.
13076  Zurzeit kann 
13077 \begin_inset Flex Code
13078 status collapsed
13079
13080 \begin_layout Plain Layout
13081 InsetLayout
13082 \end_layout
13083
13084 \end_inset
13085
13086  benutzt werden, um die Layout-Parameter für Fußnoten, Randnoten, eingefügten
13087  Noten, TeX-Code (ERT), Zweige, Stichwortverzeichnisse, Boxen, Tabellen,
13088  Algorithmen, URLs und optionaler Argumente anzupassen, ebenso um flexible
13089  Einfügungen zu definieren.
13090 \end_layout
13091
13092 \begin_layout Standard
13093 Die 
13094 \begin_inset Flex Code
13095 status collapsed
13096
13097 \begin_layout Plain Layout
13098 InsetLayout
13099 \end_layout
13100
13101 \end_inset
13102
13103 -Definition muss mit folgender Zeile beginnen:
13104 \end_layout
13105
13106 \begin_layout LyX-Code
13107 InsetLayout <Typ>
13108 \end_layout
13109
13110 \begin_layout Standard
13111 Hier bezeichnet 
13112 \begin_inset Flex Code
13113 status collapsed
13114
13115 \begin_layout Plain Layout
13116 <Typ>
13117 \end_layout
13118
13119 \end_inset
13120
13121  die Einfügung, deren Layout definiert wird.
13122  Es gibt zwei Möglichkeiten.
13123 \end_layout
13124
13125 \begin_layout Enumerate
13126 Das Layout für eine existierende Einfügung wird geändert.
13127  In diesem Fall kann 
13128 \begin_inset Flex Code
13129 status collapsed
13130
13131 \begin_layout Plain Layout
13132 <Typ>
13133 \end_layout
13134
13135 \end_inset
13136
13137  folgendes sein: 
13138 \begin_inset Flex Code
13139 status collapsed
13140
13141 \begin_layout Plain Layout
13142 Algorithm
13143 \end_layout
13144
13145 \end_inset
13146
13147
13148 \begin_inset Flex Code
13149 status collapsed
13150
13151 \begin_layout Plain Layout
13152 Branch
13153 \end_layout
13154
13155 \end_inset
13156
13157
13158 \begin_inset Flex Code
13159 status collapsed
13160
13161 \begin_layout Plain Layout
13162 Box
13163 \end_layout
13164
13165 \end_inset
13166
13167
13168 \begin_inset Flex Code
13169 status collapsed
13170
13171 \begin_layout Plain Layout
13172 Box:shaded
13173 \end_layout
13174
13175 \end_inset
13176
13177
13178 \begin_inset Flex Code
13179 status collapsed
13180
13181 \begin_layout Plain Layout
13182 ERT
13183 \end_layout
13184
13185 \end_inset
13186
13187
13188 \begin_inset Flex Code
13189 status collapsed
13190
13191 \begin_layout Plain Layout
13192 Figure
13193 \end_layout
13194
13195 \end_inset
13196
13197
13198 \begin_inset Flex Code
13199 status collapsed
13200
13201 \begin_layout Plain Layout
13202 Foot
13203 \end_layout
13204
13205 \end_inset
13206
13207
13208 \begin_inset Flex Code
13209 status collapsed
13210
13211 \begin_layout Plain Layout
13212 Index
13213 \end_layout
13214
13215 \end_inset
13216
13217
13218 \begin_inset Flex Code
13219 status collapsed
13220
13221 \begin_layout Plain Layout
13222 Info
13223 \end_layout
13224
13225 \end_inset
13226
13227
13228 \begin_inset Flex Code
13229 status collapsed
13230
13231 \begin_layout Plain Layout
13232 Info:menu
13233 \end_layout
13234
13235 \end_inset
13236
13237
13238 \begin_inset Flex Code
13239 status collapsed
13240
13241 \begin_layout Plain Layout
13242 Info:shortcut
13243 \end_layout
13244
13245 \end_inset
13246
13247
13248 \begin_inset Flex Code
13249 status collapsed
13250
13251 \begin_layout Plain Layout
13252 Info:shortcuts
13253 \end_layout
13254
13255 \end_inset
13256
13257
13258 \begin_inset Flex Code
13259 status collapsed
13260
13261 \begin_layout Plain Layout
13262 Listings
13263 \end_layout
13264
13265 \end_inset
13266
13267
13268 \begin_inset Flex Code
13269 status collapsed
13270
13271 \begin_layout Plain Layout
13272 Marginal
13273 \end_layout
13274
13275 \end_inset
13276
13277
13278 \begin_inset Flex Code
13279 status collapsed
13280
13281 \begin_layout Plain Layout
13282 Note:Comment
13283 \end_layout
13284
13285 \end_inset
13286
13287
13288 \begin_inset Flex Code
13289 status collapsed
13290
13291 \begin_layout Plain Layout
13292 Note:Note
13293 \end_layout
13294
13295 \end_inset
13296
13297
13298 \begin_inset Flex Code
13299 status collapsed
13300
13301 \begin_layout Plain Layout
13302 Note:Greyedout
13303 \end_layout
13304
13305 \end_inset
13306
13307
13308 \begin_inset Flex Code
13309 status collapsed
13310
13311 \begin_layout Plain Layout
13312 OptArg
13313 \end_layout
13314
13315 \end_inset
13316
13317
13318 \begin_inset Flex Code
13319 status collapsed
13320
13321 \begin_layout Plain Layout
13322 Table
13323 \end_layout
13324
13325 \end_inset
13326
13327 , oder 
13328 \begin_inset Flex Code
13329 status collapsed
13330
13331 \begin_layout Plain Layout
13332 URL
13333 \end_layout
13334
13335 \end_inset
13336
13337 .
13338 \end_layout
13339
13340 \begin_layout Enumerate
13341 Das Layout für eine flexible Einfügung wird definiert.
13342  In diesem Fall muss 
13343 \begin_inset Flex Code
13344 status collapsed
13345
13346 \begin_layout Plain Layout
13347 <Typ>
13348 \end_layout
13349
13350 \end_inset
13351
13352  in der Form 
13353 \lang english
13354
13355 \begin_inset Quotes gld
13356 \end_inset
13357
13358
13359 \begin_inset Flex Code
13360 status collapsed
13361
13362 \begin_layout Plain Layout
13363 Flex:<Name>
13364 \end_layout
13365
13366 \end_inset
13367
13368
13369 \begin_inset Quotes grd
13370 \end_inset
13371
13372
13373 \lang ngerman
13374  sein, wobei 
13375 \lang english
13376
13377 \begin_inset Flex Code
13378 status collapsed
13379
13380 \begin_layout Plain Layout
13381 Name
13382 \end_layout
13383
13384 \end_inset
13385
13386
13387 \lang ngerman
13388  ein beliebiger gültiger Bezeichner sein kann, der in keiner anderen existierend
13389 en Einfügung benutzt wird.
13390  Der Bezeichner darf Leerzeichen enthalten, dann muss aber der komplette
13391  Typ in Anführungszeichen gesetzt werden.
13392  Beachten Sie, dass die Definition einer flexiblen Einfügung 
13393 \emph on
13394 auch
13395 \emph default
13396  einen 
13397 \begin_inset Flex Code
13398 status collapsed
13399
13400 \begin_layout Plain Layout
13401 LyXType
13402 \end_layout
13403
13404 \end_inset
13405
13406 -Eintrag enthalten muss, der festlegt welcher Einfügungstyp definiert wird.
13407 \end_layout
13408
13409 \begin_layout Standard
13410 Die 
13411 \begin_inset Flex Code
13412 status collapsed
13413
13414 \begin_layout Plain Layout
13415 InsetLayout
13416 \end_layout
13417
13418 \end_inset
13419
13420 -Definition kann folgende Einträge enthalten:
13421 \end_layout
13422
13423 \begin_layout Description
13424 \begin_inset Flex Code
13425 status collapsed
13426
13427 \begin_layout Plain Layout
13428 BgColor
13429 \end_layout
13430
13431 \end_inset
13432
13433  [
13434 \begin_inset Flex Code
13435 status collapsed
13436
13437 \begin_layout Plain Layout
13438 <Name>
13439 \end_layout
13440
13441 \end_inset
13442
13443 ] ist die Hintergrundfarbe der Einfügung.
13444  Siehe Kapitel
13445 \begin_inset space ~
13446 \end_inset
13447
13448
13449 \begin_inset CommandInset ref
13450 LatexCommand ref
13451 reference "chap:Namen-von-Farben"
13452
13453 \end_inset
13454
13455  für eine Liste von verfügbaren Farbnamen.
13456 \end_layout
13457
13458 \begin_layout Description
13459 \begin_inset Flex Code
13460 status collapsed
13461
13462 \begin_layout Plain Layout
13463 ContentAsLabel
13464 \end_layout
13465
13466 \end_inset
13467
13468  [
13469 \begin_inset Flex Code
13470 status collapsed
13471
13472 \begin_layout Plain Layout
13473
13474 \emph on
13475 0
13476 \end_layout
13477
13478 \end_inset
13479
13480 ,
13481 \begin_inset space \thinspace{}
13482 \end_inset
13483
13484
13485 \begin_inset Flex Code
13486 status collapsed
13487
13488 \begin_layout Plain Layout
13489 1
13490 \end_layout
13491
13492 \end_inset
13493
13494 ] Ob der Inhalt der Einfügung als Marke verwendet werden soll, wenn die
13495  Einfügung geschlossen ist.
13496 \end_layout
13497
13498 \begin_layout Description
13499 \begin_inset Flex Code
13500 status collapsed
13501
13502 \begin_layout Plain Layout
13503 CopyStyle
13504 \end_layout
13505
13506 \end_inset
13507
13508  [
13509 \begin_inset Flex Code
13510 status collapsed
13511
13512 \begin_layout Plain Layout
13513 <Typ>
13514 \end_layout
13515
13516 \end_inset
13517
13518 ] Wie bei Absatz-Layouts, siehe Abschnitt
13519 \begin_inset space ~
13520 \end_inset
13521
13522
13523 \begin_inset CommandInset ref
13524 LatexCommand ref
13525 reference "sub:Einzelne-Absatz-Layouts"
13526
13527 \end_inset
13528
13529 .
13530  Beachten Sie, dass der komplette Typ angegeben werden muss, z.
13531 \begin_inset space \thinspace{}
13532 \end_inset
13533
13534 B.
13535  
13536 \begin_inset Flex Code
13537 status collapsed
13538
13539 \begin_layout Plain Layout
13540 CopyStyle Flex:<Name>
13541 \end_layout
13542
13543 \end_inset
13544
13545 .
13546 \end_layout
13547
13548 \begin_layout Description
13549 \begin_inset Flex Code
13550 status collapsed
13551
13552 \begin_layout Plain Layout
13553 CustomPars
13554 \end_layout
13555
13556 \end_inset
13557
13558  [
13559 \begin_inset Flex Code
13560 status collapsed
13561
13562 \begin_layout Plain Layout
13563
13564 \emph on
13565 0
13566 \end_layout
13567
13568 \end_inset
13569
13570 ,
13571 \begin_inset space \thinspace{}
13572 \end_inset
13573
13574
13575 \begin_inset Flex Code
13576 status collapsed
13577
13578 \begin_layout Plain Layout
13579 1
13580 \end_layout
13581
13582 \end_inset
13583
13584 ] zeigt an, ob der Benutzer den Absatzeinstellungen-Dialog (
13585 \begin_inset Graphics
13586         filename ../../images/layout-paragraph.png
13587         scale 70
13588         scaleBeforeRotation
13589         BoundingBox 0bp 6bp 20bp 20bp
13590         groupId Icon
13591
13592 \end_inset
13593
13594 ) benutzen darf.
13595 \end_layout
13596
13597 \begin_layout Description
13598 \begin_inset Flex Code
13599 status collapsed
13600
13601 \begin_layout Plain Layout
13602 Decoration
13603 \end_layout
13604
13605 \end_inset
13606
13607  kann 
13608 \begin_inset Flex Code
13609 status collapsed
13610
13611 \begin_layout Plain Layout
13612 Classic
13613 \end_layout
13614
13615 \end_inset
13616
13617
13618 \begin_inset Flex Code
13619 status collapsed
13620
13621 \begin_layout Plain Layout
13622 Minimalistic
13623 \end_layout
13624
13625 \end_inset
13626
13627 , oder 
13628 \begin_inset Flex Code
13629 status collapsed
13630
13631 \begin_layout Plain Layout
13632 Conglomerate
13633 \end_layout
13634
13635 \end_inset
13636
13637  sein.
13638  Es beschreibt den Rendering-Stil für den Einfügungsrahmen und die -knöpfe.
13639  Fußnoten benutzen im allgemeinen 
13640 \begin_inset Flex Code
13641 status collapsed
13642
13643 \begin_layout Plain Layout
13644 Classic
13645 \end_layout
13646
13647 \end_inset
13648
13649 , TeX-Code
13650 \family typewriter
13651  
13652 \family default
13653
13654 \begin_inset Flex Code
13655 status collapsed
13656
13657 \begin_layout Plain Layout
13658 Minimalistic
13659 \end_layout
13660
13661 \end_inset
13662
13663  und Zeichenstile 
13664 \begin_inset Flex Code
13665 status collapsed
13666
13667 \begin_layout Plain Layout
13668 Conglomerate
13669 \end_layout
13670
13671 \end_inset
13672
13673 .
13674 \end_layout
13675
13676 \begin_layout Description
13677 \begin_inset Flex Code
13678 status collapsed
13679
13680 \begin_layout Plain Layout
13681 Display
13682 \end_layout
13683
13684 \end_inset
13685
13686  [
13687 \begin_inset Flex Code
13688 status collapsed
13689
13690 \begin_layout Plain Layout
13691 0
13692 \end_layout
13693
13694 \end_inset
13695
13696 ,
13697 \begin_inset space \thinspace{}
13698 \end_inset
13699
13700
13701 \begin_inset Flex Code
13702 status collapsed
13703
13704 \begin_layout Plain Layout
13705
13706 \emph on
13707 1
13708 \end_layout
13709
13710 \end_inset
13711
13712 ] Nur sinnvoll wenn der 
13713 \begin_inset Flex Code
13714 status collapsed
13715
13716 \begin_layout Plain Layout
13717 LatexType
13718 \end_layout
13719
13720 \end_inset
13721
13722  
13723 \begin_inset Flex Code
13724 status collapsed
13725
13726 \begin_layout Plain Layout
13727 Environment
13728 \end_layout
13729
13730 \end_inset
13731
13732  ist.
13733  Gibt an, ob die Umgebung in der Ausgabe abgesetzt erscheint oder in einer
13734  Zeile mit dem umgebenden Text.
13735  Wenn auf 
13736 \begin_inset Flex Code
13737 status collapsed
13738
13739 \begin_layout Plain Layout
13740 0
13741 \end_layout
13742
13743 \end_inset
13744
13745  gesetzt, wird angenommen, dass die LaTeX-Umgebung Leerraum nach den 
13746 \begin_inset Flex Code
13747 status collapsed
13748
13749 \begin_layout Plain Layout
13750
13751 \backslash
13752 begin{
13753 \emph on
13754 LatexName
13755 \emph default
13756 }
13757 \end_layout
13758
13759 \end_inset
13760
13761  und 
13762 \begin_inset Flex Code
13763 status collapsed
13764
13765 \begin_layout Plain Layout
13766
13767 \backslash
13768 end{
13769 \emph on
13770 LatexName
13771 \emph default
13772 }
13773 \end_layout
13774
13775 \end_inset
13776
13777  Befehlen ignoriert (inklusive des Zeilenumbruchzeichens).
13778 \end_layout
13779
13780 \begin_layout Description
13781 \begin_inset Flex Code
13782 status collapsed
13783
13784 \begin_layout Plain Layout
13785 End
13786 \end_layout
13787
13788 \end_inset
13789
13790  beendet die 
13791 \begin_inset Flex Code
13792 status collapsed
13793
13794 \begin_layout Plain Layout
13795 InsetLayout
13796 \end_layout
13797
13798 \end_inset
13799
13800 -Definition.
13801 \end_layout
13802
13803 \begin_layout Description
13804 \begin_inset Flex Code
13805 status collapsed
13806
13807 \begin_layout Plain Layout
13808 Font
13809 \end_layout
13810
13811 \end_inset
13812
13813  wird für den Text 
13814 \emph on
13815 und
13816 \emph default
13817  die Marke benutzt (siehe 
13818 \begin_inset CommandInset ref
13819 LatexCommand ref
13820 reference "sub:Beschreibung-des-Zeichensatzes"
13821
13822 \end_inset
13823
13824 ).
13825  Beachten Sie, dass die Definition dieses Fonts automatisch dem 
13826 \begin_inset Flex Code
13827 status collapsed
13828
13829 \begin_layout Plain Layout
13830 LabelFont
13831 \end_layout
13832
13833 \end_inset
13834
13835  denselben Wert zuweist, das heißt 
13836 \begin_inset Flex Code
13837 status collapsed
13838
13839 \begin_layout Plain Layout
13840 Font
13841 \end_layout
13842
13843 \end_inset
13844
13845  muss zuerst definiert werden und 
13846 \begin_inset Flex Code
13847 status collapsed
13848
13849 \begin_layout Plain Layout
13850 LabelFont
13851 \end_layout
13852
13853 \end_inset
13854
13855  danach, wenn sie unterschiedlich sein sollen.
13856 \end_layout
13857
13858 \begin_layout Description
13859 \begin_inset Flex Code
13860 status collapsed
13861
13862 \begin_layout Plain Layout
13863 ForceLTR
13864 \end_layout
13865
13866 \end_inset
13867
13868  erzwingt die 
13869 \begin_inset Quotes gld
13870 \end_inset
13871
13872 LaTeX-Sprache
13873 \begin_inset Quotes grd
13874 \end_inset
13875
13876  und führt zu einer links-nach-rechts-Ausgabe, zum Beispiel bei TeX-Code
13877  oder URL.
13878  
13879 \begin_inset Flex Code
13880 status collapsed
13881
13882 \begin_layout Plain Layout
13883 ForceLTR
13884 \end_layout
13885
13886 \end_inset
13887
13888  ist eine Behelfslösung.
13889 \end_layout
13890
13891 \begin_layout Description
13892 \begin_inset Flex Code
13893 status collapsed
13894
13895 \begin_layout Plain Layout
13896 ForcePlain
13897 \end_layout
13898
13899 \end_inset
13900
13901  [
13902 \begin_inset Flex Code
13903 status collapsed
13904
13905 \begin_layout Plain Layout
13906
13907 \emph on
13908 0
13909 \end_layout
13910
13911 \end_inset
13912
13913 ,
13914 \begin_inset space \thinspace{}
13915 \end_inset
13916
13917
13918 \begin_inset Flex Code
13919 status collapsed
13920
13921 \begin_layout Plain Layout
13922 1
13923 \end_layout
13924
13925 \end_inset
13926
13927 ] zeigt an, ob stattdessen 
13928 \begin_inset Flex Code
13929 status collapsed
13930
13931 \begin_layout Plain Layout
13932 PlainLayout
13933 \end_layout
13934
13935 \end_inset
13936
13937  benutzt werden soll oder ob der Benutzer den Absatzstil der Einfügung ändern
13938  darf.
13939 \end_layout
13940
13941 \begin_layout Description
13942 \begin_inset Flex Code
13943 status collapsed
13944
13945 \begin_layout Plain Layout
13946 FreeSpacing
13947 \end_layout
13948
13949 \end_inset
13950
13951  [
13952 \begin_inset Flex Code
13953 status collapsed
13954
13955 \begin_layout Plain Layout
13956
13957 \emph on
13958 0
13959 \end_layout
13960
13961 \end_inset
13962
13963 ,
13964 \begin_inset space \thinspace{}
13965 \end_inset
13966
13967
13968 \begin_inset Flex Code
13969 status collapsed
13970
13971 \begin_layout Plain Layout
13972 1
13973 \end_layout
13974
13975 \end_inset
13976
13977 ] Wie bei Absatz-Layouts, siehe Abschnitt
13978 \begin_inset space ~
13979 \end_inset
13980
13981
13982 \begin_inset CommandInset ref
13983 LatexCommand ref
13984 reference "sub:Einzelne-Absatz-Layouts"
13985
13986 \end_inset
13987
13988 .
13989 \end_layout
13990
13991 \begin_layout Description
13992 \begin_inset Flex Code
13993 status collapsed
13994
13995 \begin_layout Plain Layout
13996 HTML*
13997 \end_layout
13998
13999 \end_inset
14000
14001  Diese Tags kontrollieren die XHTML-Ausgabe.
14002  Siehe Abschnitt
14003 \begin_inset space ~
14004 \end_inset
14005
14006
14007 \begin_inset CommandInset ref
14008 LatexCommand ref
14009 reference "sec:Tags-for-XHTML"
14010
14011 \end_inset
14012
14013 .
14014 \end_layout
14015
14016 \begin_layout Description
14017 \begin_inset Flex Code
14018 status collapsed
14019
14020 \begin_layout Plain Layout
14021 InToc
14022 \end_layout
14023
14024 \end_inset
14025
14026  [
14027 \begin_inset Flex Code
14028 status collapsed
14029
14030 \begin_layout Plain Layout
14031
14032 \emph on
14033 0
14034 \end_layout
14035
14036 \end_inset
14037
14038 ,
14039 \begin_inset space \thinspace{}
14040 \end_inset
14041
14042
14043 \begin_inset Flex Code
14044 status collapsed
14045
14046 \begin_layout Plain Layout
14047 1
14048 \end_layout
14049
14050 \end_inset
14051
14052 ] Ob der Inhalt der Einfügung für die Zeichenketten des 'Gliederungs'-Fensters
14053  verwendet werden soll.
14054  Zum Beispiel will man nicht, dass der Inhalt einer Fußzeile im Namen des
14055  Abschnitts im Inhaltsverzeichnis des Gliederungs-Fensters erscheint.
14056  Aber man will normalerweise, dass der Inhalt von Zeichenstilen erscheint.
14057 \end_layout
14058
14059 \begin_layout Description
14060 \begin_inset Flex Code
14061 status collapsed
14062
14063 \begin_layout Plain Layout
14064 KeepEmpty
14065 \end_layout
14066
14067 \end_inset
14068
14069  [
14070 \emph on
14071
14072 \begin_inset Flex Code
14073 status collapsed
14074
14075 \begin_layout Plain Layout
14076 0
14077 \end_layout
14078
14079 \end_inset
14080
14081
14082 \emph default
14083 ,
14084 \begin_inset space \thinspace{}
14085 \end_inset
14086
14087
14088 \begin_inset Flex Code
14089 status collapsed
14090
14091 \begin_layout Plain Layout
14092 1
14093 \end_layout
14094
14095 \end_inset
14096
14097 ] Wie bei Absatz-Layouts, siehe Abschnitt
14098 \begin_inset space ~
14099 \end_inset
14100
14101
14102 \begin_inset CommandInset ref
14103 LatexCommand ref
14104 reference "sub:Einzelne-Absatz-Layouts"
14105
14106 \end_inset
14107
14108 .
14109 \end_layout
14110
14111 \begin_layout Description
14112 \begin_inset Flex Code
14113 status collapsed
14114
14115 \begin_layout Plain Layout
14116 LabelFont
14117 \end_layout
14118
14119 \end_inset
14120
14121  ist die für die Marke benutze Schrift (siehe 
14122 \begin_inset CommandInset ref
14123 LatexCommand ref
14124 reference "sub:Beschreibung-des-Zeichensatzes"
14125
14126 \end_inset
14127
14128 ).
14129  Beachten Sie, dass diese Definition niemals vor 
14130 \begin_inset Flex Code
14131 status collapsed
14132
14133 \begin_layout Plain Layout
14134 Font
14135 \end_layout
14136
14137 \end_inset
14138
14139  erscheinen darf, weil sie sonst unwirksam ist.
14140 \end_layout
14141
14142 \begin_layout Description
14143 \begin_inset Flex Code
14144 status collapsed
14145
14146 \begin_layout Plain Layout
14147 LabelString
14148 \end_layout
14149
14150 \end_inset
14151
14152  [
14153 \begin_inset Flex Code
14154 status collapsed
14155
14156 \begin_layout Plain Layout
14157 string
14158 \end_layout
14159
14160 \end_inset
14161
14162 =
14163 \begin_inset Quotes erd
14164 \end_inset
14165
14166
14167 \begin_inset Quotes erd
14168 \end_inset
14169
14170 ] wird auf dem Knopf und anderswo als Einfügungsmarke angezeigt.
14171  Einige Einfügungstypen (TeX-Code und Zweig) ändern diese Marke im Vo\SpecialChar \-
14172 rü\SpecialChar \-
14173 ber\SpecialChar \-
14174 gehen.
14175 \end_layout
14176
14177 \begin_layout Description
14178 \begin_inset Flex Code
14179 status collapsed
14180
14181 \begin_layout Plain Layout
14182 LatexName
14183 \end_layout
14184
14185 \end_inset
14186
14187  [
14188 \begin_inset Flex Code
14189 status collapsed
14190
14191 \begin_layout Plain Layout
14192 <Name>
14193 \end_layout
14194
14195 \end_inset
14196
14197 ] ist der Name der LaTeX-Umgebung oder des LaTeX-Befehls.
14198 \end_layout
14199
14200 \begin_layout Description
14201 \begin_inset Flex Code
14202 status collapsed
14203
14204 \begin_layout Plain Layout
14205 LatexParam
14206 \end_layout
14207
14208 \end_inset
14209
14210  [
14211 \begin_inset Flex Code
14212 status collapsed
14213
14214 \begin_layout Plain Layout
14215 <Parameter>
14216 \end_layout
14217
14218 \end_inset
14219
14220 ] ist ein optionaler Parameter für den zugehörigen 
14221 \begin_inset Flex Code
14222 status collapsed
14223
14224 \begin_layout Plain Layout
14225 LatexName
14226 \end_layout
14227
14228 \end_inset
14229
14230 , einschließ\SpecialChar \-
14231 lich möglicher Klammerpaare wie 
14232 \begin_inset Flex Code
14233 status collapsed
14234
14235 \begin_layout Plain Layout
14236 []
14237 \end_layout
14238
14239 \end_inset
14240
14241 .
14242  Dieser Parameter kann in LyX nicht geändert werden.
14243 \end_layout
14244
14245 \begin_layout Description
14246 \begin_inset Flex Code
14247 status collapsed
14248
14249 \begin_layout Plain Layout
14250 LatexType
14251 \end_layout
14252
14253 \end_inset
14254
14255  Wie bei Absatz-Layouts, siehe Abschnitt
14256 \begin_inset space ~
14257 \end_inset
14258
14259
14260 \begin_inset CommandInset ref
14261 LatexCommand ref
14262 reference "sub:Einzelne-Absatz-Layouts"
14263
14264 \end_inset
14265
14266 .
14267 \end_layout
14268
14269 \begin_layout Description
14270 \begin_inset Flex Code
14271 status collapsed
14272
14273 \begin_layout Plain Layout
14274 LyxType
14275 \end_layout
14276
14277 \end_inset
14278
14279  kann 
14280 \begin_inset Flex Code
14281 status collapsed
14282
14283 \begin_layout Plain Layout
14284 charstyle
14285 \end_layout
14286
14287 \end_inset
14288
14289
14290 \begin_inset Flex Code
14291 status collapsed
14292
14293 \begin_layout Plain Layout
14294 custom
14295 \end_layout
14296
14297 \end_inset
14298
14299
14300 \begin_inset Flex Code
14301 status collapsed
14302
14303 \begin_layout Plain Layout
14304 element
14305 \end_layout
14306
14307 \end_inset
14308
14309  oder 
14310 \begin_inset Flex Code
14311 status collapsed
14312
14313 \begin_layout Plain Layout
14314 end
14315 \end_layout
14316
14317 \end_inset
14318
14319  (zeigt das Ende einer Definition an) sein.
14320  Dieser Eintrag wird für flexible Einfügungen benötigt und ist nur dort
14321  sinnvoll.
14322  Neben anderen Dingen legt er fest, in welchem Menü diese Einfügung erscheinen
14323  wird.
14324  Wird 
14325 \begin_inset Flex Code
14326 status collapsed
14327
14328 \begin_layout Plain Layout
14329 LyXType
14330 \end_layout
14331
14332 \end_inset
14333
14334  auf 
14335 \begin_inset Flex Code
14336 status collapsed
14337
14338 \begin_layout Plain Layout
14339 charstyle
14340 \end_layout
14341
14342 \end_inset
14343
14344  gesetzt, wird 
14345 \begin_inset Flex Code
14346 status collapsed
14347
14348 \begin_layout Plain Layout
14349 MultiPar
14350 \end_layout
14351
14352 \end_inset
14353
14354  automatisch auf 
14355 \begin_inset Flex Code
14356 status collapsed
14357
14358 \begin_layout Plain Layout
14359 0
14360 \end_layout
14361
14362 \end_inset
14363
14364  gesetzt.
14365  
14366 \begin_inset Flex Code
14367 status collapsed
14368
14369 \begin_layout Plain Layout
14370 MultiPar
14371 \end_layout
14372
14373 \end_inset
14374
14375  kann auf 
14376 \begin_inset Flex Code
14377 status collapsed
14378
14379 \begin_layout Plain Layout
14380 1
14381 \end_layout
14382
14383 \end_inset
14384
14385  für 
14386 \begin_inset Flex Code
14387 status collapsed
14388
14389 \begin_layout Plain Layout
14390 charstyle
14391 \end_layout
14392
14393 \end_inset
14394
14395 -Einfügungen gesetzt werden, indem es 
14396 \emph on
14397 nach
14398 \emph default
14399  dem 
14400 \begin_inset Flex Code
14401 status collapsed
14402
14403 \begin_layout Plain Layout
14404 LyXType
14405 \end_layout
14406
14407 \end_inset
14408
14409  spezifiziert wird.
14410 \end_layout
14411
14412 \begin_layout Description
14413 \begin_inset Flex Code
14414 status collapsed
14415
14416 \begin_layout Plain Layout
14417 MultiPar
14418 \end_layout
14419
14420 \end_inset
14421
14422  [
14423 \begin_inset Flex Code
14424 status collapsed
14425
14426 \begin_layout Plain Layout
14427
14428 \emph on
14429 0
14430 \end_layout
14431
14432 \end_inset
14433
14434 ,
14435 \begin_inset space \thinspace{}
14436 \end_inset
14437
14438
14439 \begin_inset Flex Code
14440 status collapsed
14441
14442 \begin_layout Plain Layout
14443 1
14444 \end_layout
14445
14446 \end_inset
14447
14448 ] zeigt an, ob in dieser Einfügung mehrfache Absätze erlaubt sind.
14449  Dadurch wird 
14450 \begin_inset Flex Code
14451 status collapsed
14452
14453 \begin_layout Plain Layout
14454 CustomPars
14455 \end_layout
14456
14457 \end_inset
14458
14459  auf denselben Wert gesetzt und 
14460 \begin_inset Flex Code
14461 status collapsed
14462
14463 \begin_layout Plain Layout
14464 ForcePlain
14465 \end_layout
14466
14467 \end_inset
14468
14469  auf den anderen.
14470  Diese können auf andere Werte gesetzt werden, wenn sie 
14471 \emph on
14472 nach
14473 \emph default
14474  
14475 \begin_inset Flex Code
14476 status collapsed
14477
14478 \begin_layout Plain Layout
14479 MultiPar
14480 \end_layout
14481
14482 \end_inset
14483
14484  benutzt werden.
14485 \end_layout
14486
14487 \begin_layout Description
14488 \begin_inset Flex Code
14489 status collapsed
14490
14491 \begin_layout Plain Layout
14492 NeedProtect
14493 \end_layout
14494
14495 \end_inset
14496
14497  [
14498 \begin_inset Flex Code
14499 status collapsed
14500
14501 \begin_layout Plain Layout
14502
14503 \emph on
14504 0
14505 \end_layout
14506
14507 \end_inset
14508
14509 ,
14510 \begin_inset space \thinspace{}
14511 \end_inset
14512
14513
14514 \begin_inset Flex Code
14515 status collapsed
14516
14517 \begin_layout Plain Layout
14518 1
14519 \end_layout
14520
14521 \end_inset
14522
14523 ] zeigt an, ob 
14524 \emph on
14525 zerbrechliche
14526 \emph default
14527  Befehle in diesem Layout ge\SpecialChar \-
14528 schützt (
14529 \begin_inset Flex Code
14530 status collapsed
14531
14532 \begin_layout Plain Layout
14533
14534 \backslash
14535 protect
14536 \end_layout
14537
14538 \end_inset
14539
14540 ) werden sollen.
14541  Es zeigt 
14542 \emph on
14543 nicht
14544 \emph default
14545  an, ob der Befehl selber geschützt werden soll.
14546 \end_layout
14547
14548 \begin_layout Description
14549 \begin_inset Flex Code
14550 status collapsed
14551
14552 \begin_layout Plain Layout
14553 ParbreakIsNewline
14554 \end_layout
14555
14556 \end_inset
14557
14558  [
14559 \begin_inset Flex Code
14560 status collapsed
14561
14562 \begin_layout Plain Layout
14563
14564 \emph on
14565 0
14566 \end_layout
14567
14568 \end_inset
14569
14570 ,
14571 \begin_inset space \thinspace{}
14572 \end_inset
14573
14574
14575 \begin_inset Flex Code
14576 status collapsed
14577
14578 \begin_layout Plain Layout
14579 1
14580 \end_layout
14581
14582 \end_inset
14583
14584 ] Wie bei Absatz-Layouts, siehe Abschnitt
14585 \begin_inset space ~
14586 \end_inset
14587
14588
14589 \begin_inset CommandInset ref
14590 LatexCommand ref
14591 reference "sub:Einzelne-Absatz-Layouts"
14592
14593 \end_inset
14594
14595 .
14596 \end_layout
14597
14598 \begin_layout Description
14599 \begin_inset Flex Code
14600 status collapsed
14601
14602 \begin_layout Plain Layout
14603 PassThru
14604 \end_layout
14605
14606 \end_inset
14607
14608  [
14609 \begin_inset Flex Code
14610 status collapsed
14611
14612 \begin_layout Plain Layout
14613
14614 \emph on
14615 0
14616 \end_layout
14617
14618 \end_inset
14619
14620 ,
14621 \begin_inset space \thinspace{}
14622 \end_inset
14623
14624
14625 \begin_inset Flex Code
14626 status collapsed
14627
14628 \begin_layout Plain Layout
14629 1
14630 \end_layout
14631
14632 \end_inset
14633
14634 ] Wie bei Absatz-Layouts, siehe Abschnitt
14635 \begin_inset space ~
14636 \end_inset
14637
14638
14639 \begin_inset CommandInset ref
14640 LatexCommand ref
14641 reference "sub:Einzelne-Absatz-Layouts"
14642
14643 \end_inset
14644
14645 .
14646 \end_layout
14647
14648 \begin_layout Description
14649 \begin_inset Flex Code
14650 status collapsed
14651
14652 \begin_layout Plain Layout
14653 Preamble
14654 \end_layout
14655
14656 \end_inset
14657
14658  Wie bei Absatz-Layouts, siehe Abschnitt
14659 \begin_inset space ~
14660 \end_inset
14661
14662
14663 \begin_inset CommandInset ref
14664 LatexCommand ref
14665 reference "sub:Einzelne-Absatz-Layouts"
14666
14667 \end_inset
14668
14669 .
14670 \end_layout
14671
14672 \begin_layout Description
14673 \begin_inset Flex Code
14674 status collapsed
14675
14676 \begin_layout Plain Layout
14677 RefPrefix
14678 \end_layout
14679
14680 \end_inset
14681
14682  [
14683 \begin_inset Flex Code
14684 status collapsed
14685
14686 \begin_layout Plain Layout
14687 string
14688 \end_layout
14689
14690 \end_inset
14691
14692 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieser Einfügung
14693  verwiesen wird.
14694  Dies erlaubt die Verwendung von Formatierten Querverweisen.
14695 \end_layout
14696
14697 \begin_layout Description
14698 \begin_inset Flex Code
14699 status collapsed
14700
14701 \begin_layout Plain Layout
14702 Requires
14703 \end_layout
14704
14705 \end_inset
14706
14707  [
14708 \begin_inset Flex Code
14709 status collapsed
14710
14711 \begin_layout Plain Layout
14712 string
14713 \end_layout
14714
14715 \end_inset
14716
14717 ] Wie bei Absatz-Layouts, siehe Abschnitt
14718 \begin_inset space ~
14719 \end_inset
14720
14721
14722 \begin_inset CommandInset ref
14723 LatexCommand ref
14724 reference "sub:Einzelne-Absatz-Layouts"
14725
14726 \end_inset
14727
14728 .
14729 \end_layout
14730
14731 \begin_layout Description
14732 \begin_inset Flex Code
14733 status collapsed
14734
14735 \begin_layout Plain Layout
14736 ResetsFont
14737 \end_layout
14738
14739 \end_inset
14740
14741  [
14742 \begin_inset Flex Code
14743 status collapsed
14744
14745 \begin_layout Plain Layout
14746 0
14747 \end_layout
14748
14749 \end_inset
14750
14751 ,
14752 \begin_inset space \thinspace{}
14753 \end_inset
14754
14755
14756 \begin_inset Flex Code
14757 status collapsed
14758
14759 \begin_layout Plain Layout
14760
14761 \emph on
14762 1
14763 \end_layout
14764
14765 \end_inset
14766
14767 ] Ob die Einfügung die Schrift der benachbarten Umgebungen verwenden soll
14768  oder seine eigene.
14769  Voreinstellung ist 
14770 \begin_inset Flex Code
14771 status collapsed
14772
14773 \begin_layout Plain Layout
14774
14775 \emph on
14776 1
14777 \end_layout
14778
14779 \end_inset
14780
14781 : verwendet seine Eigene.
14782 \end_layout
14783
14784 \begin_layout Description
14785 \begin_inset Flex Code
14786 status collapsed
14787
14788 \begin_layout Plain Layout
14789 Spellcheck
14790 \end_layout
14791
14792 \end_inset
14793
14794  [
14795 \begin_inset Flex Code
14796 status collapsed
14797
14798 \begin_layout Plain Layout
14799 0
14800 \end_layout
14801
14802 \end_inset
14803
14804 ,
14805 \begin_inset space \thinspace{}
14806 \end_inset
14807
14808
14809 \begin_inset Flex Code
14810 status collapsed
14811
14812 \begin_layout Plain Layout
14813
14814 \emph on
14815 1
14816 \end_layout
14817
14818 \end_inset
14819
14820 ] Erlaubt es, den Inhalt der Einfügung auf Rechtschreibung zu überprüfen.
14821 \end_layout
14822
14823 \begin_layout Subsection
14824 Zähler
14825 \begin_inset CommandInset label
14826 LatexCommand label
14827 name "sub:Zähler"
14828
14829 \end_inset
14830
14831
14832 \end_layout
14833
14834 \begin_layout Standard
14835 Es ist notwendig Zähler (
14836 \begin_inset Flex MenuItem
14837 status collapsed
14838
14839 \begin_layout Plain Layout
14840 chapter
14841 \end_layout
14842
14843 \end_inset
14844
14845
14846 \begin_inset Flex MenuItem
14847 status collapsed
14848
14849 \begin_layout Plain Layout
14850 figure
14851 \end_layout
14852
14853 \end_inset
14854
14855 ,\SpecialChar \ldots{}
14856 ) in der Textklasse selber zu definieren.
14857  Die Standardzähler sind in der Datei 
14858 \begin_inset Flex Code
14859 status collapsed
14860
14861 \begin_layout Plain Layout
14862 stdcounters.inc
14863 \end_layout
14864
14865 \end_inset
14866
14867  definiert, so dass Sie nur die Zeile
14868 \end_layout
14869
14870 \begin_layout LyX-Code
14871 Input stdcounters.inc
14872 \end_layout
14873
14874 \begin_layout Standard
14875 zu zu Ihrer Layout-Datei hinzufügen müssen, damit sie arbeiten.
14876  Aber wenn Sie eigene Zähler definieren wollen, können Sie das tun.
14877  Zähler-Deklarationen beginnen mit
14878 \end_layout
14879
14880 \begin_layout LyX-Code
14881 Counter <Name>
14882 \end_layout
14883
14884 \begin_layout Standard
14885 wobei 
14886 \begin_inset Flex Code
14887 status collapsed
14888
14889 \begin_layout Plain Layout
14890 <Name>
14891 \end_layout
14892
14893 \end_inset
14894
14895  der Name Ihres Zählers ist.
14896  Die Deklaration endet mit 
14897 \begin_inset Flex Code
14898 status collapsed
14899
14900 \begin_layout Plain Layout
14901 End
14902 \end_layout
14903
14904 \end_inset
14905
14906 .
14907 \end_layout
14908
14909 \begin_layout Standard
14910 Folgende Parameter können auch benutzt werden:
14911 \end_layout
14912
14913 \begin_layout Description
14914 \begin_inset Flex Code
14915 status collapsed
14916
14917 \begin_layout Plain Layout
14918 LabelString
14919 \end_layout
14920
14921 \end_inset
14922
14923  [
14924 \begin_inset Flex Code
14925 status collapsed
14926
14927 \begin_layout Plain Layout
14928 string
14929 \end_layout
14930
14931 \end_inset
14932
14933 =
14934 \begin_inset Quotes erd
14935 \end_inset
14936
14937
14938 \begin_inset Quotes erd
14939 \end_inset
14940
14941 ] definiert, wie der Zähler dargestellt wird.
14942  Hierdurch wird 
14943 \begin_inset Flex Code
14944 status collapsed
14945
14946 \begin_layout Plain Layout
14947 LabelStringAppendix
14948 \end_layout
14949
14950 \end_inset
14951
14952  auf denselben Wert gesetzt.
14953  In der Zeichenkette können folgende Konstrukte benutzt werden:
14954 \end_layout
14955
14956 \begin_layout Itemize
14957 \begin_inset Flex Code
14958 status collapsed
14959
14960 \begin_layout Plain Layout
14961
14962 \backslash
14963 thecounter
14964 \end_layout
14965
14966 \end_inset
14967
14968  wird durch die Erweiterung von 
14969 \begin_inset Flex Code
14970 status collapsed
14971
14972 \begin_layout Plain Layout
14973 LabelString
14974 \end_layout
14975
14976 \end_inset
14977
14978  (oder
14979 \begin_inset Newline newline
14980 \end_inset
14981
14982
14983 \begin_inset Flex Code
14984 status collapsed
14985
14986 \begin_layout Plain Layout
14987 LabelStringAppendix
14988 \end_layout
14989
14990 \end_inset
14991
14992 ) des Zählers 
14993 \begin_inset Flex Code
14994 status collapsed
14995
14996 \begin_layout Plain Layout
14997 counter
14998 \end_layout
14999
15000 \end_inset
15001
15002  ersetzt.
15003 \end_layout
15004
15005 \begin_layout Itemize
15006 Zählerwerte können durch LaTeX-ähnliche Makros wie 
15007 \begin_inset Flex Code
15008 status collapsed
15009
15010 \begin_layout Plain Layout
15011
15012 \backslash
15013
15014 \emph on
15015 numbertype
15016 \emph default
15017 {
15018 \emph on
15019 counter
15020 \emph default
15021 }
15022 \end_layout
15023
15024 \end_inset
15025
15026  ausgedrückt werden, wobei 
15027 \begin_inset Flex Code
15028 status collapsed
15029
15030 \begin_layout Plain Layout
15031
15032 \emph on
15033 numbertype
15034 \end_layout
15035
15036 \end_inset
15037
15038  Folgendes sein kann: 
15039 \begin_inset Flex Code
15040 status collapsed
15041
15042 \begin_layout Plain Layout
15043 arabic
15044 \end_layout
15045
15046 \end_inset
15047
15048 : 1, 2, 3,\SpecialChar \ldots{}
15049
15050 \begin_inset Flex Code
15051 status collapsed
15052
15053 \begin_layout Plain Layout
15054 alph
15055 \end_layout
15056
15057 \end_inset
15058
15059  für Kleinbuchstaben: a, b, c,\SpecialChar \ldots{}
15060
15061 \begin_inset Flex Code
15062 status collapsed
15063
15064 \begin_layout Plain Layout
15065 Alph
15066 \end_layout
15067
15068 \end_inset
15069
15070  für Großbuchstaben: A, B, C,\SpecialChar \ldots{}
15071
15072 \begin_inset Flex Code
15073 status collapsed
15074
15075 \begin_layout Plain Layout
15076 roman
15077 \end_layout
15078
15079 \end_inset
15080
15081  für kleine römische Zahlen: i, ii, iii,\SpecialChar \ldots{}
15082
15083 \begin_inset Flex Code
15084 status collapsed
15085
15086 \begin_layout Plain Layout
15087 Roman
15088 \end_layout
15089
15090 \end_inset
15091
15092  für große römische Zahlen: I, II, III.
15093 \end_layout
15094
15095 \begin_layout Standard
15096 Wenn 
15097 \begin_inset Flex Code
15098 status collapsed
15099
15100 \begin_layout Plain Layout
15101 LabelString
15102 \end_layout
15103
15104 \end_inset
15105
15106  nicht definiert ist, wird ein Standardwert wie folgt benutzt: wenn der
15107  Zähler einen Hauptzähler 
15108 \begin_inset Flex Code
15109 status collapsed
15110
15111 \begin_layout Plain Layout
15112 master
15113 \end_layout
15114
15115 \end_inset
15116
15117  (über 
15118 \begin_inset Flex Code
15119 status collapsed
15120
15121 \begin_layout Plain Layout
15122 Within
15123 \end_layout
15124
15125 \end_inset
15126
15127  definiert) hat, wird der String 
15128 \begin_inset Flex Code
15129 status collapsed
15130
15131 \begin_layout Plain Layout
15132
15133 \backslash
15134 themaster.
15135 \backslash
15136 arabic{counter}
15137 \end_layout
15138
15139 \end_inset
15140
15141  benutzt, ansonsten 
15142 \begin_inset Flex Code
15143 status collapsed
15144
15145 \begin_layout Plain Layout
15146
15147 \backslash
15148 arabic{counter}
15149 \end_layout
15150
15151 \end_inset
15152
15153 .
15154 \end_layout
15155
15156 \begin_layout Description
15157 \begin_inset Flex Code
15158 status collapsed
15159
15160 \begin_layout Plain Layout
15161 LabelStringAppendix
15162 \end_layout
15163
15164 \end_inset
15165
15166  [
15167 \begin_inset Flex Code
15168 status collapsed
15169
15170 \begin_layout Plain Layout
15171 string
15172 \end_layout
15173
15174 \end_inset
15175
15176 =
15177 \begin_inset Quotes erd
15178 \end_inset
15179
15180
15181 \begin_inset Quotes erd
15182 \end_inset
15183
15184 ] ist dasselbe wie 
15185 \begin_inset Flex Code
15186 status collapsed
15187
15188 \begin_layout Plain Layout
15189 LabelString
15190 \end_layout
15191
15192 \end_inset
15193
15194 , aber für den Anhang.
15195 \end_layout
15196
15197 \begin_layout Description
15198 \begin_inset Flex Code
15199 status collapsed
15200
15201 \begin_layout Plain Layout
15202 PrettyFormat
15203 \end_layout
15204
15205 \end_inset
15206
15207  [
15208 \begin_inset Flex Code
15209 status collapsed
15210
15211 \begin_layout Plain Layout
15212 string
15213 \end_layout
15214
15215 \end_inset
15216
15217 =
15218 \begin_inset Quotes erd
15219 \end_inset
15220
15221
15222 \begin_inset Quotes erd
15223 \end_inset
15224
15225 ] Ein Format, das für Formatierte Querverweise auf einen Zähler verwendet
15226  wird.
15227  Möchte man z.
15228 \begin_inset space \thinspace{}
15229 \end_inset
15230
15231 B.
15232  Referenzen auf Abschnitte in der Form 
15233 \begin_inset Quotes gld
15234 \end_inset
15235
15236 Abschnitt
15237 \begin_inset space ~
15238 \end_inset
15239
15240 2.4
15241 \begin_inset Quotes grd
15242 \end_inset
15243
15244  haben, sollte der String 
15245 \begin_inset Quotes gld
15246 \end_inset
15247
15248 ##
15249 \begin_inset Quotes grd
15250 \end_inset
15251
15252  enthalten.
15253  Diese Zeichen werden später durch die referenzierte Abschnittsnummer ersetzt.
15254  Also für Abschnitte lautet der String dann 
15255 \begin_inset Quotes gld
15256 \end_inset
15257
15258 Abschnitt ##
15259 \begin_inset Quotes grd
15260 \end_inset
15261
15262 .
15263 \end_layout
15264
15265 \begin_layout Description
15266 \begin_inset Flex Code
15267 status collapsed
15268
15269 \begin_layout Plain Layout
15270 Within
15271 \end_layout
15272
15273 \end_inset
15274
15275  [
15276 \begin_inset Flex Code
15277 status collapsed
15278
15279 \begin_layout Plain Layout
15280 string
15281 \end_layout
15282
15283 \end_inset
15284
15285 =
15286 \begin_inset Quotes erd
15287 \end_inset
15288
15289
15290 \begin_inset Quotes erd
15291 \end_inset
15292
15293 ] Wenn dies auf den Namen eines anderen Zählers gesetzt wird, wird der gegenwärt
15294 ige Zähler jedes mal zurückgesetzt, wenn der andere erhöht wird.
15295  Zum Beispiel wird 
15296 \begin_inset Flex Code
15297 status collapsed
15298
15299 \begin_layout Plain Layout
15300 subsection
15301 \end_layout
15302
15303 \end_inset
15304
15305  innerhalb 
15306 \begin_inset Flex Code
15307 status collapsed
15308
15309 \begin_layout Plain Layout
15310 section
15311 \end_layout
15312
15313 \end_inset
15314
15315  nummeriert.
15316 \end_layout
15317
15318 \begin_layout Subsection
15319 Beschreibung des Zeichensatzes
15320 \begin_inset CommandInset label
15321 LatexCommand label
15322 name "sub:Beschreibung-des-Zeichensatzes"
15323
15324 \end_inset
15325
15326
15327 \end_layout
15328
15329 \begin_layout Standard
15330 Eine Zeichensatzbeschreibung sieht folgendermaßen aus:
15331 \end_layout
15332
15333 \begin_layout LyX-Code
15334 Font 
15335 \family roman
15336 \emph on
15337 oder
15338 \family default
15339 \emph default
15340  LabelFont
15341 \end_layout
15342
15343 \begin_layout LyX-Code
15344  ...
15345 \end_layout
15346
15347 \begin_layout LyX-Code
15348 EndFont
15349 \end_layout
15350
15351 \begin_layout Standard
15352 und es sind folgende Befehle vorhanden:
15353 \end_layout
15354
15355 \begin_layout Description
15356 \begin_inset Flex Code
15357 status collapsed
15358
15359 \begin_layout Plain Layout
15360 Color
15361 \end_layout
15362
15363 \end_inset
15364
15365  [
15366 \begin_inset Flex Code
15367 status collapsed
15368
15369 \begin_layout Plain Layout
15370 none
15371 \end_layout
15372
15373 \end_inset
15374
15375
15376 \begin_inset Flex Code
15377 status collapsed
15378
15379 \begin_layout Plain Layout
15380 black
15381 \end_layout
15382
15383 \end_inset
15384
15385
15386 \begin_inset Flex Code
15387 status collapsed
15388
15389 \begin_layout Plain Layout
15390 white
15391 \end_layout
15392
15393 \end_inset
15394
15395
15396 \begin_inset Flex Code
15397 status collapsed
15398
15399 \begin_layout Plain Layout
15400 red
15401 \end_layout
15402
15403 \end_inset
15404
15405
15406 \begin_inset Flex Code
15407 status collapsed
15408
15409 \begin_layout Plain Layout
15410 green
15411 \end_layout
15412
15413 \end_inset
15414
15415
15416 \begin_inset Flex Code
15417 status collapsed
15418
15419 \begin_layout Plain Layout
15420 blue
15421 \end_layout
15422
15423 \end_inset
15424
15425
15426 \begin_inset Flex Code
15427 status collapsed
15428
15429 \begin_layout Plain Layout
15430 cyan
15431 \end_layout
15432
15433 \end_inset
15434
15435
15436 \begin_inset Flex Code
15437 status collapsed
15438
15439 \begin_layout Plain Layout
15440 magenta
15441 \end_layout
15442
15443 \end_inset
15444
15445
15446 \begin_inset Flex Code
15447 status collapsed
15448
15449 \begin_layout Plain Layout
15450 yellow
15451 \end_layout
15452
15453 \end_inset
15454
15455 ]
15456 \end_layout
15457
15458 \begin_layout Description
15459 \begin_inset Flex Code
15460 status collapsed
15461
15462 \begin_layout Plain Layout
15463 Family
15464 \end_layout
15465
15466 \end_inset
15467
15468  [
15469 \begin_inset Flex Code
15470 status collapsed
15471
15472 \begin_layout Plain Layout
15473 Roman
15474 \end_layout
15475
15476 \end_inset
15477
15478
15479 \begin_inset Flex Code
15480 status collapsed
15481
15482 \begin_layout Plain Layout
15483 Sans
15484 \end_layout
15485
15486 \end_inset
15487
15488
15489 \begin_inset Flex Code
15490 status collapsed
15491
15492 \begin_layout Plain Layout
15493 Typewriter
15494 \end_layout
15495
15496 \end_inset
15497
15498 ]
15499 \end_layout
15500
15501 \begin_layout Description
15502 \begin_inset Flex Code
15503 status collapsed
15504
15505 \begin_layout Plain Layout
15506 Misc
15507 \end_layout
15508
15509 \end_inset
15510
15511  [
15512 \begin_inset Flex Code
15513 status collapsed
15514
15515 \begin_layout Plain Layout
15516 string
15517 \end_layout
15518
15519 \end_inset
15520
15521 ] Zulässige Argumente sind: 
15522 \begin_inset Flex Code
15523 status collapsed
15524
15525 \begin_layout Plain Layout
15526 emph
15527 \end_layout
15528
15529 \end_inset
15530
15531
15532 \begin_inset Flex Code
15533 status collapsed
15534
15535 \begin_layout Plain Layout
15536 noun
15537 \end_layout
15538
15539 \end_inset
15540
15541
15542 \begin_inset Flex Code
15543 status collapsed
15544
15545 \begin_layout Plain Layout
15546 strikeout
15547 \end_layout
15548
15549 \end_inset
15550
15551
15552 \begin_inset Flex Code
15553 status collapsed
15554
15555 \begin_layout Plain Layout
15556 underbar
15557 \end_layout
15558
15559 \end_inset
15560
15561
15562 \begin_inset Flex Code
15563 status collapsed
15564
15565 \begin_layout Plain Layout
15566 uuline
15567 \end_layout
15568
15569 \end_inset
15570
15571
15572 \begin_inset Flex Code
15573 status collapsed
15574
15575 \begin_layout Plain Layout
15576 uwave
15577 \end_layout
15578
15579 \end_inset
15580
15581
15582 \begin_inset Flex Code
15583 status collapsed
15584
15585 \begin_layout Plain Layout
15586 no_emph
15587 \end_layout
15588
15589 \end_inset
15590
15591
15592 \begin_inset Flex Code
15593 status collapsed
15594
15595 \begin_layout Plain Layout
15596 no_noun
15597 \end_layout
15598
15599 \end_inset
15600
15601
15602 \begin_inset Flex Code
15603 status collapsed
15604
15605 \begin_layout Plain Layout
15606 no_strikeout
15607 \end_layout
15608
15609 \end_inset
15610
15611
15612 \begin_inset Flex Code
15613 status collapsed
15614
15615 \begin_layout Plain Layout
15616 no_bar
15617 \end_layout
15618
15619 \end_inset
15620
15621
15622 \begin_inset Flex Code
15623 status collapsed
15624
15625 \begin_layout Plain Layout
15626 no_uuline
15627 \end_layout
15628
15629 \end_inset
15630
15631  und 
15632 \begin_inset Flex Code
15633 status collapsed
15634
15635 \begin_layout Plain Layout
15636 no_uwave
15637 \end_layout
15638
15639 \end_inset
15640
15641 .
15642  Jedes schaltet die entsprechende Eigenschaft an oder aus.
15643  Zum Beispiel führt 
15644 \begin_inset Flex Code
15645 status collapsed
15646
15647 \begin_layout Plain Layout
15648 emph
15649 \end_layout
15650
15651 \end_inset
15652
15653  zum Stil 
15654 \emph on
15655 Hervorhebung
15656 \emph default
15657  und 
15658 \begin_inset Flex Code
15659 status collapsed
15660
15661 \begin_layout Plain Layout
15662 no_emph
15663 \end_layout
15664
15665 \end_inset
15666
15667  schaltet diesen aus.
15668 \begin_inset Newline newline
15669 \end_inset
15670
15671 Falls Sie Letzteres verwirrt, erinnern Sie sich, dass die Schrifteinstellungen
15672  standardmäßig von den umgebenden Stilen übernommen wird.
15673  Daher schaltet 
15674 \begin_inset Flex Code
15675 status collapsed
15676
15677 \begin_layout Plain Layout
15678 no_emph
15679 \end_layout
15680
15681 \end_inset
15682
15683  die 
15684 \emph on
15685 Hervorhebung
15686 \emph default
15687  aus, die z.
15688 \begin_inset space \thinspace{}
15689 \end_inset
15690
15691 B.
15692  in einer Theorem-Umgebung aktiv ist.
15693 \end_layout
15694
15695 \begin_layout Description
15696 \begin_inset Flex Code
15697 status collapsed
15698
15699 \begin_layout Plain Layout
15700 Series
15701 \end_layout
15702
15703 \end_inset
15704
15705  [
15706 \begin_inset Flex Code
15707 status collapsed
15708
15709 \begin_layout Plain Layout
15710 Medium
15711 \end_layout
15712
15713 \end_inset
15714
15715
15716 \begin_inset Flex Code
15717 status collapsed
15718
15719 \begin_layout Plain Layout
15720 Bold
15721 \end_layout
15722
15723 \end_inset
15724
15725
15726 \end_layout
15727
15728 \begin_layout Description
15729 \begin_inset Flex Code
15730 status collapsed
15731
15732 \begin_layout Plain Layout
15733 Shape
15734 \end_layout
15735
15736 \end_inset
15737
15738  [
15739 \begin_inset Flex Code
15740 status collapsed
15741
15742 \begin_layout Plain Layout
15743 Up
15744 \end_layout
15745
15746 \end_inset
15747
15748
15749 \begin_inset Flex Code
15750 status collapsed
15751
15752 \begin_layout Plain Layout
15753 Italic
15754 \end_layout
15755
15756 \end_inset
15757
15758
15759 \begin_inset Flex Code
15760 status collapsed
15761
15762 \begin_layout Plain Layout
15763 SmallCaps
15764 \end_layout
15765
15766 \end_inset
15767
15768
15769 \begin_inset Flex Code
15770 status collapsed
15771
15772 \begin_layout Plain Layout
15773 Slanted
15774 \end_layout
15775
15776 \end_inset
15777
15778
15779 \end_layout
15780
15781 \begin_layout Description
15782 \begin_inset Flex Code
15783 status collapsed
15784
15785 \begin_layout Plain Layout
15786 Size
15787 \end_layout
15788
15789 \end_inset
15790
15791  [
15792 \begin_inset Flex Code
15793 status collapsed
15794
15795 \begin_layout Plain Layout
15796 tiny
15797 \end_layout
15798
15799 \end_inset
15800
15801
15802 \begin_inset Flex Code
15803 status collapsed
15804
15805 \begin_layout Plain Layout
15806 small
15807 \end_layout
15808
15809 \end_inset
15810
15811
15812 \begin_inset Flex Code
15813 status collapsed
15814
15815 \begin_layout Plain Layout
15816 normal
15817 \end_layout
15818
15819 \end_inset
15820
15821
15822 \begin_inset Flex Code
15823 status collapsed
15824
15825 \begin_layout Plain Layout
15826 large
15827 \end_layout
15828
15829 \end_inset
15830
15831
15832 \begin_inset Flex Code
15833 status collapsed
15834
15835 \begin_layout Plain Layout
15836 larger
15837 \end_layout
15838
15839 \end_inset
15840
15841
15842 \begin_inset Flex Code
15843 status collapsed
15844
15845 \begin_layout Plain Layout
15846 largest
15847 \end_layout
15848
15849 \end_inset
15850
15851
15852 \begin_inset Flex Code
15853 status collapsed
15854
15855 \begin_layout Plain Layout
15856 huge
15857 \end_layout
15858
15859 \end_inset
15860
15861
15862 \begin_inset Flex Code
15863 status collapsed
15864
15865 \begin_layout Plain Layout
15866 giant
15867 \end_layout
15868
15869 \end_inset
15870
15871 ]
15872 \end_layout
15873
15874 \begin_layout Subsection
15875
15876 \lang english
15877 \begin_inset CommandInset label
15878 LatexCommand label
15879 name "sub:Citation-format-description"
15880
15881 \end_inset
15882
15883 Citation format description
15884 \end_layout
15885
15886 \begin_layout Standard
15887
15888 \lang english
15889 The 
15890 \begin_inset Flex Code
15891 status collapsed
15892
15893 \begin_layout Plain Layout
15894
15895 \lang english
15896 CiteFormat
15897 \end_layout
15898
15899 \end_inset
15900
15901  blocks are used to describe how bibliographic information should be displayed,
15902  both within LyX itself (in the citation dialog and in tooltips, for example)
15903  and in XHTML output.
15904  Such a block might look like this:
15905 \end_layout
15906
15907 \begin_layout LyX-Code
15908 CiteFormat
15909 \end_layout
15910
15911 \begin_layout LyX-Code
15912  article ...
15913 \end_layout
15914
15915 \begin_layout LyX-Code
15916  book ...
15917 \end_layout
15918
15919 \begin_layout LyX-Code
15920 End
15921 \end_layout
15922
15923 \begin_layout Standard
15924
15925 \lang english
15926 The individual lines define how the bibliographic information associated
15927  with an article or book, respectively, is to be displayed, and such a definitio
15928 n can be given for any `entry type' that might be present in a BibTeX file.
15929  LyX defines a default format in the source code that will be used if no
15930  specific definition has been given.
15931  LyX predefines several formats in the file 
15932 \begin_inset Flex Code
15933 status collapsed
15934
15935 \begin_layout Plain Layout
15936
15937 \lang english
15938 stdciteformats.inc
15939 \end_layout
15940
15941 \end_inset
15942
15943 , which is included in most of LyX's document classes.
15944 \end_layout
15945
15946 \begin_layout Standard
15947
15948 \lang english
15949 The definitions use a simple language that allows BibTeX keys to be replaced
15950  with their values.
15951  Keys should be enclosed in 
15952 \begin_inset Flex Code
15953 status collapsed
15954
15955 \begin_layout Plain Layout
15956
15957 \lang english
15958 %
15959 \end_layout
15960
15961 \end_inset
15962
15963  signs, e.g.: 
15964 \begin_inset Flex Code
15965 status collapsed
15966
15967 \begin_layout Plain Layout
15968
15969 \lang english
15970 %author%
15971 \end_layout
15972
15973 \end_inset
15974
15975 .
15976  So a simple definition might look like this:
15977 \end_layout
15978
15979 \begin_layout LyX-Code
15980 misc %author%, 
15981 \begin_inset Quotes eld
15982 \end_inset
15983
15984 %title
15985 \begin_inset Quotes erd
15986 \end_inset
15987
15988 .
15989 \end_layout
15990
15991 \begin_layout Standard
15992
15993 \lang english
15994 This would print the author, followed by a comma, followed by the title,
15995  in quotes, followed by a period.
15996 \end_layout
15997
15998 \begin_layout Standard
15999
16000 \lang english
16001 Of course, sometimes you may want to print a key only if it exists.
16002  This can be done by using a conditional construction, such as: 
16003 \begin_inset Flex Code
16004 status collapsed
16005
16006 \begin_layout Plain Layout
16007
16008 \lang english
16009 {%volume%[[vol.
16010 \begin_inset space ~
16011 \end_inset
16012
16013 %volume%]]}
16014 \end_layout
16015
16016 \end_inset
16017
16018 .
16019  This says: If the 
16020 \begin_inset Flex Code
16021 status collapsed
16022
16023 \begin_layout Plain Layout
16024
16025 \lang english
16026 volume
16027 \end_layout
16028
16029 \end_inset
16030
16031  key exists, then print 
16032 \begin_inset Quotes eld
16033 \end_inset
16034
16035 vol.
16036 \begin_inset space ~
16037 \end_inset
16038
16039
16040 \begin_inset Quotes erd
16041 \end_inset
16042
16043  followed by the volume key.
16044  It is also possible to have an else clause in the conditional, such as:
16045 \begin_inset Newline newline
16046 \end_inset
16047
16048
16049 \begin_inset Flex Code
16050 status collapsed
16051
16052 \begin_layout Plain Layout
16053
16054 \lang english
16055 {%author%[[%author%]][[%editor%, ed.]]}
16056 \end_layout
16057
16058 \end_inset
16059
16060
16061 \begin_inset Newline newline
16062 \end_inset
16063
16064 Here, the 
16065 \begin_inset Flex Code
16066 status collapsed
16067
16068 \begin_layout Plain Layout
16069
16070 \lang english
16071 author
16072 \end_layout
16073
16074 \end_inset
16075
16076  key is printed if it exists; otherwise, the editor key is printed, followed
16077  by 
16078 \begin_inset Quotes eld
16079 \end_inset
16080
16081 ,
16082 \begin_inset space ~
16083 \end_inset
16084
16085 ed.
16086 \begin_inset Quotes erd
16087 \end_inset
16088
16089  Note that the key is again enclosed in 
16090 \begin_inset Flex Code
16091 status collapsed
16092
16093 \begin_layout Plain Layout
16094
16095 \lang english
16096 %
16097 \end_layout
16098
16099 \end_inset
16100
16101  signs; the entire conditional is enclosed in braces; and the if and else
16102  clauses are enclosed in double brackets, 
16103 \begin_inset Quotes eld
16104 \end_inset
16105
16106
16107 \begin_inset Flex Code
16108 status collapsed
16109
16110 \begin_layout Plain Layout
16111
16112 \lang english
16113 [[
16114 \end_layout
16115
16116 \end_inset
16117
16118
16119 \begin_inset Quotes eld
16120 \end_inset
16121
16122  and 
16123 \begin_inset Quotes eld
16124 \end_inset
16125
16126
16127 \begin_inset Flex Code
16128 status collapsed
16129
16130 \begin_layout Plain Layout
16131
16132 \lang english
16133 ]]
16134 \end_layout
16135
16136 \end_inset
16137
16138
16139 \begin_inset Quotes erd
16140 \end_inset
16141
16142 .
16143  There must be no space between any of these.
16144 \end_layout
16145
16146 \begin_layout Standard
16147
16148 \lang english
16149 There is one other piece of syntax available in definitions, which looks
16150  like this: 
16151 \begin_inset Flex Code
16152 status collapsed
16153
16154 \begin_layout Plain Layout
16155
16156 \lang english
16157 {!<i>!}
16158 \end_layout
16159
16160 \end_inset
16161
16162 .
16163  This defines a piece of formatting information that is to be used when
16164  creating 
16165 \begin_inset Quotes eld
16166 \end_inset
16167
16168 rich text
16169 \begin_inset Quotes erd
16170 \end_inset
16171
16172 .
16173  Obviously, we do not want to output HTML tags when writing plain text,
16174  so they should be wrapped in 
16175 \begin_inset Quotes eld
16176 \end_inset
16177
16178 {!
16179 \begin_inset Quotes erd
16180 \end_inset
16181
16182  and 
16183 \begin_inset Quotes eld
16184 \end_inset
16185
16186 !}
16187 \begin_inset Quotes erd
16188 \end_inset
16189
16190 .
16191 \end_layout
16192
16193 \begin_layout Standard
16194
16195 \lang english
16196 Two special sorts of definitions are also possible in a 
16197 \begin_inset Flex Code
16198 status collapsed
16199
16200 \begin_layout Plain Layout
16201
16202 \lang english
16203 CiteFormat
16204 \end_layout
16205
16206 \end_inset
16207
16208  block.
16209  An example of the first would be:
16210 \end_layout
16211
16212 \begin_layout LyX-Code
16213 !quotetitle 
16214 \begin_inset Quotes eld
16215 \end_inset
16216
16217 %title%
16218 \begin_inset Quotes erd
16219 \end_inset
16220
16221
16222 \end_layout
16223
16224 \begin_layout Standard
16225
16226 \lang english
16227 This is an abbreviation, or macro, and it can be used by treating it as
16228  if it were a key: 
16229 \begin_inset Flex Code
16230 status collapsed
16231
16232 \begin_layout Plain Layout
16233
16234 \lang english
16235 %!quotetitle%
16236 \end_layout
16237
16238 \end_inset
16239
16240 .
16241  LyX will treat 
16242 \begin_inset Flex Code
16243 status collapsed
16244
16245 \begin_layout Plain Layout
16246
16247 \lang english
16248 %!quotetitle%
16249 \end_layout
16250
16251 \end_inset
16252
16253  exactly as it would treat its definition.
16254  So, let us issue the obvious 
16255 \emph on
16256 warning
16257 \emph default
16258 .
16259  Do not do this:
16260 \end_layout
16261
16262 \begin_layout LyX-Code
16263 !funfun %funfun%
16264 \end_layout
16265
16266 \begin_layout Standard
16267
16268 \lang english
16269 or anything like it.
16270  LyX shouldn't go into an infinite loop, but it may go into a long one before
16271  it gives up.
16272 \end_layout
16273
16274 \begin_layout Standard
16275
16276 \lang english
16277 The second sort of special definition might look like this:
16278 \end_layout
16279
16280 \begin_layout LyX-Code
16281 _pptext pp.
16282 \end_layout
16283
16284 \begin_layout Standard
16285
16286 \lang english
16287 This defines a translatable piece of text, which allows relevant parts of
16288  the bibliography to be translated.
16289  It can be included in a definition by treating it as a key: 
16290 \begin_inset Flex Code
16291 status collapsed
16292
16293 \begin_layout Plain Layout
16294
16295 \lang english
16296 %_pptext%
16297 \end_layout
16298
16299 \end_inset
16300
16301 .
16302  Several of these are predefined in 
16303 \begin_inset Flex Code
16304 status collapsed
16305
16306 \begin_layout Plain Layout
16307
16308 \lang english
16309 stdciteformats.inc
16310 \end_layout
16311
16312 \end_inset
16313
16314 .
16315  Note that these are not macros, in the sense just defined.
16316  They will not be expanded.
16317 \end_layout
16318
16319 \begin_layout Standard
16320
16321 \lang english
16322 So here then is an example that use all these features:
16323 \begin_inset VSpace defskip
16324 \end_inset
16325
16326
16327 \end_layout
16328
16329 \begin_layout Standard
16330 \noindent
16331
16332 \family typewriter
16333 \lang english
16334 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
16335 \end_layout
16336
16337 \begin_layout Standard
16338
16339 \lang english
16340 \begin_inset VSpace defskip
16341 \end_inset
16342
16343 This defines a macro that prints the author, followed by a comma, if the
16344  
16345 \begin_inset Flex Code
16346 status collapsed
16347
16348 \begin_layout Plain Layout
16349
16350 \lang english
16351 author
16352 \end_layout
16353
16354 \end_inset
16355
16356  key is defined, or else prints the name of the editor, followed by the
16357  
16358 \begin_inset Flex Code
16359 status collapsed
16360
16361 \begin_layout Plain Layout
16362
16363 \lang english
16364 _edtext
16365 \end_layout
16366
16367 \end_inset
16368
16369  or its translation (it is by default 
16370 \begin_inset Quotes eld
16371 \end_inset
16372
16373 ed.
16374 \begin_inset Quotes erd
16375 \end_inset
16376
16377 ), if the 
16378 \begin_inset Flex Code
16379 status collapsed
16380
16381 \begin_layout Plain Layout
16382
16383 \lang english
16384 editor
16385 \end_layout
16386
16387 \end_inset
16388
16389  key is defined.
16390  Note that this is in fact defined in 
16391 \begin_inset Flex Code
16392 status collapsed
16393
16394 \begin_layout Plain Layout
16395
16396 \lang english
16397 stdciteformats.inc
16398 \end_layout
16399
16400 \end_inset
16401
16402 , so you can use it in your own definitions, or re-definitions, if you load
16403  that file first.
16404 \end_layout
16405
16406 \begin_layout Section
16407
16408 \lang english
16409 \begin_inset CommandInset label
16410 LatexCommand label
16411 name "sec:Tags-for-XHTML"
16412
16413 \end_inset
16414
16415 Tags for XHTML output
16416 \end_layout
16417
16418 \begin_layout Standard
16419
16420 \lang english
16421 As with LaTeX or DocBook, the format of LyX's XHTML output is also controlled
16422  by layout information.
16423  In general, LyX provides sensible defaults and, as mentioned earlier, it
16424  will even construct default CSS style rules from the other layout tags.
16425  For example, LyX will attempt to use the information provided in the 
16426 \begin_inset Flex Code
16427 status collapsed
16428
16429 \begin_layout Plain Layout
16430
16431 \lang english
16432 Font
16433 \end_layout
16434
16435 \end_inset
16436
16437  declaration for the Chapter style to write CSS that will appropriately
16438  format chapter headings.
16439 \end_layout
16440
16441 \begin_layout Standard
16442
16443 \lang english
16444 In many cases, then, you may not have to do anything at all to get acceptable
16445  XHTML output for your own environments, custom insets, and so forth.
16446  But in some cases you will, and so LyX provides a number of layout tags
16447  that can be used to customize the XHTML and CSS that are generated.
16448 \end_layout
16449
16450 \begin_layout Standard
16451
16452 \lang english
16453 Note that there are two tags, 
16454 \begin_inset Flex Code
16455 status collapsed
16456
16457 \begin_layout Plain Layout
16458
16459 \lang english
16460 HTMLPreamble
16461 \end_layout
16462
16463 \end_inset
16464
16465  and 
16466 \begin_inset Flex Code
16467 status collapsed
16468
16469 \begin_layout Plain Layout
16470
16471 \lang english
16472 AddToHTMLPreamble
16473 \end_layout
16474
16475 \end_inset
16476
16477  that may appear outside style and inset declarations.
16478  See 
16479 \begin_inset CommandInset ref
16480 LatexCommand ref
16481 reference "sub:Allgemeine-Parameter-für"
16482
16483 \end_inset
16484
16485  for details on these.
16486 \end_layout
16487
16488 \begin_layout Subsection
16489
16490 \lang english
16491 Paragraph styles
16492 \end_layout
16493
16494 \begin_layout Standard
16495
16496 \lang english
16497 The sort of XHTML LyX outputs for a paragraph depends upon whether we are
16498  dealing with a normal paragraph, a command, or an environment, where this
16499  is itself determined by the contents of the corresponding 
16500 \begin_inset Flex Code
16501 status collapsed
16502
16503 \begin_layout Plain Layout
16504
16505 \lang english
16506 LaTeXType
16507 \end_layout
16508
16509 \end_inset
16510
16511  tag.
16512  
16513 \end_layout
16514
16515 \begin_layout Standard
16516
16517 \lang english
16518 For a command or normal paragraph, the output XHTML has the following form:
16519 \end_layout
16520
16521 \begin_layout LyX-Code
16522
16523 \lang english
16524 <tag attr=
16525 \begin_inset Quotes erd
16526 \end_inset
16527
16528 value
16529 \begin_inset Quotes erd
16530 \end_inset
16531
16532 >
16533 \end_layout
16534
16535 \begin_layout LyX-Code
16536
16537 \lang english
16538 <labeltag attr=
16539 \begin_inset Quotes erd
16540 \end_inset
16541
16542 value
16543 \begin_inset Quotes erd
16544 \end_inset
16545
16546 >Label</labeltag>
16547 \end_layout
16548
16549 \begin_layout LyX-Code
16550
16551 \lang english
16552 Contents of the paragraph.
16553 \end_layout
16554
16555 \begin_layout LyX-Code
16556
16557 \lang english
16558 </tag>
16559 \end_layout
16560
16561 \begin_layout Standard
16562
16563 \lang english
16564 The label tags are of course omitted if the paragraph does not have a label.
16565 \end_layout
16566
16567 \begin_layout Standard
16568
16569 \lang english
16570 For an environment that is not some sort of list, the XHTML takes this form:
16571 \end_layout
16572
16573 \begin_layout LyX-Code
16574
16575 \lang english
16576 <tag attr=
16577 \begin_inset Quotes erd
16578 \end_inset
16579
16580 value
16581 \begin_inset Quotes erd
16582 \end_inset
16583
16584 >
16585 \end_layout
16586
16587 \begin_layout LyX-Code
16588
16589 \lang english
16590 <itemtag attr=
16591 \begin_inset Quotes erd
16592 \end_inset
16593
16594 value
16595 \begin_inset Quotes erd
16596 \end_inset
16597
16598 ><labeltag attr=
16599 \begin_inset Quotes erd
16600 \end_inset
16601
16602 value
16603 \begin_inset Quotes erd
16604 \end_inset
16605
16606 >Environment Label</labeltag>First paragraph.</itemtag>
16607 \end_layout
16608
16609 \begin_layout LyX-Code
16610
16611 \lang english
16612 <itemtag>Second paragraph.</itemtag>
16613 \end_layout
16614
16615 \begin_layout LyX-Code
16616
16617 \lang english
16618 </tag>
16619 \end_layout
16620
16621 \begin_layout Standard
16622
16623 \lang english
16624 Note that the label is output only for the first paragraph, as it should
16625  be for a theorem, for example.
16626  
16627 \end_layout
16628
16629 \begin_layout Standard
16630
16631 \lang english
16632 For a list, we have one of these forms:
16633 \end_layout
16634
16635 \begin_layout LyX-Code
16636
16637 \lang english
16638 <tag attr=
16639 \begin_inset Quotes erd
16640 \end_inset
16641
16642 value
16643 \begin_inset Quotes erd
16644 \end_inset
16645
16646 >
16647 \end_layout
16648
16649 \begin_layout LyX-Code
16650
16651 \lang english
16652 <itemtag attr=
16653 \begin_inset Quotes erd
16654 \end_inset
16655
16656 value
16657 \begin_inset Quotes erd
16658 \end_inset
16659
16660 ><labeltag attr=
16661 \begin_inset Quotes erd
16662 \end_inset
16663
16664 value
16665 \begin_inset Quotes erd
16666 \end_inset
16667
16668 >List Label</labeltag>First item.</itemtag>
16669 \end_layout
16670
16671 \begin_layout LyX-Code
16672
16673 \lang english
16674 <itemtag attr=
16675 \begin_inset Quotes erd
16676 \end_inset
16677
16678 value
16679 \begin_inset Quotes erd
16680 \end_inset
16681
16682 ><labeltag attr=
16683 \begin_inset Quotes erd
16684 \end_inset
16685
16686 value
16687 \begin_inset Quotes erd
16688 \end_inset
16689
16690 >List Label</labeltag>Second item.</itemtag>
16691 \end_layout
16692
16693 \begin_layout LyX-Code
16694
16695 \lang english
16696 </tag>
16697 \end_layout
16698
16699 \begin_layout LyX-Code
16700
16701 \end_layout
16702
16703 \begin_layout LyX-Code
16704
16705 \lang english
16706 <tag attr=
16707 \begin_inset Quotes erd
16708 \end_inset
16709
16710 value
16711 \begin_inset Quotes erd
16712 \end_inset
16713
16714 >
16715 \end_layout
16716
16717 \begin_layout LyX-Code
16718
16719 \lang english
16720 <labeltag attr=
16721 \begin_inset Quotes erd
16722 \end_inset
16723
16724 value
16725 \begin_inset Quotes erd
16726 \end_inset
16727
16728 >List Label</labeltag><itemtag attr=
16729 \begin_inset Quotes erd
16730 \end_inset
16731
16732 value
16733 \begin_inset Quotes erd
16734 \end_inset
16735
16736 >First item.</itemtag>
16737 \end_layout
16738
16739 \begin_layout LyX-Code
16740
16741 \lang english
16742 <labeltag attr=
16743 \begin_inset Quotes erd
16744 \end_inset
16745
16746 value
16747 \begin_inset Quotes erd
16748 \end_inset
16749
16750 >List Label</labeltag><itemtag attr=
16751 \begin_inset Quotes erd
16752 \end_inset
16753
16754 value
16755 \begin_inset Quotes erd
16756 \end_inset
16757
16758 >Second item.</itemtag>
16759 \end_layout
16760
16761 \begin_layout LyX-Code
16762
16763 \lang english
16764 </tag>
16765 \end_layout
16766
16767 \begin_layout Standard
16768
16769 \lang english
16770 Note the different orders of 
16771 \begin_inset Flex Code
16772 status collapsed
16773
16774 \begin_layout Plain Layout
16775
16776 \lang english
16777 labeltag
16778 \end_layout
16779
16780 \end_inset
16781
16782  and 
16783 \begin_inset Flex Code
16784 status collapsed
16785
16786 \begin_layout Plain Layout
16787
16788 \lang english
16789 itemtag
16790 \end_layout
16791
16792 \end_inset
16793
16794 .
16795  Which order we get depends upon the setting of 
16796 \begin_inset Flex Code
16797 status collapsed
16798
16799 \begin_layout Plain Layout
16800
16801 \lang english
16802 HTMLLabelFirst
16803 \end_layout
16804
16805 \end_inset
16806
16807 : If 
16808 \begin_inset Flex Code
16809 status collapsed
16810
16811 \begin_layout Plain Layout
16812
16813 \lang english
16814 HTMLLabelFirst
16815 \end_layout
16816
16817 \end_inset
16818
16819  is false (the default), you get the first of these, with the label within
16820  the item; if true, you get the second, with the label outside the item.
16821 \end_layout
16822
16823 \begin_layout Standard
16824
16825 \lang english
16826 The specific tags and attributes output for each paragraph type can be controlle
16827 d by means of the layout tags we are about to describe.
16828  As mentioned earlier, however, LyX uses sensible defaults for many of these,
16829  so you often may not need to do very much to get good XHTML output.
16830  Think of the available tags as there so you can tweak things to your liking.
16831 \end_layout
16832
16833 \begin_layout Description
16834
16835 \lang english
16836 \begin_inset Flex Code
16837 status collapsed
16838
16839 \begin_layout Plain Layout
16840
16841 \lang english
16842 HTMLAttr
16843 \end_layout
16844
16845 \end_inset
16846
16847  [
16848 \begin_inset Flex Code
16849 status collapsed
16850
16851 \begin_layout Plain Layout
16852
16853 \lang english
16854 string
16855 \end_layout
16856
16857 \end_inset
16858
16859 ] Specifies attribute information to be output with the main tag.
16860  For example, 
16861 \begin_inset Quotes eld
16862 \end_inset
16863
16864
16865 \begin_inset Flex Code
16866 status collapsed
16867
16868 \begin_layout Plain Layout
16869
16870 \lang english
16871 class=`mydiv'
16872 \end_layout
16873
16874 \end_inset
16875
16876
16877 \begin_inset Quotes erd
16878 \end_inset
16879
16880 .
16881  By default, LyX will output 
16882 \begin_inset Quotes eld
16883 \end_inset
16884
16885
16886 \begin_inset Flex Code
16887 status collapsed
16888
16889 \begin_layout Plain Layout
16890
16891 \lang english
16892 class=`layoutname'
16893 \end_layout
16894
16895 \end_inset
16896
16897
16898 \begin_inset Quotes erd
16899 \end_inset
16900
16901 , where 
16902 \begin_inset Flex Code
16903 status collapsed
16904
16905 \begin_layout Plain Layout
16906
16907 \lang english
16908 layoutname
16909 \end_layout
16910
16911 \end_inset
16912
16913  is the LyX name of the layout, made lowercase, for example: chapter.
16914  This should 
16915 \emph on
16916 not
16917 \emph default
16918  contain any style information.
16919  Use 
16920 \begin_inset Flex Code
16921 status collapsed
16922
16923 \begin_layout Plain Layout
16924
16925 \lang english
16926 HTMLStyle
16927 \end_layout
16928
16929 \end_inset
16930
16931  for that purpose.
16932 \end_layout
16933
16934 \begin_layout Description
16935
16936 \lang english
16937 \begin_inset Flex Code
16938 status collapsed
16939
16940 \begin_layout Plain Layout
16941
16942 \lang english
16943 HTMLForceCSS
16944 \end_layout
16945
16946 \end_inset
16947
16948  [
16949 \begin_inset Flex Code
16950 status collapsed
16951
16952 \begin_layout Plain Layout
16953
16954 \emph on
16955 \lang english
16956 0
16957 \end_layout
16958
16959 \end_inset
16960
16961 ,
16962 \begin_inset space \thinspace{}
16963 \end_inset
16964
16965
16966 \begin_inset Flex Code
16967 status collapsed
16968
16969 \begin_layout Plain Layout
16970
16971 \lang english
16972 1
16973 \end_layout
16974
16975 \end_inset
16976
16977 ] Whether to output the default CSS information LyX generates for this layout,
16978  even if additional information is explicitly provided via 
16979 \begin_inset Flex Code
16980 status collapsed
16981
16982 \begin_layout Plain Layout
16983
16984 \lang english
16985 HTMLStyle
16986 \end_layout
16987
16988 \end_inset
16989
16990 .
16991  Setting this to 
16992 \begin_inset Flex Code
16993 status collapsed
16994
16995 \begin_layout Plain Layout
16996
16997 \lang english
16998 1
16999 \end_layout
17000
17001 \end_inset
17002
17003  allows you to alter or augment the generated CSS, rather than to override
17004  it completely.
17005  Default is 
17006 \begin_inset Flex Code
17007 status collapsed
17008
17009 \begin_layout Plain Layout
17010
17011 \lang english
17012 0
17013 \end_layout
17014
17015 \end_inset
17016
17017 .
17018 \end_layout
17019
17020 \begin_layout Description
17021
17022 \lang english
17023 \begin_inset Flex Code
17024 status collapsed
17025
17026 \begin_layout Plain Layout
17027
17028 \lang english
17029 HTMLItem
17030 \end_layout
17031
17032 \end_inset
17033
17034  [
17035 \begin_inset Flex Code
17036 status collapsed
17037
17038 \begin_layout Plain Layout
17039
17040 \lang english
17041 string
17042 \end_layout
17043
17044 \end_inset
17045
17046 ] The tag to be used for individual paragraphs of environments, replacing
17047  
17048 \begin_inset Flex Code
17049 status collapsed
17050
17051 \begin_layout Plain Layout
17052
17053 \lang english
17054 itemtag
17055 \end_layout
17056
17057 \end_inset
17058
17059  in the examples above.
17060  Defaults to 
17061 \begin_inset Flex Code
17062 status collapsed
17063
17064 \begin_layout Plain Layout
17065
17066 \lang english
17067 div
17068 \end_layout
17069
17070 \end_inset
17071
17072 .
17073 \end_layout
17074
17075 \begin_layout Description
17076
17077 \lang english
17078 \begin_inset Flex Code
17079 status collapsed
17080
17081 \begin_layout Plain Layout
17082
17083 \lang english
17084 HTMLItemAttr
17085 \end_layout
17086
17087 \end_inset
17088
17089  [
17090 \begin_inset Flex Code
17091 status collapsed
17092
17093 \begin_layout Plain Layout
17094
17095 \lang english
17096 string
17097 \end_layout
17098
17099 \end_inset
17100
17101 ] Attributes for the item tag.
17102  Defaults to 
17103 \begin_inset Quotes eld
17104 \end_inset
17105
17106
17107 \begin_inset Flex Code
17108 status collapsed
17109
17110 \begin_layout Plain Layout
17111
17112 \lang english
17113 class=`layoutname_item'
17114 \end_layout
17115
17116 \end_inset
17117
17118
17119 \begin_inset Quotes erd
17120 \end_inset
17121
17122 .
17123  This should 
17124 \emph on
17125 not
17126 \emph default
17127  contain any style information.
17128  Use 
17129 \begin_inset Flex Code
17130 status collapsed
17131
17132 \begin_layout Plain Layout
17133
17134 \lang english
17135 HTMLStyle
17136 \end_layout
17137
17138 \end_inset
17139
17140  for that purpose.
17141 \end_layout
17142
17143 \begin_layout Description
17144
17145 \lang english
17146 \begin_inset Flex Code
17147 status collapsed
17148
17149 \begin_layout Plain Layout
17150
17151 \lang english
17152 HTMLLabel
17153 \end_layout
17154
17155 \end_inset
17156
17157  [
17158 \begin_inset Flex Code
17159 status collapsed
17160
17161 \begin_layout Plain Layout
17162
17163 \lang english
17164 string
17165 \end_layout
17166
17167 \end_inset
17168
17169 ] The tag to be used for paragraph and item labels, replacing 
17170 \begin_inset Flex Code
17171 status collapsed
17172
17173 \begin_layout Plain Layout
17174
17175 \lang english
17176 labeltag
17177 \end_layout
17178
17179 \end_inset
17180
17181  in the examples above.
17182  Defaults to 
17183 \begin_inset Flex Code
17184 status collapsed
17185
17186 \begin_layout Plain Layout
17187
17188 \lang english
17189 span
17190 \end_layout
17191
17192 \end_inset
17193
17194 , unless 
17195 \begin_inset Flex Code
17196 status collapsed
17197
17198 \begin_layout Plain Layout
17199
17200 \lang english
17201 LabelType
17202 \end_layout
17203
17204 \end_inset
17205
17206  is either 
17207 \begin_inset Flex Code
17208 status collapsed
17209
17210 \begin_layout Plain Layout
17211
17212 \lang english
17213 Top_Environment
17214 \end_layout
17215
17216 \end_inset
17217
17218  or 
17219 \begin_inset Flex Code
17220 status collapsed
17221
17222 \begin_layout Plain Layout
17223
17224 \lang english
17225 Centered_Top_Environment
17226 \end_layout
17227
17228 \end_inset
17229
17230 , in which case it defaults to 
17231 \begin_inset Flex Code
17232 status collapsed
17233
17234 \begin_layout Plain Layout
17235
17236 \lang english
17237 div
17238 \end_layout
17239
17240 \end_inset
17241
17242 .
17243 \end_layout
17244
17245 \begin_layout Description
17246
17247 \lang english
17248 \begin_inset Flex Code
17249 status collapsed
17250
17251 \begin_layout Plain Layout
17252
17253 \lang english
17254 HTMLLabelAttr
17255 \end_layout
17256
17257 \end_inset
17258
17259  [
17260 \begin_inset Flex Code
17261 status collapsed
17262
17263 \begin_layout Plain Layout
17264
17265 \lang english
17266 string
17267 \end_layout
17268
17269 \end_inset
17270
17271 ] Attributes for the label tag.
17272  Defaults to 
17273 \begin_inset Quotes eld
17274 \end_inset
17275
17276
17277 \begin_inset Flex Code
17278 status collapsed
17279
17280 \begin_layout Plain Layout
17281
17282 \lang english
17283 class=`layoutname_label'
17284 \end_layout
17285
17286 \end_inset
17287
17288
17289 \begin_inset Quotes erd
17290 \end_inset
17291
17292 .
17293  This should 
17294 \emph on
17295 not
17296 \emph default
17297  contain any style information.
17298  Use 
17299 \begin_inset Flex Code
17300 status collapsed
17301
17302 \begin_layout Plain Layout
17303
17304 \lang english
17305 HTMLStyle
17306 \end_layout
17307
17308 \end_inset
17309
17310  for that purpose.
17311 \end_layout
17312
17313 \begin_layout Description
17314
17315 \lang english
17316 \begin_inset Flex Code
17317 status collapsed
17318
17319 \begin_layout Plain Layout
17320
17321 \lang english
17322 HTMLLabelFirst
17323 \end_layout
17324
17325 \end_inset
17326
17327  [
17328 \begin_inset Flex Code
17329 status collapsed
17330
17331 \begin_layout Plain Layout
17332
17333 \emph on
17334 \lang english
17335 0
17336 \end_layout
17337
17338 \end_inset
17339
17340 ,
17341 \begin_inset space \thinspace{}
17342 \end_inset
17343
17344
17345 \begin_inset Flex Code
17346 status collapsed
17347
17348 \begin_layout Plain Layout
17349
17350 \lang english
17351 1
17352 \end_layout
17353
17354 \end_inset
17355
17356 ] Meaningful only for list-like environments, this tag controls whether
17357  the label tag is output before or inside the item tag.
17358  This is used, for example, in the description environment, where we want
17359  `
17360 \begin_inset Flex Code
17361 status collapsed
17362
17363 \begin_layout Plain Layout
17364
17365 \lang english
17366 <dt>\SpecialChar \ldots{}
17367 </dt><dd>\SpecialChar \ldots{}
17368 </dd>
17369 \end_layout
17370
17371 \end_inset
17372
17373 .
17374  Default is 
17375 \begin_inset Flex Code
17376 status collapsed
17377
17378 \begin_layout Plain Layout
17379
17380 \lang english
17381 0
17382 \end_layout
17383
17384 \end_inset
17385
17386 : The label tag is output inside the item tag.
17387 \end_layout
17388
17389 \begin_layout Description
17390
17391 \lang english
17392 \begin_inset Flex Code
17393 status collapsed
17394
17395 \begin_layout Plain Layout
17396
17397 \lang english
17398 HTMLPreamble
17399 \end_layout
17400
17401 \end_inset
17402
17403  Information to be output in the 
17404 \begin_inset Flex Code
17405 status collapsed
17406
17407 \begin_layout Plain Layout
17408
17409 \lang english
17410 <head>
17411 \end_layout
17412
17413 \end_inset
17414
17415  section when this style is used.
17416  This might, for example, be used to include a 
17417 \begin_inset Flex Code
17418 status collapsed
17419
17420 \begin_layout Plain Layout
17421
17422 \lang english
17423 <script>
17424 \end_layout
17425
17426 \end_inset
17427
17428  block defining an 
17429 \begin_inset Flex Code
17430 status collapsed
17431
17432 \begin_layout Plain Layout
17433
17434 \lang english
17435 onclick
17436 \end_layout
17437
17438 \end_inset
17439
17440  handler.
17441 \end_layout
17442
17443 \begin_layout Description
17444
17445 \lang english
17446 \begin_inset Flex Code
17447 status collapsed
17448
17449 \begin_layout Plain Layout
17450
17451 \lang english
17452 HTMLStyle
17453 \end_layout
17454
17455 \end_inset
17456
17457  CSS style information to be included when this style is used.
17458  Note that this will automatically be wrapped in a layout-generated 
17459 \begin_inset Flex Code
17460 status collapsed
17461
17462 \begin_layout Plain Layout
17463
17464 \lang english
17465 <style>
17466 \end_layout
17467
17468 \end_inset
17469
17470  block, so only the CSS itself need be included.
17471 \end_layout
17472
17473 \begin_layout Description
17474
17475 \lang english
17476 \begin_inset Flex Code
17477 status collapsed
17478
17479 \begin_layout Plain Layout
17480
17481 \lang english
17482 HTMLTag
17483 \end_layout
17484
17485 \end_inset
17486
17487  [
17488 \begin_inset Flex Code
17489 status collapsed
17490
17491 \begin_layout Plain Layout
17492
17493 \lang english
17494 string
17495 \end_layout
17496
17497 \end_inset
17498
17499 ] The tag to be used for the main label, replacing 
17500 \begin_inset Flex Code
17501 status collapsed
17502
17503 \begin_layout Plain Layout
17504
17505 \lang english
17506 tag
17507 \end_layout
17508
17509 \end_inset
17510
17511  in the examples above.
17512  Defaults to 
17513 \begin_inset Flex Code
17514 status collapsed
17515
17516 \begin_layout Plain Layout
17517
17518 \lang english
17519 div
17520 \end_layout
17521
17522 \end_inset
17523
17524 .
17525 \end_layout
17526
17527 \begin_layout Description
17528
17529 \lang english
17530 \begin_inset Flex Code
17531 status collapsed
17532
17533 \begin_layout Plain Layout
17534
17535 \lang english
17536 HTMLTitle
17537 \end_layout
17538
17539 \end_inset
17540
17541  [
17542 \begin_inset Flex Code
17543 status collapsed
17544
17545 \begin_layout Plain Layout
17546
17547 \emph on
17548 \lang english
17549 0
17550 \end_layout
17551
17552 \end_inset
17553
17554 ,
17555 \begin_inset space \thinspace{}
17556 \end_inset
17557
17558
17559 \begin_inset Flex Code
17560 status collapsed
17561
17562 \begin_layout Plain Layout
17563
17564 \lang english
17565 1
17566 \end_layout
17567
17568 \end_inset
17569
17570 ] Marks this style as the one to be used to generate the 
17571 \begin_inset Flex Code
17572 status collapsed
17573
17574 \begin_layout Plain Layout
17575
17576 \lang english
17577 <title>
17578 \end_layout
17579
17580 \end_inset
17581
17582  tag for the XHTML file.
17583  By default, it is false.
17584  The 
17585 \begin_inset Flex Code
17586 status collapsed
17587
17588 \begin_layout Plain Layout
17589
17590 \lang english
17591 stdtitle.inc
17592 \end_layout
17593
17594 \end_inset
17595
17596  file sets it to true for the 
17597 \begin_inset Flex Code
17598 status collapsed
17599
17600 \begin_layout Plain Layout
17601
17602 \lang english
17603 title
17604 \end_layout
17605
17606 \end_inset
17607
17608  environment.
17609  
17610 \end_layout
17611
17612 \begin_layout Subsection
17613
17614 \lang english
17615 InsetLayout XHTML
17616 \end_layout
17617
17618 \begin_layout Standard
17619
17620 \lang english
17621 The XHTML output of insets can also be controlled by information in layout
17622  files.
17623 \begin_inset Foot
17624 status collapsed
17625
17626 \begin_layout Plain Layout
17627
17628 \lang english
17629 At present, this is true only for 
17630 \begin_inset Quotes eld
17631 \end_inset
17632
17633 text
17634 \begin_inset Quotes erd
17635 \end_inset
17636
17637  insets (insets you can type into) and is not true for 
17638 \begin_inset Quotes eld
17639 \end_inset
17640
17641 command
17642 \begin_inset Quotes erd
17643 \end_inset
17644
17645  insets (insets that are associated with dialog boxes).
17646 \end_layout
17647
17648 \end_inset
17649
17650  Here, too, LyX tries to provide sensible defaults, and it constructs default
17651  CSS style rules.
17652  But everything can be customized.
17653 \end_layout
17654
17655 \begin_layout Standard
17656
17657 \lang english
17658 The XHTML LyX outputs for an inset has the following form:
17659 \end_layout
17660
17661 \begin_layout LyX-Code
17662
17663 \lang english
17664 <tag attr=
17665 \begin_inset Quotes erd
17666 \end_inset
17667
17668 value
17669 \begin_inset Quotes erd
17670 \end_inset
17671
17672 >
17673 \end_layout
17674
17675 \begin_layout LyX-Code
17676
17677 \lang english
17678 <labeltag>Label</labeltag>
17679 \end_layout
17680
17681 \begin_layout LyX-Code
17682
17683 \lang english
17684 <innertag attr=
17685 \begin_inset Quotes erd
17686 \end_inset
17687
17688 value
17689 \begin_inset Quotes erd
17690 \end_inset
17691
17692 >Contents of the inset.</innertag>
17693 \end_layout
17694
17695 \begin_layout LyX-Code
17696
17697 \lang english
17698 </tag>
17699 \end_layout
17700
17701 \begin_layout Standard
17702
17703 \lang english
17704 If the inset permits multiple paragraphs---that is, if 
17705 \begin_inset Flex Code
17706 status collapsed
17707
17708 \begin_layout Plain Layout
17709
17710 \lang english
17711 MultiPar
17712 \end_layout
17713
17714 \end_inset
17715
17716  is true---then the contents of the inset will itself be output as paragraphs
17717  formatted according to the styles used for those paragraphs (standard,
17718  quote, and the like).
17719  The label tag is of course omitted if the paragraph does not have a label
17720  and, at present, is always 
17721 \begin_inset Flex Code
17722 status collapsed
17723
17724 \begin_layout Plain Layout
17725
17726 \lang english
17727 span
17728 \end_layout
17729
17730 \end_inset
17731
17732 .
17733  The inner tag is optional and, by default, does not appear.
17734 \end_layout
17735
17736 \begin_layout Standard
17737
17738 \lang english
17739 The specific tags and attributes output for each inset can be controlled
17740  by means of the following layout tags.
17741 \end_layout
17742
17743 \begin_layout Description
17744
17745 \lang english
17746 \begin_inset Flex Code
17747 status collapsed
17748
17749 \begin_layout Plain Layout
17750
17751 \lang english
17752 HTMLAttr
17753 \end_layout
17754
17755 \end_inset
17756
17757  [
17758 \begin_inset Flex Code
17759 status collapsed
17760
17761 \begin_layout Plain Layout
17762
17763 \lang english
17764 string
17765 \end_layout
17766
17767 \end_inset
17768
17769 ] Specifies attribute information to be output with the main tag.
17770  For example, 
17771 \begin_inset Quotes eld
17772 \end_inset
17773
17774
17775 \begin_inset Flex Code
17776 status collapsed
17777
17778 \begin_layout Plain Layout
17779
17780 \lang english
17781 class=`myinset' onclick=`\SpecialChar \ldots{}
17782 '
17783 \end_layout
17784
17785 \end_inset
17786
17787
17788 \begin_inset Quotes erd
17789 \end_inset
17790
17791 .
17792  By default, LyX will output 
17793 \begin_inset Quotes eld
17794 \end_inset
17795
17796
17797 \begin_inset Flex Code
17798 status collapsed
17799
17800 \begin_layout Plain Layout
17801
17802 \lang english
17803 class=`insetname'
17804 \end_layout
17805
17806 \end_inset
17807
17808
17809 \begin_inset Quotes erd
17810 \end_inset
17811
17812 , where 
17813 \begin_inset Flex Code
17814 status collapsed
17815
17816 \begin_layout Plain Layout
17817
17818 \lang english
17819 insetname
17820 \end_layout
17821
17822 \end_inset
17823
17824  is the LyX name of the inset, made lowercase and with non-alphanumeric
17825  characters converted to underscores, for example: footnote.
17826 \end_layout
17827
17828 \begin_layout Description
17829
17830 \lang english
17831 \begin_inset Flex Code
17832 status collapsed
17833
17834 \begin_layout Plain Layout
17835
17836 \lang english
17837 HTMLForceCSS
17838 \end_layout
17839
17840 \end_inset
17841
17842  [
17843 \begin_inset Flex Code
17844 status collapsed
17845
17846 \begin_layout Plain Layout
17847
17848 \emph on
17849 \lang english
17850 0
17851 \end_layout
17852
17853 \end_inset
17854
17855 ,
17856 \begin_inset space \thinspace{}
17857 \end_inset
17858
17859
17860 \begin_inset Flex Code
17861 status collapsed
17862
17863 \begin_layout Plain Layout
17864
17865 \lang english
17866 1
17867 \end_layout
17868
17869 \end_inset
17870
17871 ] Whether to output the default CSS information LyX generates for this layout,
17872  even if additional information is explicitly provided via 
17873 \begin_inset Flex Code
17874 status collapsed
17875
17876 \begin_layout Plain Layout
17877
17878 \lang english
17879 HTMLStyle
17880 \end_layout
17881
17882 \end_inset
17883
17884 .
17885  Setting this to 
17886 \begin_inset Flex Code
17887 status collapsed
17888
17889 \begin_layout Plain Layout
17890
17891 \lang english
17892 1
17893 \end_layout
17894
17895 \end_inset
17896
17897  allows you to alter or augment the generated CSS, rather than to override
17898  it completely.
17899  Default is 0.
17900 \end_layout
17901
17902 \begin_layout Description
17903
17904 \lang english
17905 \begin_inset Flex Code
17906 status collapsed
17907
17908 \begin_layout Plain Layout
17909
17910 \lang english
17911 HTMLInnerAttr
17912 \end_layout
17913
17914 \end_inset
17915
17916  [
17917 \begin_inset Flex Code
17918 status collapsed
17919
17920 \begin_layout Plain Layout
17921
17922 \lang english
17923 string
17924 \end_layout
17925
17926 \end_inset
17927
17928 ] Attributes for the inner tag.
17929  Defaults to 
17930 \begin_inset Quotes eld
17931 \end_inset
17932
17933
17934 \begin_inset Flex Code
17935 status collapsed
17936
17937 \begin_layout Plain Layout
17938
17939 \lang english
17940 class=`insetname_inner'
17941 \end_layout
17942
17943 \end_inset
17944
17945
17946 \begin_inset Quotes erd
17947 \end_inset
17948
17949 .
17950 \end_layout
17951
17952 \begin_layout Description
17953
17954 \lang english
17955 \begin_inset Flex Code
17956 status collapsed
17957
17958 \begin_layout Plain Layout
17959
17960 \lang english
17961 HTMLInnerTag
17962 \end_layout
17963
17964 \end_inset
17965
17966  [
17967 \begin_inset Flex Code
17968 status collapsed
17969
17970 \begin_layout Plain Layout
17971
17972 \lang english
17973 string
17974 \end_layout
17975
17976 \end_inset
17977
17978 ] The inner tag, replacing 
17979 \begin_inset Flex Code
17980 status collapsed
17981
17982 \begin_layout Plain Layout
17983
17984 \lang english
17985 innertag
17986 \end_layout
17987
17988 \end_inset
17989
17990  in the examples above.
17991  By default, there is none.
17992 \end_layout
17993
17994 \begin_layout Description
17995
17996 \lang english
17997 \begin_inset Flex Code
17998 status collapsed
17999
18000 \begin_layout Plain Layout
18001
18002 \lang english
18003 HTMLIsBlock
18004 \end_layout
18005
18006 \end_inset
18007
18008  [
18009 \begin_inset Flex Code
18010 status collapsed
18011
18012 \begin_layout Plain Layout
18013
18014 \lang english
18015 0
18016 \end_layout
18017
18018 \end_inset
18019
18020 ,
18021 \begin_inset space \thinspace{}
18022 \end_inset
18023
18024
18025 \begin_inset Flex Code
18026 status collapsed
18027
18028 \begin_layout Plain Layout
18029
18030 \emph on
18031 \lang english
18032 1
18033 \end_layout
18034
18035 \end_inset
18036
18037 ] Whether this inset represents a standalone block of text (such as a footnote)
18038  or instead represents material that is included in the surrounding text
18039  (such as a branch).
18040  Defaults to 1.
18041 \end_layout
18042
18043 \begin_layout Description
18044
18045 \lang english
18046 \begin_inset Flex Code
18047 status collapsed
18048
18049 \begin_layout Plain Layout
18050
18051 \lang english
18052 HTMLLabel
18053 \end_layout
18054
18055 \end_inset
18056
18057  [
18058 \begin_inset Flex Code
18059 status collapsed
18060
18061 \begin_layout Plain Layout
18062
18063 \lang english
18064 string
18065 \end_layout
18066
18067 \end_inset
18068
18069 ] A label for this inset, possibly including a reference to a counter.
18070  For example, for footnote, it might be: 
18071 \begin_inset Flex Code
18072 status collapsed
18073
18074 \begin_layout Plain Layout
18075
18076 \lang english
18077
18078 \backslash
18079 arabic{footnote}
18080 \end_layout
18081
18082 \end_inset
18083
18084 .
18085  This is optional, and there is no default.
18086 \end_layout
18087
18088 \begin_layout Description
18089
18090 \lang english
18091 \begin_inset Flex Code
18092 status collapsed
18093
18094 \begin_layout Plain Layout
18095
18096 \lang english
18097 HTMLPreamble
18098 \end_layout
18099
18100 \end_inset
18101
18102  Information to be output in the 
18103 \begin_inset Flex Code
18104 status collapsed
18105
18106 \begin_layout Plain Layout
18107
18108 \lang english
18109 <head>
18110 \end_layout
18111
18112 \end_inset
18113
18114  section when this style is used.
18115  This might, for example, be used to include a 
18116 \begin_inset Flex Code
18117 status collapsed
18118
18119 \begin_layout Plain Layout
18120
18121 \lang english
18122 <script>
18123 \end_layout
18124
18125 \end_inset
18126
18127  block defining an 
18128 \begin_inset Flex Code
18129 status collapsed
18130
18131 \begin_layout Plain Layout
18132
18133 \lang english
18134 onclick
18135 \end_layout
18136
18137 \end_inset
18138
18139  handler.
18140 \end_layout
18141
18142 \begin_layout Description
18143
18144 \lang english
18145 \begin_inset Flex Code
18146 status collapsed
18147
18148 \begin_layout Plain Layout
18149
18150 \lang english
18151 HTMLStyle
18152 \end_layout
18153
18154 \end_inset
18155
18156  CSS style information to be included when this style is used.
18157  Note that this will automatically be wrapped in a layout-generated 
18158 \begin_inset Flex Code
18159 status collapsed
18160
18161 \begin_layout Plain Layout
18162
18163 \lang english
18164 <style>
18165 \end_layout
18166
18167 \end_inset
18168
18169  block, so only the CSS itself need be included.
18170 \end_layout
18171
18172 \begin_layout Description
18173
18174 \lang english
18175 \begin_inset Flex Code
18176 status collapsed
18177
18178 \begin_layout Plain Layout
18179
18180 \lang english
18181 HTMLTag
18182 \end_layout
18183
18184 \end_inset
18185
18186  [
18187 \begin_inset Flex Code
18188 status collapsed
18189
18190 \begin_layout Plain Layout
18191
18192 \lang english
18193 string
18194 \end_layout
18195
18196 \end_inset
18197
18198 ] The tag to be used for the main label, replacing 
18199 \begin_inset Flex Code
18200 status collapsed
18201
18202 \begin_layout Plain Layout
18203
18204 \lang english
18205 tag
18206 \end_layout
18207
18208 \end_inset
18209
18210  in the examples above.
18211  The default depends upon the setting of 
18212 \begin_inset Flex Code
18213 status collapsed
18214
18215 \begin_layout Plain Layout
18216
18217 \lang english
18218 MultiPar
18219 \end_layout
18220
18221 \end_inset
18222
18223 : If 
18224 \begin_inset Flex Code
18225 status collapsed
18226
18227 \begin_layout Plain Layout
18228
18229 \lang english
18230 MultiPar
18231 \end_layout
18232
18233 \end_inset
18234
18235  is true, the default is 
18236 \begin_inset Flex Code
18237 status collapsed
18238
18239 \begin_layout Plain Layout
18240
18241 \lang english
18242 div
18243 \end_layout
18244
18245 \end_inset
18246
18247 ; if it is false, the default is 
18248 \begin_inset Flex Code
18249 status collapsed
18250
18251 \begin_layout Plain Layout
18252
18253 \lang english
18254 span
18255 \end_layout
18256
18257 \end_inset
18258
18259 .
18260 \end_layout
18261
18262 \begin_layout Subsection
18263
18264 \lang english
18265 Float XHTML
18266 \end_layout
18267
18268 \begin_layout Standard
18269
18270 \lang english
18271 The XHTML output for floats too can be controlled by layout information.
18272  The output has the following form:
18273 \end_layout
18274
18275 \begin_layout LyX-Code
18276
18277 \lang english
18278 <tag attr=
18279 \begin_inset Quotes erd
18280 \end_inset
18281
18282 value
18283 \begin_inset Quotes erd
18284 \end_inset
18285
18286 >
18287 \end_layout
18288
18289 \begin_layout LyX-Code
18290
18291 \lang english
18292 Contents of the float.
18293 \end_layout
18294
18295 \begin_layout LyX-Code
18296
18297 \lang english
18298 </tag>
18299 \end_layout
18300
18301 \begin_layout Standard
18302
18303 \lang english
18304 The caption, if there is one, is a separate inset and will be output as
18305  such.
18306  Its appearance can be controlled via the InsetLayout for caption insets.
18307  
18308 \end_layout
18309
18310 \begin_layout Description
18311
18312 \lang english
18313 \begin_inset Flex Code
18314 status collapsed
18315
18316 \begin_layout Plain Layout
18317
18318 \lang english
18319 HTMLAttr
18320 \end_layout
18321
18322 \end_inset
18323
18324  [
18325 \begin_inset Flex Code
18326 status collapsed
18327
18328 \begin_layout Plain Layout
18329
18330 \lang english
18331 string
18332 \end_layout
18333
18334 \end_inset
18335
18336 ] Specifies attribute information to be output with the main tag.
18337  For example, 
18338 \begin_inset Quotes eld
18339 \end_inset
18340
18341
18342 \begin_inset Flex Code
18343 status collapsed
18344
18345 \begin_layout Plain Layout
18346
18347 \lang english
18348 class=`myfloat' onclick=`\SpecialChar \ldots{}
18349 '
18350 \end_layout
18351
18352 \end_inset
18353
18354
18355 \begin_inset Quotes erd
18356 \end_inset
18357
18358 .
18359  By default, LyX will output 
18360 \begin_inset Quotes eld
18361 \end_inset
18362
18363
18364 \begin_inset Flex Code
18365 status collapsed
18366
18367 \begin_layout Plain Layout
18368
18369 \lang english
18370 class=`float float-floattype'
18371 \end_layout
18372
18373 \end_inset
18374
18375
18376 \begin_inset Quotes erd
18377 \end_inset
18378
18379 , where 
18380 \begin_inset Flex Code
18381 status collapsed
18382
18383 \begin_layout Plain Layout
18384
18385 \lang english
18386 floattype
18387 \end_layout
18388
18389 \end_inset
18390
18391  is LyX's name for this type of float, as determined by the float declaration
18392  (see 
18393 \begin_inset CommandInset ref
18394 LatexCommand ref
18395 reference "sub:Gleitobjekte"
18396
18397 \end_inset
18398
18399 ), though made lowercase and with non-alphanumeric characters converted
18400  to underscores, for example: float-table.
18401 \end_layout
18402
18403 \begin_layout Description
18404
18405 \lang english
18406 \begin_inset Flex Code
18407 status collapsed
18408
18409 \begin_layout Plain Layout
18410
18411 \lang english
18412 HTMLStyle
18413 \end_layout
18414
18415 \end_inset
18416
18417  CSS style information to be included when this float is used.
18418  Note that this will automatically be wrapped in a layout-generated 
18419 \begin_inset Flex Code
18420 status collapsed
18421
18422 \begin_layout Plain Layout
18423
18424 \lang english
18425 <style>
18426 \end_layout
18427
18428 \end_inset
18429
18430  block, so only the CSS itself need be included.
18431 \end_layout
18432
18433 \begin_layout Description
18434
18435 \lang english
18436 \begin_inset Flex Code
18437 status collapsed
18438
18439 \begin_layout Plain Layout
18440
18441 \lang english
18442 HTMLTag
18443 \end_layout
18444
18445 \end_inset
18446
18447  [
18448 \begin_inset Flex Code
18449 status collapsed
18450
18451 \begin_layout Plain Layout
18452
18453 \lang english
18454 string
18455 \end_layout
18456
18457 \end_inset
18458
18459 ] The tag to be used for this float, replacing 
18460 \begin_inset Quotes eld
18461 \end_inset
18462
18463
18464 \begin_inset Flex Code
18465 status collapsed
18466
18467 \begin_layout Plain Layout
18468
18469 \lang english
18470 tag
18471 \end_layout
18472
18473 \end_inset
18474
18475
18476 \begin_inset Quotes erd
18477 \end_inset
18478
18479  in the example above.
18480  The default is 
18481 \begin_inset Flex Code
18482 status collapsed
18483
18484 \begin_layout Plain Layout
18485
18486 \lang english
18487 div
18488 \end_layout
18489
18490 \end_inset
18491
18492  and will rarely need changing.
18493 \end_layout
18494
18495 \begin_layout Subsection
18496
18497 \lang english
18498 Bibliography formatting
18499 \end_layout
18500
18501 \begin_layout Standard
18502
18503 \lang english
18504 The bibliography can be formatted using 
18505 \begin_inset Flex Code
18506 status collapsed
18507
18508 \begin_layout Plain Layout
18509
18510 \lang english
18511 CiteFormat
18512 \end_layout
18513
18514 \end_inset
18515
18516  blocks.
18517  See Section 
18518 \begin_inset CommandInset ref
18519 LatexCommand ref
18520 reference "sub:Citation-format-description"
18521
18522 \end_inset
18523
18524  for the details.
18525 \end_layout
18526
18527 \begin_layout Subsection
18528
18529 \lang english
18530 LyX-generated CSS
18531 \end_layout
18532
18533 \begin_layout Standard
18534
18535 \lang english
18536 We have several times mentioned that LyX will generate default CSS style
18537  rules for both insets and paragraph styles, based upon the other layout
18538  information that is provided.
18539  In this section, we shall say a word about which layout information LyX
18540  uses and how.
18541 \end_layout
18542
18543 \begin_layout Standard
18544
18545 \lang english
18546 At present, LyX auto-generates CSS only for font information, making use
18547  of the 
18548 \begin_inset Flex Code
18549 status collapsed
18550
18551 \begin_layout Plain Layout
18552
18553 \lang english
18554 Family
18555 \end_layout
18556
18557 \end_inset
18558
18559
18560 \begin_inset Flex Code
18561 status collapsed
18562
18563 \begin_layout Plain Layout
18564
18565 \lang english
18566 Series
18567 \end_layout
18568
18569 \end_inset
18570
18571
18572 \begin_inset Flex Code
18573 status collapsed
18574
18575 \begin_layout Plain Layout
18576
18577 \lang english
18578 Shape
18579 \end_layout
18580
18581 \end_inset
18582
18583 , and 
18584 \begin_inset Flex Code
18585 status collapsed
18586
18587 \begin_layout Plain Layout
18588
18589 \lang english
18590 Size
18591 \end_layout
18592
18593 \end_inset
18594
18595  specified in the 
18596 \begin_inset Flex Code
18597 status collapsed
18598
18599 \begin_layout Plain Layout
18600
18601 \lang english
18602 Font
18603 \end_layout
18604
18605 \end_inset
18606
18607  declaration.
18608  (See 
18609 \begin_inset CommandInset ref
18610 LatexCommand ref
18611 reference "sub:Beschreibung-des-Zeichensatzes"
18612
18613 \end_inset
18614
18615 .) The translation is mostly straightforward and obvious.
18616  For example, 
18617 \begin_inset Quotes eld
18618 \end_inset
18619
18620
18621 \begin_inset Flex Code
18622 status collapsed
18623
18624 \begin_layout Plain Layout
18625
18626 \lang english
18627 Family Sans
18628 \end_layout
18629
18630 \end_inset
18631
18632
18633 \begin_inset Quotes erd
18634 \end_inset
18635
18636  becomes 
18637 \begin_inset Quotes eld
18638 \end_inset
18639
18640
18641 \begin_inset Flex Code
18642 status collapsed
18643
18644 \begin_layout Plain Layout
18645
18646 \lang english
18647 font-family: sans-serif;
18648 \end_layout
18649
18650 \end_inset
18651
18652
18653 \begin_inset Quotes erd
18654 \end_inset
18655
18656 .
18657  The correspondence of LyX sizes and CSS sizes is a little less obvious
18658  but nonetheless intuitive.
18659  See the 
18660 \begin_inset Flex Code
18661 status collapsed
18662
18663 \begin_layout Plain Layout
18664
18665 \lang english
18666 getSizeCSS()
18667 \end_layout
18668
18669 \end_inset
18670
18671  function in 
18672 \begin_inset Flex URL
18673 status collapsed
18674
18675 \begin_layout Plain Layout
18676
18677 src/FontInfo.cpp
18678 \end_layout
18679
18680 \end_inset
18681
18682  for the details.
18683 \end_layout
18684
18685 \begin_layout Chapter
18686 Externes Material einfügen
18687 \begin_inset CommandInset label
18688 LatexCommand label
18689 name "cha:Externes-Material-einfügen"
18690
18691 \end_inset
18692
18693
18694 \end_layout
18695
18696 \begin_layout Standard
18697
18698 \lang english
18699 \begin_inset Box Shadowbox
18700 position "t"
18701 hor_pos "c"
18702 has_inner_box 1
18703 inner_pos "t"
18704 use_parbox 0
18705 use_makebox 0
18706 width "100col%"
18707 special "none"
18708 height "1in"
18709 height_special "totalheight"
18710 status open
18711
18712 \begin_layout Plain Layout
18713
18714 \lang english
18715 WARNUNG: This portion of the documentation has not been updated for some
18716  time.
18717  We certainly hope that it is still accurate, but there are no guarantees.
18718 \end_layout
18719
18720 \end_inset
18721
18722
18723 \end_layout
18724
18725 \begin_layout Standard
18726
18727 \lang english
18728 The use of material from sources external to LyX is covered in detail in
18729  the 
18730 \emph on
18731 Embedded Objects
18732 \emph default
18733  manual.
18734  This part of the manual covers what needs to happen behind the scenes for
18735  new sorts of material to be included.
18736 \end_layout
18737
18738 \begin_layout Section
18739 Wie funktioniert das?
18740 \end_layout
18741
18742 \begin_layout Standard
18743 Die Einfügung 
18744 \family sans
18745 Externes
18746 \begin_inset space \space{}
18747 \end_inset
18748
18749 Material
18750 \family default
18751  basiert auf dem Konzept der Vorlage.
18752  Eine solche Vorlage ist eine Spezifikation, wie LyX mit einer bestimmten
18753  Sorte von Material umgehen soll.
18754  Derzeit gehören zu LyX derartige Vorlagen für XFig-Abbildungen, Dia-Diagramme,
18755  diverse Abbildungen im Rasterformat, Gnuplot und noch ein paar mehr.
18756  Die vollständige Liste sehen Sie in 
18757 \family sans
18758 Einfügen\SpecialChar \menuseparator
18759 Datei\SpecialChar \menuseparator
18760 Externes
18761 \begin_inset space \space{}
18762 \end_inset
18763
18764 Material
18765 \family default
18766 .
18767 \end_layout
18768
18769 \begin_layout Standard
18770 Darüberhinaus ist es möglich, durch eigene Vorlagen beliebige andere Formate
18771  einzubinden.
18772  Wir werden weiter unten beschreiben, was genau Sie dazu machen müssen und
18773  hoffen, dass Sie derartig erstellte Vorlagen an das LyX-Team schicken,
18774  damit sie in kommenden LyX-Versionen integriert werden können.
18775 \end_layout
18776
18777 \begin_layout Standard
18778 Ein weiteres Merkmal der Idee der externen Einfügung ist die Unterscheidung
18779  zwischen der ursprünglichen Datei, die als Grundlage für das eingefügte
18780  Material dient, und der erzeugten Datei, die dann letztendlich in Ihr Dokument
18781  eingebunden wird.
18782  Wir wollen dies am Beispiel einer XFig-Abbildung erläutern.
18783 \end_layout
18784
18785 \begin_layout Standard
18786 Das Programm XFig bearbeitet eine speziell formatierte Datei mit der Endung
18787  
18788 \family typewriter
18789 .fig
18790 \family default
18791 .
18792  In XFig können Sie Ihre Abbildung editieren und ändern, und zum Schluss
18793  speichern Sie diese 
18794 \family typewriter
18795 .fig
18796 \family default
18797 -Datei.
18798  Wenn Sie nun eine derartige Abbildung in LyX einbinden wollen, müssen Sie
18799  zunächst 
18800 \family typewriter
18801 transfig
18802 \family default
18803  starten, um eine PostScript-Datei zu erzeugen, die von LaTeX eingebunden
18804  werden kann.
18805  In diesem Fall ist also die 
18806 \family typewriter
18807 .fig
18808 \family default
18809 -Datei die oben erwähnte Originaldatei, und die 
18810 \family typewriter
18811 .ps-
18812 \family default
18813 Datei die tatsächlich eingebundene Datei.
18814 \end_layout
18815
18816 \begin_layout Standard
18817 Diese Unterscheidung ist wichtig, denn Sie erlaubt das einfache Ändern und
18818  Aktualisieren des Materials, während Sie an Ihrem Text schreiben.
18819  Außerdem ist erst so die Flexibilität gegeben, die benötigt wird, um unterschie
18820 dliche Exportformate für die LyX-Datei zu ermöglichen.
18821 \end_layout
18822
18823 \begin_layout Standard
18824 So ist es im Falle einer Ausgabe als reiner (ASCII) Text sicher nicht sinnvoll,
18825  eine PostScript-Datei im Rohformat einzubinden.
18826  In diesem Fall wird dann entweder nur eine Referenz auf die Bilddatei angegeben
18827 , oder aber es wird ein Konverter gestartet, der eine ASCII-Darstellung
18828  erzeugt, die in etwa so aussieht wie die ursprüngliche Grafik.
18829  Genau dies ist mit der Einfügung 
18830 \family sans
18831 Externes Material
18832 \family default
18833  möglich, denn sie kennt all die notwendigen Befehle für derartige Konvertierung
18834 en (sofern sie von LyX unterstützt werden).
18835 \end_layout
18836
18837 \begin_layout Standard
18838 Darüberhinaus erlaubt die Einfügung 
18839 \family sans
18840 Externes Material
18841 \family default
18842  aber auch die einfache Integration mit externen Betrachtern und Editoren.
18843  So sind Sie bei einer XFig-Abbildung in der Lage, mit einem einigen Klick
18844  XFig zu starten, um die Abbildung zu bearbeiten oder die erstellte PostScript-D
18845 atei mit 
18846 \family typewriter
18847 ghostview
18848 \family default
18849  zu betrachten.
18850  Kein langes Herumsuchen mit Dateimanagern nach den Original- und Grafikdateien
18851  mehr, und Sie müssen sich nicht mehr an die unterschiedlichen Parameter
18852  erinnern, die vielleicht für diese Abbildung notwendig sind, um sie in
18853  der richtigen Größe zu erstellen.
18854  Sie haben ohne viel Aufwand Zugriff auf eine Vielzahl von Applikationen
18855  und können so Ihre Produktivität ungemein steigern.
18856 \end_layout
18857
18858 \begin_layout Standard
18859 LyX besitzt also die Information über eine Vielzahl von externen Programmen,
18860  um diese von Ihnen unbemerkt nutzen zu können und Ihnen so den größtmöglichen
18861  Komfort zu bieten.
18862  Und genau diese Information ist in den oben erwähnten Vorlagen gespeichert.
18863  Jede dieser Vorlagen enthält eine Liste von Befehlen und Optionen, um externe
18864  Programme zu starten, Formate zu konvertieren usw\SpecialChar \@.
18865
18866 \end_layout
18867
18868 \begin_layout Standard
18869 Ein fortgeschrittener Anwender kann mit derartigen selbst erstellten Vorlagen
18870  die Möglichkeiten von LyX stark erweitern, ohne dazu den eigentlichen Quellcode
18871  verändern zu müssen.
18872  Zwar ist dazu einiges an Arbeit notwendig, um all diese Befehle festzulegen,
18873  aber zum Glück hat das LyX-Team das in einigen Fällen ja schon getan.
18874 \end_layout
18875
18876 \begin_layout Standard
18877 Eine kleine Einschränkung gibt es aber doch: Da es wie erwähnt eine Vielzahl
18878  möglicher Exportformate für das eingefügte Material gibt, wäre es zu vermuten,
18879  dass man von LyX aus auch alle diese Formate als Vorschau ansehen kann.
18880  Das LyX-Team hat sich entschlossen, das nicht zu tun, um die Benutzerschnittste
18881 lle so einfach wie möglich zu halten.
18882  Anstatt im Dialog für jedes mögliche Exportformat einen eigenen Knopf für
18883  die Vorschau zu haben, wurde das Konzept des primären Formats eingeführt,
18884  und es gibt nur einen Schalter 
18885 \family sans
18886 in
18887 \begin_inset space \space{}
18888 \end_inset
18889
18890 Ly
18891 \begin_inset ERT
18892 status collapsed
18893
18894 \begin_layout Plain Layout
18895
18896 {}
18897 \end_layout
18898
18899 \end_inset
18900
18901 X
18902 \begin_inset space \space{}
18903 \end_inset
18904
18905 anzeigen
18906 \family default
18907 , der die Datei in genau diesem primären Format anzeigt.
18908 \end_layout
18909
18910 \begin_layout Standard
18911 Dieses Format wird durch die verwendete Dokumentenklasse festgelegt.
18912  So ist es für die meisten Klassen LaTeX, für die DocBook-Klassen ist es
18913  aber DocBook.
18914  Denken Sie also daran, dass Ihnen die Vorschau lediglich das Aussehen in
18915  diesem Hauptformat anzeigt; wenn Sie sehen wollen, wie das Ergebnis in
18916  anderen Formaten aussieht, müssen Sie wie gewohnt die Konvertierung manuell
18917  durchführen.
18918 \end_layout
18919
18920 \begin_layout Section
18921
18922 \lang english
18923 The external template configuration file
18924 \end_layout
18925
18926 \begin_layout Standard
18927
18928 \lang english
18929 It is relatively easy to add custom external template definitions to LyX.
18930  However, be aware that doing this in a careless manner most probably 
18931 \emph on
18932 will
18933 \emph default
18934  introduce an easily exploitable security hole.
18935  So before you do this, please read the discussion about security in section
18936  
18937 \begin_inset CommandInset ref
18938 LatexCommand ref
18939 reference "sec:Sicherheitshinweise"
18940
18941 \end_inset
18942
18943 .
18944 \end_layout
18945
18946 \begin_layout Standard
18947
18948 \lang english
18949 Having said that, we encourage you to submit any interesting templates that
18950  you create.
18951  
18952 \end_layout
18953
18954 \begin_layout Standard
18955
18956 \lang english
18957 The external templates are defined in the 
18958 \begin_inset Flex Code
18959 status collapsed
18960
18961 \begin_layout Plain Layout
18962
18963 \lang english
18964 LyXDir/lib/external_templates
18965 \end_layout
18966
18967 \end_inset
18968
18969  file.
18970  You can place your own version in 
18971 \begin_inset Flex Code
18972 status collapsed
18973
18974 \begin_layout Plain Layout
18975
18976 \lang english
18977 UserDir/external_templates
18978 \end_layout
18979
18980 \end_inset
18981
18982 .
18983 \end_layout
18984
18985 \begin_layout Standard
18986
18987 \lang english
18988 A typical template looks like this:
18989 \end_layout
18990
18991 \begin_layout LyX-Code
18992
18993 \lang english
18994 Template XFig
18995 \end_layout
18996
18997 \begin_layout LyX-Code
18998
18999 \lang english
19000 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
19001 \end_layout
19002
19003 \begin_layout LyX-Code
19004
19005 \lang english
19006 HelpText
19007 \end_layout
19008
19009 \begin_layout LyX-Code
19010
19011 \lang english
19012 An XFig figure.
19013 \end_layout
19014
19015 \begin_layout LyX-Code
19016
19017 \lang english
19018 HelpTextEnd
19019 \end_layout
19020
19021 \begin_layout LyX-Code
19022
19023 \lang english
19024 InputFormat fig
19025 \end_layout
19026
19027 \begin_layout LyX-Code
19028
19029 \lang english
19030 FileFilter "*.fig"
19031 \end_layout
19032
19033 \begin_layout LyX-Code
19034
19035 \lang english
19036 AutomaticProduction true
19037 \end_layout
19038
19039 \begin_layout LyX-Code
19040
19041 \lang english
19042 Transform Rotate
19043 \end_layout
19044
19045 \begin_layout LyX-Code
19046
19047 \lang english
19048 Transform Resize
19049 \end_layout
19050
19051 \begin_layout LyX-Code
19052
19053 \lang english
19054 Format LaTeX
19055 \end_layout
19056
19057 \begin_layout LyX-Code
19058
19059 \lang english
19060 TransformCommand Rotate RotationLatexCommand
19061 \end_layout
19062
19063 \begin_layout LyX-Code
19064
19065 \lang english
19066 TransformCommand Resize ResizeLatexCommand
19067 \end_layout
19068
19069 \begin_layout LyX-Code
19070
19071 \lang english
19072 Product "$$RotateFront$$ResizeFront
19073 \end_layout
19074
19075 \begin_layout LyX-Code
19076
19077 \lang english
19078          
19079 \backslash
19080
19081 \backslash
19082 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
19083 \end_layout
19084
19085 \begin_layout LyX-Code
19086
19087 \lang english
19088          $$ResizeBack$$RotateBack"
19089 \end_layout
19090
19091 \begin_layout LyX-Code
19092
19093 \lang english
19094 UpdateFormat pstex
19095 \end_layout
19096
19097 \begin_layout LyX-Code
19098
19099 \lang english
19100 UpdateResult "$$AbsPath$$Basename.pstex_t"
19101 \end_layout
19102
19103 \begin_layout LyX-Code
19104
19105 \lang english
19106 Requirement "graphicx"
19107 \end_layout
19108
19109 \begin_layout LyX-Code
19110
19111 \lang english
19112 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
19113 \end_layout
19114
19115 \begin_layout LyX-Code
19116
19117 \lang english
19118 ReferencedFile latex "$$AbsPath$$Basename.eps"
19119 \end_layout
19120
19121 \begin_layout LyX-Code
19122
19123 \lang english
19124 ReferencedFile dvi "$$AbsPath$$Basename.eps"
19125 \end_layout
19126
19127 \begin_layout LyX-Code
19128
19129 \lang english
19130 FormatEnd
19131 \end_layout
19132
19133 \begin_layout LyX-Code
19134
19135 \lang english
19136 Format PDFLaTeX
19137 \end_layout
19138
19139 \begin_layout LyX-Code
19140
19141 \lang english
19142 TransformCommand Rotate RotationLatexCommand
19143 \end_layout
19144
19145 \begin_layout LyX-Code
19146
19147 \lang english
19148 TransformCommand Resize ResizeLatexCommand
19149 \end_layout
19150
19151 \begin_layout LyX-Code
19152
19153 \lang english
19154 Product "$$RotateFront$$ResizeFront
19155 \end_layout
19156
19157 \begin_layout LyX-Code
19158
19159 \lang english
19160          
19161 \backslash
19162
19163 \backslash
19164 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
19165 \end_layout
19166
19167 \begin_layout LyX-Code
19168
19169 \lang english
19170          $$ResizeBack$$RotateBack"
19171 \end_layout
19172
19173 \begin_layout LyX-Code
19174
19175 \lang english
19176 UpdateFormat pdftex
19177 \end_layout
19178
19179 \begin_layout LyX-Code
19180
19181 \lang english
19182 UpdateResult "$$AbsPath$$Basename.pdftex_t"
19183 \end_layout
19184
19185 \begin_layout LyX-Code
19186
19187 \lang english
19188 Requirement "graphicx"
19189 \end_layout
19190
19191 \begin_layout LyX-Code
19192
19193 \lang english
19194 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
19195 \end_layout
19196
19197 \begin_layout LyX-Code
19198
19199 \lang english
19200 ReferencedFile latex "$$AbsPath$$Basename.pdf"
19201 \end_layout
19202
19203 \begin_layout LyX-Code
19204
19205 \lang english
19206 FormatEnd
19207 \end_layout
19208
19209 \begin_layout LyX-Code
19210
19211 \lang english
19212 Format Ascii
19213 \end_layout
19214
19215 \begin_layout LyX-Code
19216
19217 \lang english
19218 Product "$$Contents(
19219 \backslash
19220 "$$AbsPath$$Basename.asc
19221 \backslash
19222 ")"
19223 \end_layout
19224
19225 \begin_layout LyX-Code
19226
19227 \lang english
19228 UpdateFormat asciixfig
19229 \end_layout
19230
19231 \begin_layout LyX-Code
19232
19233 \lang english
19234 UpdateResult "$$AbsPath$$Basename.asc"
19235 \end_layout
19236
19237 \begin_layout LyX-Code
19238
19239 \lang english
19240 FormatEnd
19241 \end_layout
19242
19243 \begin_layout LyX-Code
19244
19245 \lang english
19246 Format DocBook
19247 \end_layout
19248
19249 \begin_layout LyX-Code
19250
19251 \lang english
19252 Product "<graphic fileref=
19253 \backslash
19254 "$$AbsOrRelPathMaster$$Basename.eps
19255 \backslash
19256 ">
19257 \end_layout
19258
19259 \begin_layout LyX-Code
19260
19261 \lang english
19262          </graphic>"
19263 \end_layout
19264
19265 \begin_layout LyX-Code
19266
19267 \lang english
19268 UpdateFormat eps
19269 \end_layout
19270
19271 \begin_layout LyX-Code
19272
19273 \lang english
19274 UpdateResult "$$AbsPath$$Basename.eps"
19275 \end_layout
19276
19277 \begin_layout LyX-Code
19278
19279 \lang english
19280 ReferencedFile docbook "$$AbsPath$$Basename.eps"
19281 \end_layout
19282
19283 \begin_layout LyX-Code
19284
19285 \lang english
19286 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
19287 \end_layout
19288
19289 \begin_layout LyX-Code
19290
19291 \lang english
19292 FormatEnd
19293 \end_layout
19294
19295 \begin_layout LyX-Code
19296
19297 \lang english
19298 Product "[XFig: $$FName]"
19299 \end_layout
19300
19301 \begin_layout LyX-Code
19302
19303 \lang english
19304 FormatEnd
19305 \end_layout
19306
19307 \begin_layout LyX-Code
19308
19309 \lang english
19310 TemplateEnd
19311 \end_layout
19312
19313 \begin_layout Standard
19314
19315 \lang english
19316 As you can see, the template is enclosed in 
19317 \begin_inset Flex Code
19318 status collapsed
19319
19320 \begin_layout Plain Layout
19321
19322 \lang english
19323 Template
19324 \end_layout
19325
19326 \end_inset
19327
19328  \SpecialChar \ldots{}
19329  
19330 \begin_inset Flex Code
19331 status collapsed
19332
19333 \begin_layout Plain Layout
19334
19335 \lang english
19336 TemplateEnd
19337 \end_layout
19338
19339 \end_inset
19340
19341 .
19342  It contains a header specifying some general settings and, for each supported
19343  primary document file format, a section 
19344 \begin_inset Flex Code
19345 status collapsed
19346
19347 \begin_layout Plain Layout
19348
19349 \lang english
19350 Format
19351 \end_layout
19352
19353 \end_inset
19354
19355  \SpecialChar \ldots{}
19356  
19357 \begin_inset Flex Code
19358 status collapsed
19359
19360 \begin_layout Plain Layout
19361
19362 \lang english
19363 FormatEnd
19364 \end_layout
19365
19366 \end_inset
19367
19368 .
19369 \end_layout
19370
19371 \begin_layout Subsection
19372
19373 \lang english
19374 The template header
19375 \end_layout
19376
19377 \begin_layout Description
19378
19379 \lang english
19380 \begin_inset Flex Code
19381 status collapsed
19382
19383 \begin_layout Plain Layout
19384
19385 \lang english
19386 AutomaticProduction
19387 \begin_inset space ~
19388 \end_inset
19389
19390 true|false
19391 \end_layout
19392
19393 \end_inset
19394
19395  Whether the file represented by the template must be generated by LyX.
19396  This command must occur exactly once.
19397 \end_layout
19398
19399 \begin_layout Description
19400
19401 \lang english
19402 \begin_inset Flex Code
19403 status collapsed
19404
19405 \begin_layout Plain Layout
19406
19407 \lang english
19408 FileFilter
19409 \begin_inset space ~
19410 \end_inset
19411
19412 <pattern>
19413 \end_layout
19414
19415 \end_inset
19416
19417  A glob pattern that is used in the file dialog to filter out the desired
19418  files.
19419  If there is more than one possible file extension (e.
19420 \begin_inset space \thinspace{}
19421 \end_inset
19422
19423 g.
19424 \begin_inset space \space{}
19425 \end_inset
19426
19427 tgif has 
19428 \begin_inset Flex Code
19429 status collapsed
19430
19431 \begin_layout Plain Layout
19432
19433 \lang english
19434 .obj
19435 \end_layout
19436
19437 \end_inset
19438
19439  and 
19440 \begin_inset Flex Code
19441 status collapsed
19442
19443 \begin_layout Plain Layout
19444
19445 \lang english
19446 .tgo
19447 \end_layout
19448
19449 \end_inset
19450
19451 ), use something like 
19452 \begin_inset Flex Code
19453 status collapsed
19454
19455 \begin_layout Plain Layout
19456
19457 \lang english
19458 "*.{obj,tgo}"
19459 \end_layout
19460
19461 \end_inset
19462
19463 .
19464  This command must occur exactly once.
19465 \end_layout
19466
19467 \begin_layout Description
19468
19469 \lang english
19470 \begin_inset Flex Code
19471 status collapsed
19472
19473 \begin_layout Plain Layout
19474
19475 \lang english
19476 GuiName
19477 \begin_inset space ~
19478 \end_inset
19479
19480 <guiname>
19481 \end_layout
19482
19483 \end_inset
19484
19485  The text that is displayed on the button.
19486  This command must occur exactly once.
19487 \end_layout
19488
19489 \begin_layout Description
19490
19491 \lang english
19492 \begin_inset Flex Code
19493 status collapsed
19494
19495 \begin_layout Plain Layout
19496
19497 \lang english
19498 HelpText
19499 \begin_inset space ~
19500 \end_inset
19501
19502 <text>
19503 \begin_inset space ~
19504 \end_inset
19505
19506 HelpTextEnd
19507 \end_layout
19508
19509 \end_inset
19510
19511  The help text that is used in the External dialog.
19512  Provide enough information to explain to the user just what the template
19513  can provide him with.
19514  This command must occur exactly once.
19515 \end_layout
19516
19517 \begin_layout Description
19518
19519 \lang english
19520 \begin_inset Flex Code
19521 status collapsed
19522
19523 \begin_layout Plain Layout
19524
19525 \lang english
19526 InputFormat
19527 \begin_inset space ~
19528 \end_inset
19529
19530 <format>
19531 \end_layout
19532
19533 \end_inset
19534
19535  The file format of the original file.
19536  This must be the name of a format that is known to LyX (see section
19537 \begin_inset space ~
19538 \end_inset
19539
19540
19541 \lang ngerman
19542
19543 \begin_inset CommandInset ref
19544 LatexCommand ref
19545 reference "sec:Formate"
19546
19547 \end_inset
19548
19549
19550 \lang english
19551 ).
19552  Use 
19553 \begin_inset Quotes eld
19554 \end_inset
19555
19556
19557 \begin_inset Flex Code
19558 status collapsed
19559
19560 \begin_layout Plain Layout
19561
19562 \lang english
19563 *
19564 \end_layout
19565
19566 \end_inset
19567
19568
19569 \begin_inset Quotes erd
19570 \end_inset
19571
19572  if the template can handle original files of more than one format.
19573  LyX will attempt to interrogate the file itself in order to deduce its
19574  format in this case.
19575  This command must occur exactly once.
19576 \end_layout
19577
19578 \begin_layout Description
19579
19580 \lang english
19581 \begin_inset Flex Code
19582 status collapsed
19583
19584 \begin_layout Plain Layout
19585
19586 \lang english
19587 Template
19588 \begin_inset space ~
19589 \end_inset
19590
19591 <id>
19592 \end_layout
19593
19594 \end_inset
19595
19596  A unique name for the template.
19597  It must not contain substitution macros (see below).
19598 \end_layout
19599
19600 \begin_layout Description
19601
19602 \lang english
19603 \begin_inset Flex Code
19604 status collapsed
19605
19606 \begin_layout Plain Layout
19607
19608 \lang english
19609 Transform
19610 \begin_inset space ~
19611 \end_inset
19612
19613 Rotate|Resize|Clip|Extra
19614 \end_layout
19615
19616 \end_inset
19617
19618  This command specifies which transformations are supported by this template.
19619  It may occur zero or more times.
19620  This command enables the corresponding tabs in the external dialog.
19621  Each 
19622 \begin_inset Flex Code
19623 status collapsed
19624
19625 \begin_layout Plain Layout
19626
19627 \lang english
19628 Transform
19629 \end_layout
19630
19631 \end_inset
19632
19633  command must have either a corresponding 
19634 \begin_inset Flex Code
19635 status collapsed
19636
19637 \begin_layout Plain Layout
19638
19639 \lang english
19640 TransformCommand
19641 \end_layout
19642
19643 \end_inset
19644
19645  or a 
19646 \begin_inset Flex Code
19647 status collapsed
19648
19649 \begin_layout Plain Layout
19650
19651 \lang english
19652 TransformOption
19653 \end_layout
19654
19655 \end_inset
19656
19657  command in the 
19658 \begin_inset Flex Code
19659 status collapsed
19660
19661 \begin_layout Plain Layout
19662
19663 \lang english
19664 Format
19665 \end_layout
19666
19667 \end_inset
19668
19669  section.
19670  Otherwise the transformation will not be supported by that format.
19671 \end_layout
19672
19673 \begin_layout Subsection
19674
19675 \lang english
19676 The Format section
19677 \end_layout
19678
19679 \begin_layout Description
19680
19681 \lang english
19682 \begin_inset Flex Code
19683 status collapsed
19684
19685 \begin_layout Plain Layout
19686
19687 \lang english
19688 Format
19689 \begin_inset space ~
19690 \end_inset
19691
19692 LaTeX|PDFLaTeX|PlainText|DocBook
19693 \end_layout
19694
19695 \end_inset
19696
19697  The primary document file format that this format definition is for.
19698  Not every template has a sensible representation in all document file formats.
19699  Please define nevertheless a 
19700 \begin_inset Flex Code
19701 status collapsed
19702
19703 \begin_layout Plain Layout
19704
19705 \lang english
19706 Format
19707 \end_layout
19708
19709 \end_inset
19710
19711  section for all templates.
19712  Use a dummy text when no representation is available.
19713  Then you can at least see a reference to the external material in the exported
19714  document.
19715 \end_layout
19716
19717 \begin_layout Description
19718
19719 \lang english
19720 \begin_inset Flex Code
19721 status collapsed
19722
19723 \begin_layout Plain Layout
19724
19725 \lang english
19726 Option
19727 \begin_inset space ~
19728 \end_inset
19729
19730 <name>
19731 \begin_inset space ~
19732 \end_inset
19733
19734 <value>
19735 \end_layout
19736
19737 \end_inset
19738
19739  This command defines an additional macro 
19740 \begin_inset Flex Code
19741 status collapsed
19742
19743 \begin_layout Plain Layout
19744
19745 \lang english
19746 $$<name>
19747 \end_layout
19748
19749 \end_inset
19750
19751  for substitution in 
19752 \begin_inset Flex Code
19753 status collapsed
19754
19755 \begin_layout Plain Layout
19756
19757 \lang english
19758 Product
19759 \end_layout
19760
19761 \end_inset
19762
19763 .
19764  
19765 \begin_inset Flex Code
19766 status collapsed
19767
19768 \begin_layout Plain Layout
19769
19770 \lang english
19771 <value>
19772 \end_layout
19773
19774 \end_inset
19775
19776  itself may contain substitution macros.
19777  The advantage over using 
19778 \begin_inset Flex Code
19779 status collapsed
19780
19781 \begin_layout Plain Layout
19782
19783 \lang english
19784 <value>
19785 \end_layout
19786
19787 \end_inset
19788
19789  directly in 
19790 \begin_inset Flex Code
19791 status collapsed
19792
19793 \begin_layout Plain Layout
19794
19795 \lang english
19796 Product
19797 \end_layout
19798
19799 \end_inset
19800
19801  is that the substituted value of 
19802 \begin_inset Flex Code
19803 status collapsed
19804
19805 \begin_layout Plain Layout
19806
19807 \lang english
19808 $$<name>
19809 \end_layout
19810
19811 \end_inset
19812
19813  is sanitized so that it is a valid optional argument in the document format.
19814  This command may occur zero or more times.
19815 \end_layout
19816
19817 \begin_layout Description
19818
19819 \lang english
19820 \begin_inset Flex Code
19821 status collapsed
19822
19823 \begin_layout Plain Layout
19824
19825 \lang english
19826 Product
19827 \begin_inset space ~
19828 \end_inset
19829
19830 <text>
19831 \end_layout
19832
19833 \end_inset
19834
19835  The text that is inserted in the exported document.
19836  This is actually the most important command and can be quite complex.
19837  This command must occur exactly once.
19838 \end_layout
19839
19840 \begin_layout Description
19841
19842 \lang english
19843 \begin_inset Flex Code
19844 status collapsed
19845
19846 \begin_layout Plain Layout
19847
19848 \lang english
19849 Preamble
19850 \begin_inset space ~
19851 \end_inset
19852
19853 <name>
19854 \end_layout
19855
19856 \end_inset
19857
19858  This command specifies a preamble snippet that will be included in the
19859  LaTeX preamble.
19860  It has to be defined using 
19861 \begin_inset Flex Code
19862 status collapsed
19863
19864 \begin_layout Plain Layout
19865
19866 \lang english
19867 PreambleDef
19868 \end_layout
19869
19870 \end_inset
19871
19872  \SpecialChar \ldots{}
19873  
19874 \begin_inset Flex Code
19875 status collapsed
19876
19877 \begin_layout Plain Layout
19878
19879 \lang english
19880 PreambleDefEnd
19881 \end_layout
19882
19883 \end_inset
19884
19885 .
19886  This command may occur zero or more times.
19887 \end_layout
19888
19889 \begin_layout Description
19890
19891 \lang english
19892 \begin_inset Flex Code
19893 status collapsed
19894
19895 \begin_layout Plain Layout
19896
19897 \lang english
19898 ReferencedFile
19899 \begin_inset space ~
19900 \end_inset
19901
19902 <format>
19903 \begin_inset space ~
19904 \end_inset
19905
19906 <filename>
19907 \end_layout
19908
19909 \end_inset
19910
19911  This command denotes files that are created by the conversion process and
19912  are needed for a particular export format.
19913  If the filename is relative, it is interpreted relative to the master document.
19914  This command may be given zero or more times.
19915 \end_layout
19916
19917 \begin_layout Description
19918
19919 \lang english
19920 \begin_inset Flex Code
19921 status collapsed
19922
19923 \begin_layout Plain Layout
19924
19925 \lang english
19926 Requirement
19927 \begin_inset space ~
19928 \end_inset
19929
19930 <package>
19931 \end_layout
19932
19933 \end_inset
19934
19935  The name of a required LaTeX package.
19936  The package is included via 
19937 \begin_inset Flex Code
19938 status collapsed
19939
19940 \begin_layout Plain Layout
19941
19942 \lang english
19943
19944 \backslash
19945 usepackage{}
19946 \end_layout
19947
19948 \end_inset
19949
19950  in the LaTeX preamble.
19951  This command may occur zero or more times.
19952 \end_layout
19953
19954 \begin_layout Description
19955
19956 \lang english
19957 \begin_inset Flex Code
19958 status collapsed
19959
19960 \begin_layout Plain Layout
19961
19962 \lang english
19963 TransformCommand
19964 \begin_inset space ~
19965 \end_inset
19966
19967 Rotate
19968 \begin_inset space ~
19969 \end_inset
19970
19971 RotationLatexCommand
19972 \end_layout
19973
19974 \end_inset
19975
19976  This command specifies that the built in LaTeX command should be used for
19977  rotation.
19978  This command may occur once or not at all.
19979 \end_layout
19980
19981 \begin_layout Description
19982
19983 \lang english
19984 \begin_inset Flex Code
19985 status collapsed
19986
19987 \begin_layout Plain Layout
19988
19989 \lang english
19990 TransformCommand
19991 \begin_inset space ~
19992 \end_inset
19993
19994 Resize
19995 \begin_inset space ~
19996 \end_inset
19997
19998 ResizeLatexCommand
19999 \end_layout
20000
20001 \end_inset
20002
20003  This command specifies that the built in LaTeX command should be used for
20004  resizing.
20005  This command may occur once or not at all.
20006 \end_layout
20007
20008 \begin_layout Description
20009
20010 \lang english
20011 \begin_inset Flex Code
20012 status collapsed
20013
20014 \begin_layout Plain Layout
20015
20016 \lang english
20017 TransformOption
20018 \begin_inset space ~
20019 \end_inset
20020
20021 Rotate
20022 \begin_inset space ~
20023 \end_inset
20024
20025 RotationLatexOption
20026 \end_layout
20027
20028 \end_inset
20029
20030  This command specifies that rotation is done via an optional argument.
20031  This command may occur once or not at all.
20032 \end_layout
20033
20034 \begin_layout Description
20035
20036 \lang english
20037 \begin_inset Flex Code
20038 status collapsed
20039
20040 \begin_layout Plain Layout
20041
20042 \lang english
20043 TransformOption
20044 \begin_inset space ~
20045 \end_inset
20046
20047 Resize
20048 \begin_inset space ~
20049 \end_inset
20050
20051 ResizeLatexOption
20052 \end_layout
20053
20054 \end_inset
20055
20056  This command specifies that resizing is done via an optional argument.
20057  This command may occur once or not at all.
20058 \end_layout
20059
20060 \begin_layout Description
20061
20062 \lang english
20063 \begin_inset Flex Code
20064 status collapsed
20065
20066 \begin_layout Plain Layout
20067
20068 \lang english
20069 TransformOption
20070 \begin_inset space ~
20071 \end_inset
20072
20073 Clip
20074 \begin_inset space ~
20075 \end_inset
20076
20077 ClipLatexOption
20078 \end_layout
20079
20080 \end_inset
20081
20082  This command specifies that clipping is done via an optional argument.
20083  This command may occur once or not at all.
20084 \end_layout
20085
20086 \begin_layout Description
20087
20088 \lang english
20089 \begin_inset Flex Code
20090 status collapsed
20091
20092 \begin_layout Plain Layout
20093
20094 \lang english
20095 TransformOption
20096 \begin_inset space ~
20097 \end_inset
20098
20099 Extra
20100 \begin_inset space ~
20101 \end_inset
20102
20103 ExtraLatexOption
20104 \end_layout
20105
20106 \end_inset
20107
20108  This command specifies that an extra optional argument is used.
20109  This command may occur once or not at all.
20110 \end_layout
20111
20112 \begin_layout Description
20113
20114 \lang english
20115 \begin_inset Flex Code
20116 status collapsed
20117
20118 \begin_layout Plain Layout
20119
20120 \lang english
20121 UpdateFormat
20122 \begin_inset space ~
20123 \end_inset
20124
20125 <format>
20126 \end_layout
20127
20128 \end_inset
20129
20130  The file format of the converted file.
20131  This must be the name of a format that is known to LyX (see the 
20132 \begin_inset Flex MenuItem
20133 status collapsed
20134
20135 \begin_layout Plain Layout
20136
20137 \bar under
20138 \lang english
20139 T
20140 \bar default
20141 ools\SpecialChar \menuseparator
20142
20143 \bar under
20144 P
20145 \bar default
20146 references\SpecialChar \menuseparator
20147 File Handling\SpecialChar \menuseparator
20148 File Format
20149 \end_layout
20150
20151 \end_inset
20152
20153  dialog).
20154  This command must occur exactly once.
20155 \end_layout
20156
20157 \begin_layout Description
20158
20159 \lang english
20160 \begin_inset Flex Code
20161 status collapsed
20162
20163 \begin_layout Plain Layout
20164
20165 \lang english
20166 UpdateResult
20167 \begin_inset space ~
20168 \end_inset
20169
20170 <filename>
20171 \end_layout
20172
20173 \end_inset
20174
20175  The file name of the converted file.
20176  The file name must be absolute.
20177  This command must occur exactly once.
20178 \end_layout
20179
20180 \begin_layout Subsection
20181
20182 \lang english
20183 Preamble definitions
20184 \end_layout
20185
20186 \begin_layout Standard
20187
20188 \lang english
20189 The external template configuration file may contain additional preamble
20190  definitions enclosed by 
20191 \begin_inset Flex Code
20192 status collapsed
20193
20194 \begin_layout Plain Layout
20195
20196 \lang english
20197 PreambleDef
20198 \end_layout
20199
20200 \end_inset
20201
20202  \SpecialChar \ldots{}
20203  
20204 \begin_inset Flex Code
20205 status collapsed
20206
20207 \begin_layout Plain Layout
20208
20209 \lang english
20210 PreambleDefEnd
20211 \end_layout
20212
20213 \end_inset
20214
20215 .
20216  They can be used by the templates in the 
20217 \begin_inset Flex Code
20218 status collapsed
20219
20220 \begin_layout Plain Layout
20221
20222 \lang english
20223 Format
20224 \end_layout
20225
20226 \end_inset
20227
20228  section.
20229 \end_layout
20230
20231 \begin_layout Section
20232 Der Ersetzungsmechanismus
20233 \end_layout
20234
20235 \begin_layout Standard
20236 Wenn über die externe Einfügung ein externes Programm gestartet wird, geschieht
20237  dies anhand eines Befehls, der in der Vorlage festgelegt wurde.
20238  Ein solcher Befehl kann diverse Makros enthalten, die vor dem eigentlichen
20239  Aufruf ausgewertet werden.
20240  Die Ausführung erfolgt dabei immer in demjenigen Verzeichnis, das auch
20241  das LyX-Dokument enthält.
20242 \end_layout
20243
20244 \begin_layout Standard
20245
20246 \lang english
20247 Also, whenever external material is to be displayed, the name will be produced
20248  by the substitution mechanism, and most other commands in the template
20249  definition support substitution as well.
20250 \end_layout
20251
20252 \begin_layout Standard
20253 Hier finden Sie eine Liste dieser Makros:
20254 \end_layout
20255
20256 \begin_layout Description
20257
20258 \lang english
20259 \begin_inset Flex Code
20260 status collapsed
20261
20262 \begin_layout Plain Layout
20263
20264 \lang english
20265 $$AbsOrRelPathMaster
20266 \end_layout
20267
20268 \end_inset
20269
20270  The file path, absolute or relative to the master LyX document.
20271 \end_layout
20272
20273 \begin_layout Description
20274
20275 \lang english
20276 \begin_inset Flex Code
20277 status collapsed
20278
20279 \begin_layout Plain Layout
20280
20281 \lang english
20282 $$AbsOrRelPathParent
20283 \end_layout
20284
20285 \end_inset
20286
20287  The file path, absolute or relative to the LyX document.
20288 \end_layout
20289
20290 \begin_layout Description
20291
20292 \lang english
20293 \begin_inset Flex Code
20294 status collapsed
20295
20296 \begin_layout Plain Layout
20297
20298 \lang english
20299 $$AbsPath
20300 \end_layout
20301
20302 \end_inset
20303
20304  The absolute file path.
20305 \end_layout
20306
20307 \begin_layout Description
20308
20309 \lang english
20310 \begin_inset Flex Code
20311 status collapsed
20312
20313 \begin_layout Plain Layout
20314
20315 \lang english
20316 $$Basename
20317 \end_layout
20318
20319 \end_inset
20320
20321  The filename without path and without the extension.
20322 \end_layout
20323
20324 \begin_layout Description
20325
20326 \lang english
20327 \begin_inset Flex Code
20328 status collapsed
20329
20330 \begin_layout Plain Layout
20331
20332 \lang english
20333 $$Contents(
20334 \begin_inset Quotes eld
20335 \end_inset
20336
20337 filename.ext
20338 \begin_inset Quotes erd
20339 \end_inset
20340
20341 )
20342 \end_layout
20343
20344 \end_inset
20345
20346  This macro will expand to the contents of the file with the name 
20347 \begin_inset Flex Code
20348 status collapsed
20349
20350 \begin_layout Plain Layout
20351
20352 \lang english
20353 filename.ext
20354 \end_layout
20355
20356 \end_inset
20357
20358 .
20359 \end_layout
20360
20361 \begin_layout Description
20362
20363 \lang english
20364 \begin_inset Flex Code
20365 status collapsed
20366
20367 \begin_layout Plain Layout
20368
20369 \lang english
20370 $$Extension
20371 \end_layout
20372
20373 \end_inset
20374
20375  The file extension (including the dot).
20376 \end_layout
20377
20378 \begin_layout Description
20379
20380 \lang english
20381 \begin_inset Flex Code
20382 status collapsed
20383
20384 \begin_layout Plain Layout
20385
20386 \lang english
20387 $$FName
20388 \end_layout
20389
20390 \end_inset
20391
20392  The filename of the file specified in the external material dialog.
20393  This is either an absolute name, or it is relative to the LyX document.
20394 \end_layout
20395
20396 \begin_layout Description
20397
20398 \lang english
20399 \begin_inset Flex Code
20400 status collapsed
20401
20402 \begin_layout Plain Layout
20403
20404 \lang english
20405 $$FPath
20406 \end_layout
20407
20408 \end_inset
20409
20410  The path part of 
20411 \begin_inset Flex Code
20412 status collapsed
20413
20414 \begin_layout Plain Layout
20415
20416 \lang english
20417 $$FName
20418 \end_layout
20419
20420 \end_inset
20421
20422  (absolute name or relative to the LyX document).
20423 \end_layout
20424
20425 \begin_layout Description
20426
20427 \lang english
20428 \begin_inset Flex Code
20429 status collapsed
20430
20431 \begin_layout Plain Layout
20432
20433 \lang english
20434 $$RelPathMaster
20435 \end_layout
20436
20437 \end_inset
20438
20439  The file path, relative to the master LyX document.
20440 \end_layout
20441
20442 \begin_layout Description
20443
20444 \lang english
20445 \begin_inset Flex Code
20446 status collapsed
20447
20448 \begin_layout Plain Layout
20449
20450 \lang english
20451 $$RelPathParent
20452 \end_layout
20453
20454 \end_inset
20455
20456  The file path, relative to the LyX document.
20457 \end_layout
20458
20459 \begin_layout Description
20460
20461 \lang english
20462 \begin_inset Flex Code
20463 status collapsed
20464
20465 \begin_layout Plain Layout
20466
20467 \lang english
20468 $$Sysdir
20469 \end_layout
20470
20471 \end_inset
20472
20473  This macro will expand to the absolute path of the system directory.
20474  This is typically used to point to the various helper scripts that are
20475  bundled with LyX.
20476 \end_layout
20477
20478 \begin_layout Description
20479
20480 \lang english
20481 \begin_inset Flex Code
20482 status collapsed
20483
20484 \begin_layout Plain Layout
20485
20486 \lang english
20487 $$Tempname
20488 \end_layout
20489
20490 \end_inset
20491
20492  A name and full path to a temporary file which will be automatically deleted
20493  whenever the containing document is closed, or the external material insertion
20494  deleted.
20495 \end_layout
20496
20497 \begin_layout Standard
20498
20499 \lang english
20500 All path macros contain a trailing directory separator, so you can construct
20501  e.
20502 \begin_inset space \thinspace{}
20503 \end_inset
20504
20505 g.
20506 \begin_inset space \space{}
20507 \end_inset
20508
20509 the absolute filename with 
20510 \begin_inset Flex Code
20511 status collapsed
20512
20513 \begin_layout Plain Layout
20514
20515 \lang english
20516 $$AbsPath$$Basename$$Extension
20517 \end_layout
20518
20519 \end_inset
20520
20521 .
20522 \end_layout
20523
20524 \begin_layout Standard
20525
20526 \lang english
20527 The macros above are substituted in all commands unless otherwise noted.
20528  The command 
20529 \begin_inset Flex Code
20530 status collapsed
20531
20532 \begin_layout Plain Layout
20533
20534 \lang english
20535 Product
20536 \end_layout
20537
20538 \end_inset
20539
20540  supports additionally the following substitutions if they are enabled by
20541  the 
20542 \begin_inset Flex Code
20543 status collapsed
20544
20545 \begin_layout Plain Layout
20546
20547 \lang english
20548 Transform
20549 \end_layout
20550
20551 \end_inset
20552
20553  and 
20554 \begin_inset Flex Code
20555 status collapsed
20556
20557 \begin_layout Plain Layout
20558
20559 \lang english
20560 TransformCommand
20561 \end_layout
20562
20563 \end_inset
20564
20565  commands:
20566 \end_layout
20567
20568 \begin_layout Description
20569
20570 \lang english
20571 \begin_inset Flex Code
20572 status collapsed
20573
20574 \begin_layout Plain Layout
20575
20576 \lang english
20577 $$ResizeFront
20578 \end_layout
20579
20580 \end_inset
20581
20582  The front part of the resize command.
20583 \end_layout
20584
20585 \begin_layout Description
20586
20587 \lang english
20588 \begin_inset Flex Code
20589 status collapsed
20590
20591 \begin_layout Plain Layout
20592
20593 \lang english
20594 $$ResizeBack
20595 \end_layout
20596
20597 \end_inset
20598
20599  The back part of the resize command.
20600 \end_layout
20601
20602 \begin_layout Description
20603
20604 \lang english
20605 \begin_inset Flex Code
20606 status collapsed
20607
20608 \begin_layout Plain Layout
20609
20610 \lang english
20611 $$RotateFront
20612 \end_layout
20613
20614 \end_inset
20615
20616  The front part of the rotation command.
20617 \end_layout
20618
20619 \begin_layout Description
20620
20621 \lang english
20622 \begin_inset Flex Code
20623 status collapsed
20624
20625 \begin_layout Plain Layout
20626
20627 \lang english
20628 $$RotateBack
20629 \end_layout
20630
20631 \end_inset
20632
20633  The back part of the rotation command.
20634 \end_layout
20635
20636 \begin_layout Standard
20637
20638 \lang english
20639 The value string of the 
20640 \begin_inset Flex Code
20641 status collapsed
20642
20643 \begin_layout Plain Layout
20644
20645 \lang english
20646 Option
20647 \end_layout
20648
20649 \end_inset
20650
20651  command supports additionally the following substitutions if they are enabled
20652  by the 
20653 \begin_inset Flex Code
20654 status collapsed
20655
20656 \begin_layout Plain Layout
20657
20658 \lang english
20659 Transform
20660 \end_layout
20661
20662 \end_inset
20663
20664  and 
20665 \begin_inset Flex Code
20666 status collapsed
20667
20668 \begin_layout Plain Layout
20669
20670 \lang english
20671 TransformOption
20672 \end_layout
20673
20674 \end_inset
20675
20676  commands:
20677 \end_layout
20678
20679 \begin_layout Description
20680
20681 \lang english
20682 \begin_inset Flex Code
20683 status collapsed
20684
20685 \begin_layout Plain Layout
20686
20687 \lang english
20688 $$Clip
20689 \end_layout
20690
20691 \end_inset
20692
20693  The clip option.
20694 \end_layout
20695
20696 \begin_layout Description
20697
20698 \lang english
20699 \begin_inset Flex Code
20700 status collapsed
20701
20702 \begin_layout Plain Layout
20703
20704 \lang english
20705 $$Extra
20706 \end_layout
20707
20708 \end_inset
20709
20710  The extra option.
20711 \end_layout
20712
20713 \begin_layout Description
20714
20715 \lang english
20716 \begin_inset Flex Code
20717 status collapsed
20718
20719 \begin_layout Plain Layout
20720
20721 \lang english
20722 $$Resize
20723 \end_layout
20724
20725 \end_inset
20726
20727  The resize option.
20728 \end_layout
20729
20730 \begin_layout Description
20731
20732 \lang english
20733 \begin_inset Flex Code
20734 status collapsed
20735
20736 \begin_layout Plain Layout
20737
20738 \lang english
20739 $$Rotate
20740 \end_layout
20741
20742 \end_inset
20743
20744  The rotation option.
20745 \end_layout
20746
20747 \begin_layout Standard
20748
20749 \lang english
20750 You may ask why there are so many path macros.
20751  There are mainly two reasons:
20752 \end_layout
20753
20754 \begin_layout Enumerate
20755
20756 \lang english
20757 Relative and absolute file names should remain relative or absolute, respectivel
20758 y.
20759  Users may have reasons to prefer either form.
20760  Relative names are useful for portable documents that should work on different
20761  machines, for example.
20762  Absolute names may be required by some programs.
20763 \end_layout
20764
20765 \begin_layout Enumerate
20766
20767 \lang english
20768 LaTeX treats relative file names differently than LyX and other programs
20769  in nested included files.
20770  For LyX, a relative file name is always relative to the document that contains
20771  the file name.
20772  For LaTeX, it is always relative to the master document.
20773  These two definitions are identical if you have only one document, but
20774  differ if you have a master document that includes part documents.
20775  That means that relative filenames must be transformed when presented to
20776  LaTeX.
20777  Fortunately LyX does this automatically for you if you choose the right
20778  macros.
20779 \end_layout
20780
20781 \begin_layout Standard
20782
20783 \lang english
20784 So which path macro should be used in new template definitions? The rule
20785  is not difficult:
20786 \end_layout
20787
20788 \begin_layout Itemize
20789
20790 \lang english
20791 Use 
20792 \begin_inset Flex Code
20793 status collapsed
20794
20795 \begin_layout Plain Layout
20796
20797 \lang english
20798 $$AbsPath
20799 \end_layout
20800
20801 \end_inset
20802
20803  if an absolute path is required.
20804 \end_layout
20805
20806 \begin_layout Itemize
20807
20808 \lang english
20809 Use 
20810 \begin_inset Flex Code
20811 status collapsed
20812
20813 \begin_layout Plain Layout
20814
20815 \lang english
20816 $$AbsOrRelPathMaster
20817 \end_layout
20818
20819 \end_inset
20820
20821  if the substituted string is some kind of LaTeX input.
20822 \end_layout
20823
20824 \begin_layout Itemize
20825
20826 \lang english
20827 Else use 
20828 \begin_inset Flex Code
20829 status collapsed
20830
20831 \begin_layout Plain Layout
20832
20833 \lang english
20834 $$AbsOrRelPathParent
20835 \end_layout
20836
20837 \end_inset
20838
20839  in order to preserve the user's choice.
20840 \end_layout
20841
20842 \begin_layout Standard
20843
20844 \lang english
20845 There are special cases where this rule does not work and e.
20846 \begin_inset space \thinspace{}
20847 \end_inset
20848
20849 g.
20850 \begin_inset space \space{}
20851 \end_inset
20852
20853 relative names are needed, but normally it will work just fine.
20854  One example for such a case is the command 
20855 \begin_inset Flex Code
20856 status collapsed
20857
20858 \begin_layout Plain Layout
20859
20860 \lang english
20861 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
20862 \end_layout
20863
20864 \end_inset
20865
20866  in the XFig template above: We can't use the absolute name because the
20867  copier for 
20868 \begin_inset Flex Code
20869 status collapsed
20870
20871 \begin_layout Plain Layout
20872
20873 \lang english
20874 .pstex_t
20875 \end_layout
20876
20877 \end_inset
20878
20879  files needs the relative name in order to rewrite the file content.
20880 \end_layout
20881
20882 \begin_layout Section
20883 Sicherheitshinweise
20884 \begin_inset CommandInset label
20885 LatexCommand label
20886 name "sec:Sicherheitshinweise"
20887
20888 \end_inset
20889
20890
20891 \end_layout
20892
20893 \begin_layout Standard
20894
20895 \lang english
20896 The external material feature interfaces with a lot of external programs
20897  and does so automatically, so we have to consider the security implications
20898  of this.
20899  In particular, since you have the option of including your own filenames
20900  and/or parameter strings and those are expanded into a command, it seems
20901  that it would be possible to create a malicious document which executes
20902  arbitrary commands when a user views or prints the document.
20903  This is something we definitely want to avoid.
20904 \end_layout
20905
20906 \begin_layout Standard
20907
20908 \lang english
20909 However, since the external program commands are specified in the template
20910  configuration file only, there are no security issues if LyX is properly
20911  configured with safe templates only.
20912  This is so because the external programs are invoked with the 
20913 \begin_inset Flex Code
20914 status collapsed
20915
20916 \begin_layout Plain Layout
20917
20918 \lang english
20919 execvp
20920 \end_layout
20921
20922 \end_inset
20923
20924 -system call rather than the 
20925 \begin_inset Flex Code
20926 status collapsed
20927
20928 \begin_layout Plain Layout
20929
20930 \lang english
20931 system
20932 \end_layout
20933
20934 \end_inset
20935
20936  system-call, so it's not possible to execute arbitrary commands from the
20937  filename or parameter section via the shell.
20938 \end_layout
20939
20940 \begin_layout Standard
20941
20942 \lang english
20943 This also implies that you are restricted in what command strings you can
20944  use in the external material templates.
20945  In particular, pipes and redirection are not readily available.
20946  This has to be so if LyX should remain safe.
20947  If you want to use some of the shell features, you should write a safe
20948  script to do this in a controlled manner, and then invoke the script from
20949  the command string.
20950  
20951 \end_layout
20952
20953 \begin_layout Standard
20954
20955 \lang english
20956 It is possible to design a template that interacts directly with the shell,
20957  but since this would allow a malicious user to execute arbitrary commands
20958  by writing clever filenames and/or parameters, we generally recommend that
20959  you only use safe scripts that work with the 
20960 \begin_inset Flex Code
20961 status collapsed
20962
20963 \begin_layout Plain Layout
20964
20965 \lang english
20966 execvp
20967 \end_layout
20968
20969 \end_inset
20970
20971  system call in a controlled manner.
20972  Of course, for use in a controlled environment, it can be tempting to just
20973  fall back to use ordinary shell scripts.
20974  If you do so, be aware that you 
20975 \emph on
20976 will
20977 \emph default
20978  provide an easily exploitable security hole in your system.
20979  Of course it stands to reason that such unsafe templates will never be
20980  included in the standard LyX distribution, although we do encourage people
20981  to submit new templates in the open source tradition.
20982  But LyX as shipped from the official distribution channels will never have
20983  unsafe templates.
20984 \end_layout
20985
20986 \begin_layout Standard
20987
20988 \lang english
20989 Including external material provides a lot of power, and you have to be
20990  careful not to introduce security hazards with this power.
20991  A subtle error in a single line in an innocent looking script can open
20992  the door to huge security problems.
20993  So if you do not fully understand the issues, we recommend that you consult
20994  a knowledgeable security professional or the LyX development team if you
20995  have any questions about whether a given template is safe or not.
20996  And do this before you use it in an uncontrolled environment.
20997 \end_layout
20998
20999 \begin_layout Chapter
21000 \start_of_appendix
21001 Namen von verfügbaren Farben für die Verwendung in Layout-Dateien
21002 \begin_inset CommandInset label
21003 LatexCommand label
21004 name "chap:Namen-von-Farben"
21005
21006 \end_inset
21007
21008
21009 \end_layout
21010
21011 \begin_layout Standard
21012 Die hier aufgelisteten Farben sind die Standardfarben und die, die man in
21013  den LyX-Voreinstellungen festlegen kann.
21014 \end_layout
21015
21016 \begin_layout Description
21017
21018 \lang english
21019 none
21020 \family roman
21021 \series medium
21022 \shape up
21023 \size normal
21024 \emph off
21025 \bar no
21026 \strikeout off
21027 \uuline off
21028 \uwave off
21029 \noun off
21030 \color none
21031  No particular color -- clear or default
21032 \end_layout
21033
21034 \begin_layout Description
21035
21036 \lang english
21037 black
21038 \end_layout
21039
21040 \begin_layout Description
21041
21042 \lang english
21043 white
21044 \end_layout
21045
21046 \begin_layout Description
21047
21048 \lang english
21049 red
21050 \end_layout
21051
21052 \begin_layout Description
21053
21054 \lang english
21055 green
21056 \end_layout
21057
21058 \begin_layout Description
21059
21060 \lang english
21061 blue
21062 \end_layout
21063
21064 \begin_layout Description
21065
21066 \lang english
21067 cyan
21068 \end_layout
21069
21070 \begin_layout Description
21071
21072 \lang english
21073 magenta
21074 \end_layout
21075
21076 \begin_layout Description
21077
21078 \lang english
21079 yellow
21080 \end_layout
21081
21082 \begin_layout Description
21083
21084 \lang english
21085 cursor Cursor color
21086 \end_layout
21087
21088 \begin_layout Description
21089
21090 \lang english
21091 background Background color
21092 \end_layout
21093
21094 \begin_layout Description
21095
21096 \lang english
21097 foreground Foreground color
21098 \end_layout
21099
21100 \begin_layout Description
21101
21102 \lang english
21103 selection Background color of selected text
21104 \end_layout
21105
21106 \begin_layout Description
21107
21108 \lang english
21109 selectiontext Foreground color of selected text
21110 \end_layout
21111
21112 \begin_layout Description
21113
21114 \lang english
21115 latex Text color in LaTeX mode 
21116 \end_layout
21117
21118 \begin_layout Description
21119
21120 \lang english
21121 preview The color used for previews
21122 \end_layout
21123
21124 \begin_layout Description
21125
21126 \lang english
21127 inlinecompletion Inline completion color 
21128 \end_layout
21129
21130 \begin_layout Description
21131
21132 \lang english
21133 nonunique_inlinecompletion Inline completion color for the non-unique part
21134 \end_layout
21135
21136 \begin_layout Description
21137
21138 \lang english
21139 notelabel Label color for notes
21140 \end_layout
21141
21142 \begin_layout Description
21143
21144 \lang english
21145 notebg Background color of notes
21146 \end_layout
21147
21148 \begin_layout Description
21149
21150 \lang english
21151 commentlabel Label color for comments
21152 \end_layout
21153
21154 \begin_layout Description
21155
21156 \lang english
21157 commentbg Background color of comments
21158 \end_layout
21159
21160 \begin_layout Description
21161
21162 \lang english
21163 greyedoutlabel Label color for greyedout insets
21164 \end_layout
21165
21166 \begin_layout Description
21167
21168 \lang english
21169 greyedouttext Color for greyedout inset text
21170 \end_layout
21171
21172 \begin_layout Description
21173
21174 \lang english
21175 greyedoutbg Background color of greyedout inset
21176 \end_layout
21177
21178 \begin_layout Description
21179
21180 \lang english
21181 shadedbg Background color of shaded box
21182 \end_layout
21183
21184 \begin_layout Description
21185
21186 \lang english
21187 listingsbg Background color of listings inset
21188 \end_layout
21189
21190 \begin_layout Description
21191
21192 \lang english
21193 branchlabel Label color for branches
21194 \end_layout
21195
21196 \begin_layout Description
21197
21198 \lang english
21199 footlabel Label color for footnotes
21200 \end_layout
21201
21202 \begin_layout Description
21203
21204 \lang english
21205 indexlabel Label color for index insets 
21206 \end_layout
21207
21208 \begin_layout Description
21209
21210 \lang english
21211 marginlabel Label color for margin notes 
21212 \end_layout
21213
21214 \begin_layout Description
21215
21216 \lang english
21217 phantomtext Text color for phantom insets 
21218 \end_layout
21219
21220 \begin_layout Description
21221
21222 \lang english
21223 urllabel Label color for URL insets
21224 \end_layout
21225
21226 \begin_layout Description
21227
21228 \lang english
21229 urltext Color for URL inset text
21230 \end_layout
21231
21232 \begin_layout Description
21233
21234 \lang english
21235 depthbar Color for the depth bars in the margin
21236 \end_layout
21237
21238 \begin_layout Description
21239
21240 \lang english
21241 language Color for marking foreign language words
21242 \end_layout
21243
21244 \begin_layout Description
21245
21246 \lang english
21247 command Text color for command insets
21248 \end_layout
21249
21250 \begin_layout Description
21251
21252 \lang english
21253 commandbg Background color for command insets 
21254 \end_layout
21255
21256 \begin_layout Description
21257
21258 \lang english
21259 commandframe Frame color for command insets
21260 \end_layout
21261
21262 \begin_layout Description
21263
21264 \lang english
21265 special Special chars text color
21266 \end_layout
21267
21268 \begin_layout Description
21269
21270 \lang english
21271 graphicsbg Graphics inset background color 
21272 \end_layout
21273
21274 \begin_layout Description
21275
21276 \lang english
21277 math Math inset text color 
21278 \end_layout
21279
21280 \begin_layout Description
21281
21282 \lang english
21283 mathbg Math inset background color
21284 \end_layout
21285
21286 \begin_layout Description
21287
21288 \lang english
21289 mathmacrobg Macro math inset background color
21290 \end_layout
21291
21292 \begin_layout Description
21293
21294 \lang english
21295 mathmacrohoverbg Macro math inset background color hovered
21296 \end_layout
21297
21298 \begin_layout Description
21299
21300 \lang english
21301 mathmacrolabel Macro math label color
21302 \end_layout
21303
21304 \begin_layout Description
21305
21306 \lang english
21307 mathmacroframe Macro math frame color
21308 \end_layout
21309
21310 \begin_layout Description
21311
21312 \lang english
21313 mathmacroblend Macro math blended color
21314 \end_layout
21315
21316 \begin_layout Description
21317
21318 \lang english
21319 mathmacrooldarg Macro template color for old parameters 
21320 \end_layout
21321
21322 \begin_layout Description
21323
21324 \lang english
21325 mathmacronewarg Macro template color for new parameters
21326 \end_layout
21327
21328 \begin_layout Description
21329
21330 \lang english
21331 mathframe Math inset frame color under focus 
21332 \end_layout
21333
21334 \begin_layout Description
21335
21336 \lang english
21337 mathcorners Math inset frame color not under focus
21338 \end_layout
21339
21340 \begin_layout Description
21341
21342 \lang english
21343 mathline Math line color
21344 \end_layout
21345
21346 \begin_layout Description
21347
21348 \lang english
21349 collapsable Collapsable insets text 
21350 \end_layout
21351
21352 \begin_layout Description
21353
21354 \lang english
21355 collapsableframe Collapsable insets frame
21356 \end_layout
21357
21358 \begin_layout Description
21359
21360 \lang english
21361 insetbg Inset marker background color
21362 \end_layout
21363
21364 \begin_layout Description
21365
21366 \lang english
21367 insetframe Inset marker frame color
21368 \end_layout
21369
21370 \begin_layout Description
21371
21372 \lang english
21373 error Error box text color
21374 \end_layout
21375
21376 \begin_layout Description
21377
21378 \lang english
21379 eolmarker End of line marker color
21380 \end_layout
21381
21382 \begin_layout Description
21383
21384 \lang english
21385 added_space Added space colour
21386 \end_layout
21387
21388 \begin_layout Description
21389
21390 \lang english
21391 appendix Appendix marker color
21392 \end_layout
21393
21394 \begin_layout Description
21395
21396 \lang english
21397 changebar Changebar color
21398 \end_layout
21399
21400 \begin_layout Description
21401
21402 \lang english
21403 deletedtext Deleted text color
21404 \end_layout
21405
21406 \begin_layout Description
21407
21408 \lang english
21409 addedtext Added text color
21410 \end_layout
21411
21412 \begin_layout Description
21413
21414 \lang english
21415 changedtextauthor1 Changed text color author 1
21416 \end_layout
21417
21418 \begin_layout Description
21419
21420 \lang english
21421 changedtextauthor2 Changed text color author 2
21422 \end_layout
21423
21424 \begin_layout Description
21425
21426 \lang english
21427 changedtextauthor3 Changed text color author 3
21428 \end_layout
21429
21430 \begin_layout Description
21431
21432 \lang english
21433 changedtextauthor4 Changed text color author 4
21434 \end_layout
21435
21436 \begin_layout Description
21437
21438 \lang english
21439 changedtextauthor5 Changed text color author 5
21440 \end_layout
21441
21442 \begin_layout Description
21443
21444 \lang english
21445 deletedtextmodifier Deleted text modifying color
21446 \end_layout
21447
21448 \begin_layout Description
21449
21450 \lang english
21451 tabularline Table line color
21452 \end_layout
21453
21454 \begin_layout Description
21455
21456 \lang english
21457 tabularonoffline Table line color 
21458 \end_layout
21459
21460 \begin_layout Description
21461
21462 \lang english
21463 bottomarea Bottom area color
21464 \end_layout
21465
21466 \begin_layout Description
21467
21468 \lang english
21469 newpage New page color 
21470 \end_layout
21471
21472 \begin_layout Description
21473
21474 \lang english
21475 pagebreak Page break color
21476 \end_layout
21477
21478 \begin_layout Description
21479
21480 \lang english
21481 buttonframe Color used for button frame
21482 \end_layout
21483
21484 \begin_layout Description
21485
21486 \lang english
21487 buttonbg Color used for bottom background
21488 \end_layout
21489
21490 \begin_layout Description
21491
21492 \lang english
21493 buttonhoverbg Color used for buttom under focus 
21494 \end_layout
21495
21496 \begin_layout Description
21497
21498 \lang english
21499 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
21500  
21501 \end_layout
21502
21503 \begin_layout Description
21504
21505 \lang english
21506 previewframe Preview frame color
21507 \end_layout
21508
21509 \begin_layout Description
21510
21511 \lang english
21512 inherit Color is inherited 
21513 \end_layout
21514
21515 \begin_layout Description
21516
21517 \lang english
21518 regexpframe Color for regexp frame
21519 \end_layout
21520
21521 \begin_layout Description
21522
21523 \lang english
21524 ignore For ignoring updates of a color
21525 \end_layout
21526
21527 \end_body
21528 \end_document