1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/de/
9 % Präambel nicht verändern!!!
11 % Die Präambel stellt sicher, dass das Benutzerhandbuch korrekt
12 % in die Formate pdf, ps und dvi exportiert werden kann.
13 % Wenn Probleme beim Exportieren auftreten, können Sie sich
14 % an das LyX-Dokumentationsteam wenden.
15 % EMail: lyx-docs@lists.lyx.org
17 % Setzt den Link für Spruenge zu Gleitabbildungen
18 % auf den Anfang des Gelitobjekts und nicht aufs Ende
19 \usepackage[figure]{hypcap}
21 % Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
22 % ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
23 \let\myTOC\tableofcontents
24 \renewcommand\tableofcontents{%
26 \pdfbookmark[1]{\contentsname}{}
30 \@ifpackageloaded{babel}{
31 % Linkfläche für Querverweise vergrößern und automatisch benennen,
32 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
33 \addto\extrasngerman{%
34 \renewcommand*{\equationautorefname}[1]{}%
35 \renewcommand{\sectionautorefname}{Kap.\negthinspace}%
36 \renewcommand{\subsectionautorefname}{Kap.\negthinspace}%
37 \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}%
41 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
42 \use_default_options false
46 \maintain_unincluded_children false
48 \language_package default
51 \font_roman "lmodern" "default"
52 \font_sans "lmss" "default"
53 \font_typewriter "lmtt" "default"
54 \font_math "auto" "auto"
55 \font_default_family default
56 \use_non_tex_fonts false
59 \font_sf_scale 100 100
60 \font_tt_scale 100 100
63 \default_output_format pdf2
65 \bibtex_command default
66 \index_command default
70 \pdf_title "LyX-Anpassung: Möglichkeiten für fortgeschrittene Benutzer"
71 \pdf_author "LyX Team, deutsche Übersetzung: Peter Sütterlin, Leif Albers und Hartmut Haase"
72 \pdf_subject "LyX-Dokumentation, Anpassung"
73 \pdf_keywords "LyX, Dokumentation"
75 \pdf_bookmarksnumbered true
76 \pdf_bookmarksopen true
77 \pdf_bookmarksopenlevel 1
82 \pdf_pdfusetitle false
83 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
86 \use_package amsmath 0
87 \use_package amssymb 0
90 \use_package mathdots 0
91 \use_package mathtools 0
93 \use_package stackrel 0
94 \use_package stmaryrd 0
95 \use_package undertilde 0
97 \cite_engine_type default
101 \paperorientation portrait
105 \notefontcolor #0000ff
111 \index Stichwortverzeichnis
117 \paragraph_separation indent
118 \paragraph_indentation default
119 \quotes_language german
122 \paperpagestyle headings
123 \tracking_changes false
124 \output_changes false
127 \html_be_strict false
135 \begin_inset Newline newline
138 Möglichkeiten für fortgeschrittene Benutzer
147 \begin_layout Plain Layout
174 \begin_inset Newline newline
178 \begin_inset Newline newline
184 \begin_layout Standard
185 \begin_inset CommandInset toc
186 LatexCommand tableofcontents
193 \begin_layout Chapter
197 \begin_layout Standard
198 In diesem Teil der Dokumentation wird beschrieben, welche Möglichkeiten
200 bietet, um es den eigenen Wünschen anzupassen.
201 Es werden Dinge wie Tastaturkürzel, Vorschau am Bildschirm, Optionen zum
202 Drucken, das Senden von Befehlen an \SpecialChar LyX
203 durch den \SpecialChar LyX
204 -Server, Internationalisierung,
205 Installation neuer \SpecialChar LaTeX
206 -Klassen und \SpecialChar LyX
208 \begin_inset space \space{}
212 Es kann hier nicht alles beschrieben werden, das an \SpecialChar LyX
213 individuell eingestellt
214 und verändert werden kann — die Entwickler fügen Neuerungen schneller ein,
215 als wir sie dokumentieren können — doch werden die grundlegenden Fähigkeiten
217 dokumentiert sowie für einige der etwas obskuren Hinweise gegeben.
220 \begin_layout Standard
221 Mit der Version 1.1.6 von \SpecialChar LyX
222 wurde eine neue Schnittstelle zu den konfigurierbaren
223 Eigenschaften eingeführt, die Sie über den Menüpunkt
225 Werkzeuge\SpecialChar menuseparator
230 Diese macht die weiter unten aufgeführten Erläuterungen zu den Konfigurationsda
231 teien von \SpecialChar LyX
232 nicht überflüssig, aber es vereinfacht doch den Prozess, \SpecialChar LyX
238 Bedürfnisse anzupassen.
241 \begin_layout Chapter
242 Die Konfigurationsdateien von \SpecialChar LyX
246 \begin_layout Standard
247 Dieses Kapitel soll Ihnen dabei helfen, sich mit den Konfigurationsdateien
250 Bevor Sie jedoch weiterlesen, sollten Sie herausfinden, wo sich das Systemverze
251 ichnis von \SpecialChar LyX
252 auf Ihrem Rechner befindet.
253 Sie erfahren dies über den Menüpunkt
255 Hilfe\SpecialChar menuseparator
263 In diesem Verzeichnis speichert \SpecialChar LyX
264 alle systemweiten Konfigurationsdateien,
265 wir werden es im weiteren
274 \begin_layout Section
284 \begin_layout Standard
291 sowie seine Unterverzeichnisse enthalten eine Anzahl Dateien, mit denen
292 das Verhalten von \SpecialChar LyX
293 beeinflusst werden kann.
294 Diese Dateien können direkt von \SpecialChar LyX
297 Werkzeuge\SpecialChar menuseparator
301 gelesen und geändert werden.
302 Fast alles, was Sie möglicherweise an \SpecialChar LyX
303 ändern wollen, können Sie hier einstelle
305 Jedoch können auch viele interne Dinge in \SpecialChar LyX
306 angepasst werden, indem man
307 diverse andere Dateien in
314 Sie sind in verschiedene Kategorien unterteilt, die in den folgenden Unterabsch
315 nitten behandelt werden.
318 \begin_layout Subsection
319 Automatisch erzeugte Dateien
322 \begin_layout Standard
323 Diese Dateien werden automatisch bei der Konfiguration von \SpecialChar LyX
325 Sie enthalten verschiedene Standardwerte, die durch Untersuchung des Systems
327 Normalerweise sollte man sie nicht verändern, da sie jederzeit von \SpecialChar LyX
332 \begin_layout Labeling
333 \labelwidthstring 00.00.0000
340 enthält Standardwerte für diverse Befehle.
341 Einstellungen, die Ihnen nicht zusagen, können einfach über
343 Werkzeuge\SpecialChar menuseparator
350 \begin_layout Labeling
351 \labelwidthstring 00.00.0000
358 enthält eine Auf\SpecialChar ligaturebreak
359 listung aller \SpecialChar LaTeX
360 -Pakete, die von \SpecialChar LyX
362 Derzeit wird diese Liste von \SpecialChar LyX
363 selber nicht benutzt, jedoch ist die Information,
364 zusammen mit einigem anderen, über den Menüpunkt
366 Hilfe\SpecialChar menuseparator
368 \begin_inset space \space{}
376 \begin_layout Labeling
377 \labelwidthstring 00.00.0000
384 ist eine Liste mit den im Verzeichnis
388 gefundenen Textklassen, zusammen mit den entsprechenden \SpecialChar LaTeX
390 und einer kurzen Beschreibung.
393 \begin_layout Labeling
394 \labelwidthstring 00.00.0000
403 wird bei der Konfiguration aus der Datei
410 \begin_inset Newline linebreak
416 Jeder Eintrag der Form
428 ersetzt, je nachdem, ob das Paket
435 \begin_layout Subsection
439 \begin_layout Labeling
440 \labelwidthstring 00.00.0000
447 Dieses Verzeichnis enthält Dateien mit der Endung
452 In ihnen werden die Tastenkombinationen festgelegt, mit denen Sie Menüs
453 öffnen und Bearbeitungsoperationen direkt starten können.
458 mit einer an die internationalisierte Version von \SpecialChar LyX
459 angepassten Tastenbelegung
460 existiert, wird diese bevorzugt geladen.
461 Näheres dazu finden Sie in
462 \begin_inset CommandInset ref
464 reference "cha:Internationales-LyX"
471 \begin_layout Labeling
472 \labelwidthstring 00.00.0000
479 Hier sind einige PostScript-Bilder gespeichert, die Sie in Ihre Dokumente
484 \begin_layout Labeling
485 \labelwidthstring 00.00.0000
492 Enthält die Dateien der \SpecialChar LyX
493 -Dokumentation (einschließlich der, die Sie gerade
495 Eine kleine Ausnahmestellung hat die bereits beschriebene Datei
504 Auch hier wird eine übersetzte Version mit dem Vorsatz
508 vor dem Dateinamen zuerst gesucht und, falls vorhanden, geladen.
510 \begin_inset CommandInset ref
512 reference "cha:Internationales-LyX"
519 \begin_layout Labeling
520 \labelwidthstring 00.00.0000
527 Enthält Beispieldateien, die erläutern, wie Sie die unterschiedlichen Möglichke
528 iten von \SpecialChar LyX
530 Verwenden Sie die Schaltfläche
534 im Dateiauswahlmenü, um in dieses Verzeichnis zu gelangen.
537 \begin_layout Labeling
538 \labelwidthstring 00.00.0000
543 Enthält Bilddateien, die von der Dialogbox
549 Do\SpecialChar softhyphen
550 ku\SpecialChar softhyphen
553 \SpecialChar menuseparator
559 Außerdem finden Sie hier die unterschiedlichen Icons für die Werkzeugleiste
560 und das Bild für den Startbildschirm.
563 \begin_layout Labeling
564 \labelwidthstring 00.00.0000
571 Hier sind die Definitionsdateien für die Tastaturbelegung gespeichert.
572 Näheres dazu finden Sie im
573 \begin_inset CommandInset ref
575 reference "sec:Internationale-Tastaturtabellen"
582 \begin_layout Labeling
583 \labelwidthstring 00.00.0000
591 \begin_inset CommandInset ref
593 reference "cha:Installieren-neuer-Textklassen"
597 beschriebenen Layoutdateien für die unterschiedlichen Dokumentenklassen
601 \begin_layout Labeling
602 \labelwidthstring 00.00.0000
607 / Enthält Dateien, die für die Konvertierung zwischen verschiedenen \SpecialChar LyX
612 \begin_layout Plain Layout
619 Versionen benötigt werden.
622 \begin_layout Labeling
623 \labelwidthstring 00.00.0000
628 / Hier sind einige Python-Skripte abgelegt, die \SpecialChar LyX
629 für bestimmte interne Operation
633 \begin_layout Labeling
634 \labelwidthstring 00.00.0000
639 / Enthält die Vorlagendateien, die Ihnen bei
641 Datei\SpecialChar menuseparator
643 \begin_inset space \space{}
647 \begin_inset space \space{}
652 präsentiert werden, siehe
653 \begin_inset CommandInset ref
655 reference "subsec:Vorlagen-erstellen"
662 \begin_layout Labeling
663 \labelwidthstring 00.00.0000
668 Einige \SpecialChar LyX
669 -spezifische \SpecialChar LaTeX
675 \begin_inset Newline linebreak
685 \begin_layout Labeling
686 \labelwidthstring 00.00.0000
691 Hier finden Sie Dateien mit der Endung
695 , die die Benutzerschnitt\SpecialChar softhyphen
696 stel\SpecialChar softhyphen
697 le von \SpecialChar LyX
698 festlegen, also welche Einträge in
699 welchen Menüs sind, und wie die Werkzeugleiste zusammengesetzt ist.
702 \begin_layout Subsection
703 Dateien, die Sie nicht verändern sollten
706 \begin_layout Standard
707 Die folgenden Dateien werden intern von \SpecialChar LyX
709 Sie sollten im Normalfall nur von den Entwicklern editiert werden.
712 \begin_layout Labeling
713 \labelwidthstring 00.00.0000
720 Diese Datei enthält eine Liste der Entwickler.
721 Ihr Inhalt wird über die Menüauswahl
723 Hilfe\SpecialChar menuseparator
725 \begin_inset space \space{}
733 \begin_layout Labeling
734 \labelwidthstring 00.00.0000
741 ist ein \SpecialChar LaTeX
742 -Skript, das bei der Konfiguration verwendet wird.
743 Starten Sie es nie direkt.
746 \begin_layout Labeling
747 \labelwidthstring 00.00.0000
754 ist das eigentliche Skript, das zur Neukonfiguration von \SpecialChar LyX
756 Es erzeugt die Konfigurationsdateien in dem Verzeichnis, von dem aus es
760 \begin_layout Subsection
764 \begin_layout Labeling
765 \labelwidthstring 00.00.0000
770 Die hier enthaltene Tabelle beschreibt, wie die unterschiedlichen Zeichenkodier
771 ungen in Unicode dargestellt werden.
774 \begin_layout Labeling
775 \labelwidthstring 00.00.0000
780 Diese Datei enthält die Vorlagen für das Feature
783 \begin_inset space \space{}
790 \begin_inset CommandInset ref
792 reference "cha:Externes-Material-einfügen"
799 \begin_layout Labeling
800 \labelwidthstring 00.00.0000
805 Eine Liste mit allen derzeit von \SpecialChar LyX
806 unterstützten Sprachen.
809 \begin_layout Labeling
810 \labelwidthstring 00.00.0000
811 \begin_inset Flex Code
814 \begin_layout Plain Layout
820 Diese Datei enthält Informationen über die unterstützen \SpecialChar LaTeX
824 \begin_layout Labeling
825 \labelwidthstring 00.00.0000
826 \begin_inset Flex Code
829 \begin_layout Plain Layout
835 Diese Datei enthält Übersetzungen für lokalisierbare Absatzstile (siehe
837 \begin_inset CommandInset ref
839 reference "subsec:I18n"
846 \begin_layout Labeling
847 \labelwidthstring 00.00.0000
848 \begin_inset Flex Code
851 \begin_layout Plain Layout
857 Diese Datei enthält Informationen über Unicode-kodierte Glyphen (Zeichen)
858 und die Art und Weise, wie diese in \SpecialChar LyX
859 mit Hilfe von \SpecialChar LaTeX
863 \begin_layout Section
864 Das lokale Konfigurationsverzeichnis
867 \begin_layout Standard
868 Eventuell benutzen Sie \SpecialChar LyX
869 als normaler Benutzer und wollen dennoch einige
870 Einstellungen der Konfiguration ändern.
871 Zu diesem Zweck gibt es ein benutzereigenes Verzeichnis
875 , in dem Ihre gesamte persönliche Konfiguration gespeichert wird.
876 Der Name dieses Verzeichnisses wird als
882 Hilfe\SpecialChar menuseparator
890 Dieses Verzeichnis wird als Spiegelung des systemweiten Verzeichnisses
892 Das bedeutet, dass jede Datei, die Sie dort speichern, die entsprechende
893 Datei im Systemverzeichnis ersetzt.
894 Jede der im vorigen Abschnitt beschriebenen Konfigurationsdateien kann
895 sich entweder im Systemverzeichnis
901 oder aber in Ihrem privaten Verzeichnis befinden.
902 Im ersten Fall gelten die Einstellungen für alle Benutzer, im zweiten Fall
906 \begin_layout Standard
907 Dies lässt sich an einigen Beispielen leichter erklären:
910 \begin_layout Itemize
911 Um eine \SpecialChar LyX
912 Version älter als 1.1.6 umzukonfigurieren, musste der Benutzer zunächst
914 \begin_inset Flex URL
917 \begin_layout Plain Layout
925 \begin_inset Note Note
928 \begin_layout Plain Layout
929 HHa: wie bereits im Benutzerhandbuch erwähnt, ist URL eine einfache Möglichkeit,
930 um Schreibmaschinenformat umzubrechen.
939 kopieren und diese dann manuell editieren.
940 Neuere Versionen von \SpecialChar LyX
941 lesen diese Datei zwar noch, wenn sie in
945 gefunden wird, aber alle Änderungen, die über den neuen Dialog
947 Werkzeuge\SpecialChar menuseparator
950 gemacht werden, werden in der Datei
955 Danach (das heißt wenn
959 gefunden wird) wird die alte
963 nicht mehr eingelesen und kann gelöscht werden.
967 \begin_layout Itemize
968 Wenn Sie mit dem Menüpunkt
970 Werkzeuge\SpecialChar menuseparator
972 \begin_inset space \space{}
977 eine Neukonfiguration von \SpecialChar LyX
978 durchführen, werden die dabei erzeugten Dateien
979 in Ihrem privaten Konfigurationsverzeichnis
984 Das bedeutet, dass ab sofort etwaige neue Dokumentenklassen, die Sie in
989 gespeichert haben, im Feld
997 \SpecialChar menuseparator
1006 \begin_layout Itemize
1007 Falls Sie irgendwelche Dateien für neue \SpecialChar LaTeX
1008 -Dokumentenklassen in einem Verzeichnis
1009 installiert haben, das \SpecialChar LaTeX
1010 über die Umgebungsvariable
1012 TEX\SpecialChar softhyphen
1013 IN\SpecialChar softhyphen
1016 findet, können auch diese in \SpecialChar LyX
1021 \begin_layout Plain Layout
1022 vorausgesetzt, es gibt auch eine
1034 \begin_layout Itemize
1035 Wenn Sie sich von einem \SpecialChar LyX
1036 -FTP-Server eine aktuellere Version (oder zum Beispiel
1037 diese deutsche Version) der Dokumentation besorgt haben, sie aber nicht
1042 installieren können, da Sie keine Systemadministratorrechte haben, können
1043 Sie diese Dateien einfach nach
1047 kopieren, und sie werden automatisch über das
1054 \begin_layout Section
1056 mit mehreren Konfigurationen
1059 \begin_layout Standard
1060 Die hochgradige Konfigurierbarkeit von \SpecialChar LyX
1061 durch das lokale Verzeichnis wird
1062 für diejenigen nicht ausreichend sein, die parallel mehrere unterschiedliche
1063 Konfigurationen verwenden wollen, zum Beispiel unterschiedliche Tastaturkürzel
1064 und/oder Druckerkonfigurationen.
1065 Sie können dies durch das Anlegen von mehreren Konfigurationsverzeichnissen
1066 erreichen und \SpecialChar LyX
1067 jeweils beim Start mitteilen, welches davon verwendet werden
1071 \begin_layout Standard
1072 Indem Sie \SpecialChar LyX
1083 starten, erreichen Sie, dass die Konfiguration aus diesem Verzeichnis anstelle
1084 des Standardverzeichnisses gelesen wird (das Standardverzeichnis ermitteln
1085 Sie, indem Sie \SpecialChar LyX
1086 ohne diese Option starten).
1087 Falls das so angegebene Verzeichnis noch nicht existiert, fragt \SpecialChar LyX
1089 wie beim ersten Start nach, ob es angelegt werden soll.
1090 Die Konfiguration in diesem Verzeichnis können Sie dann wie im Normalfall
1092 verändern, die Einstellungen im Standardverzeichnis werden aber nicht
1093 verändert – beide Verzeichnisse sind völlig unabhängig.
1094 Anstelle der Kommandozeilenoption können Sie übrigens auch die Umgebungsvariabl
1099 auf das zu verwendende Verzeichnis setzen.
1102 \begin_layout Standard
1103 Unterschiedliche Konfigurationsverzeichnisse bedeuten aber auch zusätzlichen
1104 Aufwand: Wenn Sie etwa eine neue Layoutdatei in
1108 hinzufügen und diese für alle Konfigurationen sichtbar sein soll, müssen
1113 Verzeichnissen separat hinzufügen.
1114 Sie können das jedoch mit einem Trick umgehen: Nachdem \SpecialChar LyX
1116 angelegt hat, sind praktisch alle Unterverzeichnisse (siehe oben) leer.
1117 Sie können also all diese Verzeichnis durch einen symbolischen Link auf
1118 das entsprechende Verzeichnis im originalen
1123 Lediglich mit dem Verzeichnis
1127 müssen Sie vorsichtig sein, denn dort wird eine Datei durch das Konfigurationss
1130 Werkzeuge\SpecialChar menuseparator
1132 \begin_inset space \space{}
1137 ) abgelegt, die konfigurationsabhängig ist.
1140 \begin_layout Chapter
1141 Der Dialog Werkzeuge
1143 \SpecialChar menuseparator
1151 \begin_layout Section
1153 \begin_inset CommandInset label
1162 \begin_layout Standard
1163 Als ersten Schritt müssen Sie Ihre Dateiformate definieren, wenn das nicht
1164 bereits passiert ist.
1167 Werkzeuge\SpecialChar menuseparator
1168 Einstellungen\SpecialChar menuseparator
1169 Datei-Handhabung\SpecialChar menuseparator
1181 -Feld enthält den Namen, unter dem das Format im GUI identifiziert wird.
1185 \begin_inset space \space{}
1190 steht der Name, mit dem das Format intern identifiziert wird.
1196 Diese drei Felder sind erforderlich.
1208 Dokument\SpecialChar menuseparator
1209 Ansicht\SpecialChar menuseparator
1215 \begin_layout Standard
1218 Bearbeitungsprogramm
1225 Am Beispiel von JPEG-Dateien steht bei mir in beiden Feldern
1230 Was bei Ihnen steht, hängt von der Software-Ausstattung Ihres PCs ab.
1231 Zum Definieren des Befehls können auch die vier Variablen aus dem nächsten
1232 Abschnitt benutzt werden.
1235 Bearbeitungsprogramm
1237 wird aufgerufen, wenn Sie nach einem Rechtsklick auf ein Bild
1240 \begin_inset space \space{}
1244 \begin_inset space \space{}
1252 \begin_layout Standard
1257 \begin_layout Plain Layout
1261 Multipurpose Internet Mail Extensions
1264 ) ist ein Kodierstandard, der ursprünglich entwickelt wurde, um die Struktur
1265 und den Aufbau von E-Mails festzulegen.
1266 Er wird mittlerweile aber auch zur generellen Bestimmung von Dateiformaten
1272 eines Formats muss nicht zwingend angegeben werden, wenn er aber angegeben
1273 wird, dann sollte dies einheitlich über alle Formatvarianten hinweg geschehen.
1274 Der MIME-Typ wird verwendet, um ein Dateiformat über den Dateiinhalt zu
1276 Für einige wichtige Dateiformate wurde von der zuständigen Organisation
1278 \begin_inset CommandInset href
1281 target "http://www.iana.org/assignments/media-types/"
1285 ) noch kein offizielles MIME-Typ festgelegt.
1287 verwendet daher die erweiterte inoffizielle Liste, die von
1288 \begin_inset CommandInset href
1290 name "freedesktop.org"
1291 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1298 \begin_layout Standard
1303 angekreuzt ist, weiß \SpecialChar LyX
1304 , dass das Format für den Dokumentexport geeignet
1306 Wenn dann auch noch ein geeigneter Konverter existiert (siehe
1307 \begin_inset CommandInset ref
1309 reference "sec:Konverter"
1313 ), wird das Format unter
1315 Datei\SpecialChar menuseparator
1319 Außerdem wird es im Menü
1321 Dokument\SpecialChar menuseparator
1324 erscheinen, wenn ein
1329 Reine Grafikformate wie
1333 sollten diese Option nicht benutzen, dagegen aber Formate, die sowohl Vektorgra
1334 fiken als auch Dokumente repräsentieren wie
1341 \begin_layout Standard
1346 sagt \SpecialChar LyX
1347 , dass ein Format Vektorgrafiken ent\SpecialChar softhyphen
1349 Diese Information wird dazu benutzt, um ein Zielformat für eingefügte Grafiken
1354 -Export zu bestimmen.
1355 Eingefügte Grafiken müs\SpecialChar softhyphen
1368 konvertiert werden, weil
1372 keine anderen Grafikformate handhaben kann.
1373 Hat eine eingefügte Grafik bereits eines der Formate, wird sie nach pdf
1378 angekreuzt ist, sonst nach
1385 \begin_layout Section
1389 \begin_layout Standard
1390 Weil alle Konvertierungen im temporären Verzeichnis von \SpecialChar LyX
1392 eine Datei manchmal geändert werden bevor sie ins temporäre Verzeichnis
1393 kopiert wird, damit die Konvertierung durchgeführt werden kann.
1397 \begin_layout Plain Layout
1398 Wenn die Datei beispielsweise auf andere Dateien mit relativen Pfaden verweist
1399 – vielleicht Bilder – und diese Pfade beim Kopieren ungültig werden.
1404 Das macht ein Kopierer: er kopiert eine Datei ins (oder vom) temporären
1405 Verzeichnis und ändert sie dabei.
1408 \begin_layout Standard
1409 Die Definitionen der Kopierer können acht Variablen benutzen:
1412 \begin_layout Labeling
1413 \labelwidthstring 00.00.0000
1414 \begin_inset Flex Code
1417 \begin_layout Plain Layout
1423 ist das Systemverzeichnis von \SpecialChar LyX
1427 \begin_inset Newline linebreak
1435 \begin_layout Labeling
1436 \labelwidthstring 00.00.0000
1437 \begin_inset Flex Code
1440 \begin_layout Plain Layout
1446 ist die Eingabedatei.
1449 \begin_layout Labeling
1450 \labelwidthstring 00.00.0000
1451 \begin_inset Flex Code
1454 \begin_layout Plain Layout
1460 ist die Ausgabedatei.
1463 \begin_layout Labeling
1464 \labelwidthstring 00.00.0000
1465 \begin_inset Flex Code
1468 \begin_layout Plain Layout
1474 Der Basisname (ohne Dateinamenerweiterung), wie er im temporären \SpecialChar LyX
1479 \begin_layout Labeling
1480 \labelwidthstring 00.00.0000
1481 \begin_inset Flex Code
1484 \begin_layout Plain Layout
1490 ist der vollständige Dateipfad des temporären \SpecialChar LyX
1494 \begin_layout Labeling
1495 \labelwidthstring 00.00.0000
1496 \begin_inset Flex Code
1499 \begin_layout Plain Layout
1505 ist der vollständige Dateipfad der \SpecialChar LyX
1509 \begin_layout Labeling
1510 \labelwidthstring 00.00.0000
1511 \begin_inset Flex Code
1514 \begin_layout Plain Layout
1520 ist der Dateiname der \SpecialChar LyX
1521 -Datei (ohne Verzeichnispfad).
1524 \begin_layout Labeling
1525 \labelwidthstring 00.00.0000
1526 \begin_inset Flex Code
1529 \begin_layout Plain Layout
1541 Dies sollte der Dateiname sein, den \SpecialChar LaTeX
1549 Er ist nur dann relevant, wenn die expor\SpecialChar softhyphen
1550 tier\SpecialChar softhyphen
1551 ten Dateien für den Befehl
1555 \begin_layout Standard
1556 Kopierer können benutzt werden, um
1560 alles mit Ausgabedateien zu machen.
1561 Wenn Sie zum Beispiel
1565 -Dateien in ein spezielles Verzeichnis kopieren wollen, können Sie ein Shell-Skr
1566 ipt wie folgt schreiben:
1569 \begin_layout LyX-Code
1573 \begin_layout LyX-Code
1577 \begin_layout LyX-Code
1578 TOFILE=`basename $2`
1581 \begin_layout LyX-Code
1582 cp $FROMFILE /home/you/pdf/$TOFILE
1585 \begin_layout Standard
1586 Speichern Sie das Skript ausführbar in Ihrem lokalen \SpecialChar LyX
1590 /home/you/lyx/scripts/pdfkopierer.sh
1595 Werkzeuge\SpecialChar menuseparator
1596 Ein\SpecialChar softhyphen
1597 stel\SpecialChar softhyphen
1598 lun\SpecialChar softhyphen
1599 gen\SpecialChar menuseparator
1600 Datei-Handhabung\SpecialChar menuseparator
1606 \begin_inset space \space{}
1611 und tragen im Kopierer-Feld
1613 pdfkopierer.sh $$i $$o
1618 \begin_layout Standard
1619 Kopierer werden von \SpecialChar LyX
1620 in vielen eigenen Konvertierungen benutzt.
1621 Wenn auf dem PC geeignete Programme installiert sind, wird \SpecialChar LyX
1630 \begin_inset space \space{}
1634 \begin_inset space \space{}
1640 Wenn diese Formate exportiert werden,
1644 der Kopierer, dass nicht nur die Haupt-HTML-Datei, sondern auch verschiedene
1645 zugehörige Dateien (Stildateien, Bilder usw.) kopiert werden müssen.
1646 All diese Dateien werden in ein Unterverzeichnis des Verzeichnisses geschrieben
1647 , in dem die \SpecialChar LyX
1652 \begin_layout Plain Layout
1653 Kopierer können angepasst werden.
1654 Der optionale Parameter
1658 kann eine durch Kommata getrennte Liste von Erweiterungen enthalten, die
1659 mitkopiert werden sollen.
1660 Wenn es fehlt, werden alle Dateien kopiert.
1665 bestimmt die Namenserweiterung, die an den erzeugten Verzeichnisnamen angehängt
1667 Standardmäßig ist es
1675 erzeugte HTML-Datei im Unterverzeichnis
1691 \begin_layout Section
1693 \begin_inset CommandInset label
1695 name "sec:Konverter"
1702 \begin_layout Standard
1703 Sie können eigene Konverter in
1705 Werkzeuge\SpecialChar menuseparator
1706 Ein\SpecialChar softhyphen
1707 stel\SpecialChar softhyphen
1708 lun\SpecialChar softhyphen
1709 gen\SpecialChar menuseparator
1710 Datei-Handhabung\SpecialChar menuseparator
1711 Kon\SpecialChar softhyphen
1718 \begin_inset space \space{}
1726 \begin_inset space \space{}
1731 jeweils eins aus, schreiben den benötigten Befehl ins Feld
1740 Sie können im Befehl mehrere Variablen benutzen:
1743 \begin_layout Labeling
1744 \labelwidthstring 00.00.0000
1749 ist das Systemverzeichnis von \SpecialChar LyX
1753 \begin_inset Newline linebreak
1761 \begin_layout Labeling
1762 \labelwidthstring 00.00.0000
1767 ist die Eingabedatei.
1770 \begin_layout Labeling
1771 \labelwidthstring 00.00.0000
1776 ist die Ausgabedatei.
1779 \begin_layout Labeling
1780 \labelwidthstring 00.00.0000
1785 ist der Dateiname ohne Erweiterung (siehe Linux-Befehl
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1798 ist der Pfad zur Eingabedatei.
1801 \begin_layout Labeling
1802 \labelwidthstring 00.00.0000
1807 ist der Pfad zur ursprünglichen Eingabedatei.
1808 Wenn eine Kette von Konvertern aufgerufen wird, weicht er von
1815 \begin_layout Standard
1816 Ins Feld Zusatz-Flag können Sie folgende, durch Kommata getrennte, Flags
1817 schrei\SpecialChar softhyphen
1821 \begin_layout Labeling
1822 \labelwidthstring 00.00.0000
1827 Damit ein besonderer \SpecialChar LaTeX
1828 -Lauf gestartet, der die \SpecialChar LaTeX
1829 -Fehlermel\SpecialChar softhyphen
1830 dun\SpecialChar softhyphen
1831 gen von \SpecialChar LyX
1836 \begin_layout Labeling
1837 \labelwidthstring 00.00.0000
1842 benötigt die \SpecialChar LaTeX
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1855 \begin_layout Plain Layout
1862 \begin_inset Quotes gld
1866 \begin_inset Quotes grd
1869 Datei, also eine, die so aussieht, wie die, die man über das Menü exportiert
1870 (ohne interne Hilfsbefehle wie
1871 \begin_inset Flex Code
1874 \begin_layout Plain Layout
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1889 Damit wird die Ausgabe im XML-Format gespeichert.
1892 \begin_layout Standard
1893 Die folgenden Flags sind keine richtigen, weil sie ein Argument der Form
1901 \begin_layout Labeling
1902 \labelwidthstring 00.00.0000
1907 Wenn das gesetzt ist, wird der Standardfehler des Konverters in die Datei
1912 umgeleitet, und das Skript wird so ausgeführt:
1915 \begin_inset space \space{}
1919 \begin_inset space \space{}
1923 \begin_inset space \space{}
1927 \begin_inset space \space{}
1937 ent\SpecialChar softhyphen
1941 \begin_layout Labeling
1942 \labelwidthstring 00.00.0000
1947 ist der Name des Verzeichnisses, in dem der Konverter die erzeugten Dateien
1950 wird das Verzeichnis nicht anlegen und auch nichts hineinkopieren, aber
1951 dieses Verzeichnis an seinen Bestimmungs\SpecialChar softhyphen
1957 enthalten, was durch die Basisnamen von Ein- oder Ausgabedatei ersetzt
1958 wird, wenn das Verzeichnis kopiert wird.
1959 \begin_inset Newline newline
1970 zusammen keinen Sinn machen.
1971 Wenn das erste definiert wurde, wird das zweite ignoriert.
1974 \begin_layout Labeling
1975 \labelwidthstring 00.00.0000
1980 ist der Name der Ausgabedatei und darf
1985 Er wird nur zusammen mit
1989 benutzt und ist auch da nur optional.
1990 Wenn er nicht angegeben wird, wird
1997 \begin_layout Standard
1998 Keines dieser Flags wird zur Zeit in einem Konverter benutzt, der zusammen
1999 mit \SpecialChar LyX
2003 \begin_layout Standard
2004 Sie müssen nicht für alle Formate, zwischen denen Sie konvertieren wollen,
2005 Konverter definieren.
2006 Zum Beispiel gibt es keinen Konverter von \SpecialChar LyX
2007 nach PostScript, aber \SpecialChar LyX
2009 PostScript exportieren.
2010 Dies geschieht, indem zunächst eine \SpecialChar LaTeX
2011 -Datei erzeugt wird – dafür wird auch
2012 kein Konverter benötigt –, die dann mit dem Konverter von \SpecialChar LyX
2014 eine DVI-Datei konvertiert wird, die schließlich nach PostScript konvertiert
2017 findet solche Konverter-Ketten automatisch und wird immer die kürzeste
2021 \begin_layout Standard
2022 Trotzdem können Sie Mehrfachkonversionen zwischen Dateiformaten definieren.
2023 Zum Beispiel liefert die Standardkonfiguration von \SpecialChar LyX
2025 um von \SpecialChar LaTeX
2026 nach PDF zu konvertieren:
2029 \begin_layout Enumerate
2035 \begin_layout Enumerate
2040 über DVI und PostScript
2043 \begin_layout Enumerate
2051 \begin_layout Enumerate
2058 \begin_layout Enumerate
2065 \begin_layout Standard
2066 Um andere Ketten zu definieren, müssen Sie andere Ziel-
2071 \begin_inset CommandInset ref
2073 reference "sec:Formate"
2078 Zum Beispiel enthält die Standardkonfiguration verschiedene Formate für
2124 \begin_layout Chapter
2125 Internationales \SpecialChar LyX
2127 \begin_inset CommandInset label
2129 name "cha:Internationales-LyX"
2136 \begin_layout Standard
2139 Anmerkung des Übersetzers: Dieses Kapitel behandelt zwei Themenbereiche.
2141 \begin_inset CommandInset ref
2143 reference "sec:Eine-andere-Sprache"
2148 \begin_inset CommandInset ref
2150 reference "sec:Tastaturkürzel-für-andere"
2154 erklärt, wie man \SpecialChar LyX
2155 mitteilt, dass man in einer fremdsprachlichen Umgebung
2157 Der überwiegende Rest des Kapitels erläutert, wie man \SpecialChar LyX
2158 an eine neue Sprache
2159 anpasst, das heißt wie man es übersetzt.
2160 Da diese Arbeiten für eine deutsche Umgebung bereits erledigt wurden, dürfte
2161 dieser Teil des Kapitels für die Leser dieser Übersetzung weitgehend uninteress
2163 Die letzten beiden Abschnitte,
2164 \begin_inset CommandInset ref
2166 reference "sec:Internationale-Tastaturbelegung"
2171 \begin_inset CommandInset ref
2173 reference "sec:Internationale-Tastaturtabellen"
2177 , waren bei der Übersetzung noch nicht ganz up to date.
2181 \begin_layout Standard
2183 kann mit übersetzten Versionen seiner Benutzerschnittstelle arbeiten.
2184 Als dieser Text erstellt wurde, waren über den normalen englischen Text
2185 Anpassungen für 23 Sprachen Bestandteil der \SpecialChar LyX
2187 Die von Ihnen benutze Sprache zeigt Ihnen der Befehl
2192 (Für weitere Informationen über
2196 -Definitionen ist die Manpage
2200 ein guter Startpunkt.)
2203 \begin_layout Standard
2204 Bitte beachten Sie, dass diese Übersetzungen zwar funktionieren, aber oft
2205 ein paar Einschränkungen unterliegen.
2206 Insbesondere wurde das Design der Popup-Menüs auf den englischen Text zugeschni
2208 Das bedeutet, dass der übersetzte Text an einigen Stellen mehr Platz benötigt
2209 als dort zur Verfügung steht.
2210 Dies ist natürlich nur ein Darstellungsproblem und schränkt nicht die Funktions
2211 weise von \SpecialChar LyX
2213 Sie werden auch feststellen, dass einige Übersetzungen nicht für alle Menüpunkt
2214 e Tastenkürzel definieren.
2215 Manchmal stehen einfach nicht genügend freie Buchstaben zur Verfügung,
2216 manchmal hatte der Übersetzer einfach bisher keine Zeit, sich darum zu
2220 \begin_layout Standard
2221 Wir werden versuchen, diese Dinge in einer späteren Version zu korrigieren.
2224 \begin_layout Section
2229 \begin_layout Subsection
2230 Die Benutzerschnittstelle übersetzen (Textmeldungen)
2233 \begin_layout Standard
2235 verwendet die GNU-gettext-Bibliothek, um die Internationalisierung der
2236 Benutzerschnittstelle zu verwalten.
2238 dazu zu bringen, in allen Menüs und Dialog-Boxen Ihre Lieblingssprache
2239 zu verwenden, müssen Sie eine
2243 -Datei für diese Sprache erstellen.
2244 Anschließend müssen Sie daraus eine
2248 -Datei erzeugen und diese installieren.
2249 Eine umfassende Anleitung dazu finden Sie in der Dokumentation für GNU
2254 \begin_layout Plain Layout
2255 Natürlich nur auf englisch.
2256 Die Veränderungen, die an der
2260 -Datei durchgeführt werden müssen, sind allerdings recht intuitiv.
2265 Kurz gesagt müssen folgende Veränderungen durchgeführt werden (
2271 bezeichnet den Sprachencode der neuen Sprache):
2274 \begin_layout Itemize
2275 Laden Sie den \SpecialChar LyX
2276 -Quellcode herunter.
2278 \begin_inset CommandInset href
2280 name "Informationen im Netz"
2281 target "http://www.lyx.org/HowToUseGIT"
2288 \begin_layout Itemize
2289 Kopieren Sie die Datei
2293 in das Verzeichnis der .po-Dateien.
2294 Benennen Sie anschließend die Datei in
2306 nicht existiert, kann sie mit dem Befehl
2309 \begin_inset space \space{}
2314 neu erzeugt werden.)
2317 \begin_layout Itemize
2328 \begin_layout Plain Layout
2329 Für diese Aufgabe gibt es spezielle Programme, wie
2333 (für alle Plattformen) oder
2342 hat ebenfalls einen Modus, der Sie bei dieser Arbeit unterstützt, siehe
2344 \begin_inset Flex URL
2347 \begin_layout Plain Layout
2349 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
2363 Für einige Menü- und Widgetfunktionen gibt es Tastenkürzel, die ebenfalls
2364 übersetzt werden sollten.
2365 Diese Tasten werden mit '
2369 ' markiert und sollten passend mitübersetzt werden.
2370 Sie sollten auch das Informationsfeld am Anfang der neuen po-Datei ausfüllen
2371 (mit Ihrer EMail-Adresse, usw.), damit Sie für andere Leute erreichbar sind,
2372 die Ihnen Vorschläge oder unterhaltsame Flames schicken möchten.
2375 \begin_layout Itemize
2377 \begin_inset Flex URL
2380 \begin_layout Plain Layout
2382 LYX-SOURCE-DIR/po/lyx.pot
2389 make up\SpecialChar softhyphen
2402 \begin_layout Itemize
2403 Installieren Sie die
2407 -Datei mit dem Befehl
2409 su -c 'make install'
2414 \begin_layout Standard
2419 -Datei zu der \SpecialChar LyX
2424 hinzuzufügen, müssen eine Reihe von Dateien (Konfigurations-Skripts und
2425 mehr) verändert werden.
2426 Aber dank der gettext-Bibliothek ist ein Einbinden in den \SpecialChar LyX
2428 den Anwender unnötig.
2431 \begin_layout Standard
2432 Wenn Sie eine Übersetzung für eine Sprache erstellt haben, die \SpecialChar LyX
2434 noch nicht unterstützt, sollten Sie uns ruhig ein Patch mit Ihrer Datei
2436 Wie man ein Patch erstellt, erfahren Sie in der README-Datei im Verzeichnis
2444 \begin_layout Subsection
2445 Die Dokumentation übersetzen
2448 \begin_layout Standard
2451 [Anmerkung des Übersetzers:
2455 Sie die Dokumentation übersetzen wollen, benutzen Sie als Vorlage auf jeden
2456 Fall das englische Original.
2457 Übersetzungen – diese eingeschlossen – sind oft nicht ganz auf dem neuesten
2462 \begin_layout Standard
2463 Auch die Online-Dokumentation (im
2467 -Menü) kann (und sollte!) übersetzt werden.
2468 Wenn übersetzte Versionen verfügbar sind und die
2472 entsprechend gesetzt wurde, werden diese automatisch von \SpecialChar LyX
2474 Zur Zeit sind Übersetzungen in etwa 20 Sprachen vorhanden.
2476 sucht nach übersetzten Versionen in
2492 für das entsprechende Sprach\SpecialChar softhyphen
2493 kür\SpecialChar softhyphen
2494 zel steht, das in der Umgebungsvariablen
2502 \begin_layout Standard
2503 Falls solche Dateien nicht existieren, wird die englische Version verwendet.
2504 Auch die übersetzten Versionen müssen (bis auf das
2511 ) den gleichen (englischen) Dateinamen (im Beispiel oben
2515 ) tragen wie die englischen Originale.
2516 Wenn Sie gerne die Dokumentation übersetzen möchten (übrigens ein guter
2517 Weg, um die Originale Korrektur zu lesen!), hier ein paar Tipps, die Ihnen
2518 möglicherweise etwas Arbeit ersparen:
2521 \begin_layout Itemize
2522 Werfen Sie einen Blick auf die Seiten des Übersetzungsteams auf der Homepage
2523 des \SpecialChar LyX
2525 \begin_inset Flex URL
2528 \begin_layout Plain Layout
2530 http://www.lyx.org/Translation
2536 Dort erfahren Sie, welche Texte bereits in Ihre Sprache übersetzt sind,
2537 auch sehen Sie, ob jemand (und wenn ja, wer) die Übersetzungsaktivitäten
2541 \begin_layout Standard
2542 Wenn Sie dann mit der eigentlichen Übersetzungsarbeit beginnen, sind hier
2543 einige Tipps, die Ihnen vielleicht helfen, einige Schwierigkeiten zu überwinden
2547 \begin_layout Itemize
2548 Machen Sie im Dokumentationsteam mit! Informationen dazu gibt es in
2550 Hilfe\SpecialChar menuseparator
2554 Dies ist übrigens das erste Dokument, das Sie übersetzen sollten.
2557 \begin_layout Itemize
2558 Machen Sie sich mit den typographischen Konventionen der Sprache vertraut,
2559 in die Sie übersetzen möchten.
2560 Typographie ist eine alte Kunst, und in vielen Teilen der Welt wurden verschied
2561 ene Konventionen eingeführt.
2562 Auch sollten Sie die typographische Terminologie in Ihrem Land lernen.
2563 Eine eigene Terminologie würde nur die Leser verwirren.
2566 (Warnung: Typographie macht süchtig!)
2569 \begin_layout Itemize
2570 Legen Sie eine Kopie des Originaldokumentes an.
2571 Dies wird Ihre Arbeitskopie.
2572 Sie können diese als selbst-übersetzten Hilfe-Datei in \SpecialChar LyX
2574 Sie sie in den Ordner
2575 \begin_inset Flex Code
2578 \begin_layout Plain Layout
2585 \begin_inset Newline newline
2589 \begin_inset Note Greyedout
2592 \begin_layout Plain Layout
2597 Für komplexe Dokumente mit externem Material (Bilder usw.) werden die Dateipfade
2598 von relativ auf absolut geändert, wenn man das Dokument verschiebt.
2599 Daher ist es das Beste, \SpecialChar LyX
2600 mittels Git zu beziehen (siehe
2601 \begin_inset Flex URL
2604 \begin_layout Plain Layout
2606 http://www.lyx.org/HowToUseGIT
2611 ) und das Dokument im Verzeichnis zu belassen.
2620 \begin_layout Itemize
2621 Wann immer Sie einen Fehler im Originaltext entdecken, korrigieren Sie ihn
2622 und teilen dem Rest des Dokumentationsteams Ihre Veränderungen mit.
2623 (Sie haben nicht vergessen, dem Dokumentationsteam beizutreten, oder?)
2626 Auch die Originaldokumentation ist nicht komplett.
2629 \begin_layout Section
2630 Internationale Tastaturbelegung
2631 \begin_inset CommandInset label
2633 name "sec:Internationale-Tastaturbelegung"
2640 \begin_layout Subsection
2641 Eigene Tastaturtabellen definieren: das
2648 \begin_layout Standard
2649 Sehen wir uns einmal die
2653 -Datei ein wenig näher an.
2654 Es handelt sich um eine ASCII-Datei, in der folgendes definiert wird:
2657 \begin_layout Itemize
2658 Taste-Taste- oder Taste-String-Transformationen
2661 \begin_layout Itemize
2671 \begin_layout Itemize
2672 Ausnahmen für tote Tasten.
2675 \begin_layout Standard
2676 Zur Definition einer Taste-Taste- oder Taste-String-Transformation dient
2680 \begin_layout Quotation
2688 \begin_layout Standard
2693 die zu übersetzende Taste bezeichnet und
2697 die Taste oder den String, der dafür in das Dokument eingefügt werden soll.
2698 Eine tote Taste definiert man mit:
2699 \begin_inset space ~
2705 \begin_layout Quotation
2717 \begin_layout Standard
2722 wieder eine Taste auf der Tastatur bezeichnet und
2726 der Name einer toten Taste ist.
2728 unterstützt folgende toten Tasten (Abkürzungen in Klammern):
2731 \begin_layout Quotation
2735 \begin_inset space \hfill{}
2741 \begin_layout Quotation
2743 \begin_inset space \hfill{}
2749 \begin_layout Quotation
2751 \begin_inset space \hfill{}
2757 \begin_layout Quotation
2759 \begin_inset space \hfill{}
2765 \begin_layout Quotation
2767 \begin_inset space \hfill{}
2773 \begin_layout Quotation
2775 \begin_inset space \hfill{}
2782 \begin_layout Plain Layout
2794 \begin_layout Quotation
2796 \begin_inset space \hfill{}
2802 \begin_layout Quotation
2804 \begin_inset space \hfill{}
2811 \begin_layout Plain Layout
2823 \begin_layout Quotation
2825 \begin_inset space \hfill{}
2831 \begin_layout Quotation
2833 \begin_inset space \hfill{}
2839 \begin_layout Quotation
2841 \begin_inset space \hfill{}
2848 \begin_layout Plain Layout
2860 \begin_layout Quotation
2862 \begin_inset space \hfill{}
2869 \begin_layout Plain Layout
2881 \begin_layout Quotation
2883 \begin_inset space \hfill{}
2889 \begin_layout Quotation
2890 hungarian umlaut (hug)
2891 \begin_inset space \hfill{}
2897 \begin_layout Quotation
2899 \begin_inset space \hfill{}
2905 \begin_layout Quotation
2907 \begin_inset space \hfill{}
2914 \begin_layout Plain Layout
2926 \begin_layout Standard
2927 Da es auf vielen internationalen Tastaturen Ausnahmen dafür gibt, wie eine
2928 bestimmte tote Taste das folgende Zeichen verändern soll, können diese
2929 definiert werden, und zwar mit:
2932 \begin_layout Quotation
2941 Tote-Taste Taste Ausgabe
2944 \begin_layout Standard
2945 Zum Beispiel soll caron-o auf einer slowakischen Tastatur ein circumflex-o
2947 Dies erreicht man mit:
2950 \begin_layout Quotation
2964 \begin_layout Standard
2965 Auch müssen für die Buchstaben i und j Ausnahmen definiert werden, um den
2966 Punkt zu löschen, bevor ein Akzent eingefügt wird.
2967 Ich werde dies beizeiten ändern, hatte aber bisher noch keine Zeit dazu.
2970 \begin_layout Standard
2971 Ach so, zur Definition der Ausgabe: Der Backslash
2972 \begin_inset Quotes gld
2982 \begin_inset Quotes grd
2985 ist ein Sonderzeichen.
2986 Um ihn einzugeben, muss man einen doppelten Backslash
2987 \begin_inset Quotes gld
2999 \begin_inset Quotes grd
3003 Auch das Anführungszeichen
3004 \begin_inset Quotes gld
3008 \begin_inset Quotes grd
3012 \begin_inset Quotes gld
3020 \begin_inset Quotes grd
3023 haben eine andere Bedeutung.
3028 bezeichnet einen Kommentar, Anführungszeichen markieren den Anfang und
3029 das Ende eines Strings (das heißt einer \SpecialChar LaTeX
3031 Um diese Zeichen einzugeben, muss ein Backslash vorangestellt werden (also:
3045 Wenn Sie eine funktionierende Keymap-Datei für eine neue Sprache angefertigt
3046 haben, mailen Sie diese bitte an das Entwickler-Team, damit sie in die
3047 nächste Distribution integriert werden kann.
3050 \begin_layout Standard
3051 In Zukunft werden auch noch folgende Befehle unterstützt:
3054 \begin_layout Itemize
3063 \begin_inset space \hfill{}
3068 bindet eine andere Datei ein
3071 \begin_layout Itemize
3084 \begin_inset space \hfill{}
3089 definiert ein externes Keymap-Programm
3092 \begin_layout Standard
3097 atei nach Voreinstellungen durchsuchen (zum Beispiel nach einer Option
3103 , um eine Standardtastatur zu verwenden).
3106 \begin_layout Section
3107 Internationale Tastaturtabellen:
3112 \begin_inset CommandInset label
3114 name "sec:Internationale-Tastaturtabellen"
3121 \begin_layout Standard
3122 Die nächsten beiden Abschnitte beschreiben detailliert die Syntax der
3131 Diese Abschnitte sollten Ihnen dabei helfen, Ihre eigene Tastaturtabelle
3132 zu entwerfen, wenn die vorhandenen nicht ganz Ihren Bedürfnissen entsprechen.
3135 \begin_layout Subsection
3141 \begin_inset CommandInset label
3143 name "subsec:Die-.kmap-Datei"
3150 \begin_layout Standard
3159 -Datei transformiert gedrückte Tasten zu Buchstaben oder Strings (Zeichenketten)
3165 Im Folgenden werden die Schlüsselwörter
3184 \begin_layout Labeling
3185 \labelwidthstring 00.00.0000
3192 Transformiere einen Buchstaben zu einem String
3195 \begin_layout LyX-Code
3204 \begin_layout Standard
3205 Dieser Ausdruck definiert, dass
3213 transformiert werden soll.
3218 die Zeichen Backslash
3219 \begin_inset Quotes gld
3229 \begin_inset Quotes grd
3232 und Anführungszeichen
3233 \begin_inset Quotes gld
3241 \begin_inset Quotes grd
3244 mit einem vorangehenden Backslash versehen werden.
3248 \begin_layout Standard
3249 Als Beispiel ein Ausdruck, der das Zeichen
3250 \begin_inset Quotes gld
3258 \begin_inset Quotes grd
3261 ausgibt, wenn die Taste
3262 \begin_inset Quotes gld
3270 \begin_inset Quotes grd
3276 \begin_layout LyX-Code
3282 \begin_layout Labeling
3283 \labelwidthstring 00.00.0000
3290 Spezifiziere ein Akzentzeichen
3293 \begin_layout LyX-Code
3299 Zeichen Akzent erlaubt
3302 \begin_layout Standard
3303 Dieser Ausdruck wird dafür sorgen, dass
3311 interpretiert wird, und zwar bei allen Zeichen, die in
3316 Dies ist der Mechanismus toter Tasten
3322 \begin_layout Plain Layout
3331 kommt daher, dass diese Taste allein kein Zeichen erzeugt, aber, gefolgt
3332 von einer anderen Taste, akzentuierte Zeichen erzeugt.
3333 Zum Beispiel kann auf diese Weise é
3334 \begin_inset Quotes grd
3348 drücken, gefolgt von einem Zeichen, das
3356 aufgeführt wurde, werden einfach beide Zeichen einzeln ausgegeben.
3359 \begin_layout Standard
3360 Der folgende Ausdruck definiert, dass die Taste
3361 \begin_inset Quotes gld
3369 \begin_inset Quotes grd
3372 der circumflex-Akzent wird, wenn er von einem der Buchstaben a, e, i, o,
3373 u, A, E, I ,O oder U gefolgt wird:
3376 \begin_layout LyX-Code
3379 kmod ^ circumflex aeiouAEIOU
3382 \begin_layout Labeling
3383 \labelwidthstring 00.00.0000
3388 Definiere eine Ausnahme zu einem Akzentzeichen
3391 \begin_layout LyX-Code
3397 Akzent Zeichen Ausgabe
3400 \begin_layout Standard
3401 Dieser Ausdruck definiert eine Ausnahme für die Wirkung, die
3405 in Verbin\SpecialChar softhyphen
3415 vorher mit Hilfe einer
3421 -Zeile einer Taste zugewiesen worden sein.
3422 Wenn Sie die Sequenz
3431 Falls solch eine Definition
3439 eingeben, erhalten Sie das
3446 \begin_layout Standard
3447 Der folgende Ausdruck sorgt dafür, dass \SpecialChar LaTeX
3449 \begin_inset Quotes gld
3453 \begin_inset Quotes grd
3456 mit circumflex den I-Punkt entfernt, bevor das Akzentsymbol eingefügt wird:
3459 \begin_layout LyX-Code
3462 kxmod circumflex i "
3473 \begin_layout Labeling
3474 \labelwidthstring 00.00.0000
3479 Kombiniere zwei Akzentsymbole
3482 \begin_layout LyX-Code
3488 Akzent1 Akzent2 erlaubt
3491 \begin_layout Standard
3492 Hier wird es ziemlich esoterisch.
3493 Dieser Ausdruck erlaubt die Kombination der Effekte von
3501 (in dieser Reihenfolge!) bei allen
3505 Zei\SpecialChar softhyphen
3515 müssen zuvor mit Hilfe von
3521 definiert worden sein.
3524 \begin_layout Standard
3525 Folgendes Beispiel aus der Datei
3532 \begin_layout LyX-Code
3535 kmod ; acute aeioyvhAEIOYVH
3538 \begin_layout LyX-Code
3544 \begin_layout LyX-Code
3547 kcomb acute umlaut iyIY
3550 \begin_layout Standard
3551 Diese Zeilen erlauben es,
3552 \begin_inset Quotes gld
3560 \begin_inset Quotes grd
3563 einzugeben und auf diese Weise
3564 \begin_inset Quotes gld
3576 \begin_inset Quotes grd
3583 \begin_layout Plain Layout
3595 In diesem Fall löscht die Backspace-Taste das letzte gedrückte Zei\SpecialChar softhyphen
3609 eingeben, erhalten Sie
3610 \begin_inset Quotes gld
3620 \begin_inset Quotes grd
3627 \begin_layout Plain Layout
3640 \begin_layout Subsection
3648 \begin_layout Standard
3649 Nachdem \SpecialChar LyX
3654 -Datei verarbeitet hat, erklärt eine
3658 -Datei, wie die einzelnen Symbole im gegenwärtigen Zeichensatz dargestellt
3660 Die \SpecialChar LyX
3661 -Dis\SpecialChar softhyphen
3662 tri\SpecialChar softhyphen
3663 bu\SpecialChar softhyphen
3664 tion enthält wenigstens die Dateien
3665 \begin_inset Flex URL
3668 \begin_layout Plain Layout
3679 \begin_inset Newline linebreak
3688 \begin_layout Standard
3689 Generell besteht eine
3696 -Datei aus einer Reihe von Deklarationen der folgenden Form:
3699 \begin_layout LyX-Code
3703 Position_im_Zeichensatz String
3706 \begin_layout Standard
3707 Um beispielsweise dem String (
3711 im vorigen Abschnitt)
3712 \begin_inset Quotes gld
3720 \begin_inset Quotes grd
3723 das ent\SpecialChar softhyphen
3724 spre\SpecialChar softhyphen
3725 chen\SpecialChar softhyphen
3726 de Zeichen im ISO-8859-1 Zeichensatz (233) zuzuweisen, benutzt
3727 man folgenden Ausdruck:
3730 \begin_layout LyX-Code
3738 \begin_layout Standard
3739 Wieder müssen den Zeichen
3740 \begin_inset Quotes gld
3750 \begin_inset Quotes grd
3754 \begin_inset Quotes gld
3762 \begin_inset Quotes grd
3765 ein Backslash vorangestellt werden.
3766 Beachten Sie, dass es durchaus möglich ist, dass dasselbe Zeichen (sinnvoll)
3767 zwei verschiedene Strings repräsentieren kann.
3778 \begin_layout LyX-Code
3790 \begin_inset Newline newline
3806 \begin_layout Standard
3807 Wenn \SpecialChar LyX
3808 kein passendes Zeichen für einen String finden kann, der durch eine
3809 Tastensequenz erzeugt wurde, wird es versuchen, falls der String wie ein
3810 akzentuierter Buchstabe aussieht, auf dem Bildschirm den Buchstaben mit
3811 Akzent selbst zu zeichnen.
3814 \begin_layout Subsection
3815 Tote Tasten definieren
3818 \begin_layout Standard
3821 Anmerkung des Übersetzers: An dieser Stelle weiche ich krass vom Original
3823 Der englische Text ist hier viel zu weitschweifig und ein bisschen konfus.
3827 \begin_layout Standard
3828 Es gibt noch eine zweite Möglichkeit, internationale Buchstaben mit Hilfe
3837 zu erzeugen – nämlich direkt in der
3842 Dazu ein einfaches Beispiel:
3845 \begin_layout Standard
3846 Nehmen wir an, Sie benötigen eine Zirkumflex-Taste.
3847 Diese können Sie definieren, indem Sie in der
3851 atei folgende Zeile einfügen:
3854 \begin_layout Standard
3859 bind "asciicircum" "accent-circumflex"
3862 \begin_layout Standard
3867 die Bezeichnung, die das X11-System für die
3868 \begin_inset Quotes gld
3876 \begin_inset Quotes grd
3883 \begin_layout Plain Layout
3884 Die Bezeichnungen anderer Symbole lassen sich ganz gut aus einer c-Include-Datei
3890 Meist findet man sie in
3892 /usr/X11/include/X11/
3901 accent-circum\SpecialChar softhyphen
3904 ist ein \SpecialChar LyX
3905 -Befehl, der den Zirkumflex-Akzent erzeugt.
3908 \begin_layout Standard
3909 Leider unterscheidet sich die Wirkungsweise der toten Tasten, die in
3913 definiert wurden, merklich von der, die in
3914 \begin_inset CommandInset ref
3916 reference "subsec:Die-.kmap-Datei"
3923 \begin_layout Subsection
3924 Ihre Sprachkonfiguration einstellen
3927 \begin_layout Standard
3932 atei so verändern, dass Ihre gewünschte Sprachumgebung automatisch geladen
3933 wird, wenn \SpecialChar LyX
3935 Dieser Abschnitt beschreibt Befehle, die folgendes spezifizieren:
3938 \begin_layout Itemize
3939 Standard-, erste und zweite Tastaturbelegung
3942 \begin_layout Itemize
3943 Zeichensatzkodierung
3946 \begin_layout Standard
3951 atei finden Sie verschiedene Beispiele, wie man sie konfigurieren kann.
3952 Zum Beispiel können Sie einen Eintrag für eine Tastaturbelegung folgendermaßen
3956 \begin_layout LyX-Code
3959 bind "american" "keymap-primary"
3962 \begin_layout Standard
3970 \begin_layout LyX-Code
3973 bind "Alt+," "accent-cedilla"
3976 \begin_layout Standard
3977 oder eine Zeichensatzkodierung festlegen:
3980 \begin_layout LyX-Code
3981 # Die Norm für die Bildschirmzeichensätze
3984 \begin_layout LyX-Code
3985 # Voreinstellung ist iso8859-1.
3988 \begin_layout LyX-Code
3994 \begin_layout Chapter
3995 Installieren neuer Textklassen, Layouts und Vorlagen
3996 \begin_inset CommandInset label
3998 name "cha:Installieren-neuer-Textklassen"
4005 \begin_layout Standard
4006 In diesem Abschnitt wird beschrieben, wie Sie beim Installieren neuer Layout-
4007 und Vorlagedateien vorgehen müssen, außerdem auch eine kleine Auf\SpecialChar ligaturebreak
4009 wie man neue Dokumentenklassen für \SpecialChar LaTeX
4010 korrekt installiert.
4011 Zunächst ein paar Definitionen:
4014 \begin_layout Standard
4019 ist eine \SpecialChar LaTeX
4020 -Datei (normalerweise mit der Endung
4028 ), die das Format einer speziellen Art von Dokument beschreibt, etwa Artikel,
4029 Brief usw., und auch alle dazu notwendigen Befehle definiert.
4032 \begin_layout Standard
4037 ist eine \SpecialChar LyX
4038 -Datei, die einer \SpecialChar LaTeX
4039 -Dokumentenklasse ent\SpecialChar softhyphen
4040 spricht und \SpecialChar LyX
4042 wie die diversen Formatelemente am Bildschirm dar\SpecialChar softhyphen
4043 ge\SpecialChar softhyphen
4044 stellt werden sollen,
4045 damit der Eindruck möglichst gut dem späteren Druckbild entspricht.
4046 Genauer gesagt beschreibt eine Layoutdatei eine
4050 , das interne Konstrukt, welches \SpecialChar LyX
4051 verwendet, um den Text am Bildschirm darzustel
4055 \begin_layout Standard
4064 sind somit in gewisser Weise äquivalent, aber es ist besser, die Datei
4065 als Layout zu bezeichnen und die interne Realisation im Speicher von \SpecialChar LyX
4068 Eine Vorlage ist einfach ein \SpecialChar LyX
4069 -Dokument, welches bereits einige vordefinierte
4070 Einträge für eine bestimmte Textklasse enthält.
4071 Derartige Vorlagen sind beispielsweise für Briefe oder Artikel für Zeitschrifte
4075 \begin_layout Section
4076 Installation eines neuen \SpecialChar LaTeX
4080 \begin_layout Standard
4081 Bei manchen \SpecialChar TeX
4082 -Installationen fehlt möglicherweise das eine oder andere Paket,
4083 das Sie gerne mit \SpecialChar LyX
4085 Zum Beispiel wollen Sie Foil\SpecialChar TeX
4086 verwenden, ein Paket zur Erstellung von Dias
4087 und Folien für Overheadprojektoren.
4088 Moderne \SpecialChar LaTeX
4089 -Distributionen wie \SpecialChar TeX
4090 Live (2008 oder neuer) oder MiK\SpecialChar TeX
4092 grafisches Programm um solche Pakete zu installieren.
4094 \begin_inset space \thinspace{}
4098 bei MiK\SpecialChar TeX
4099 starten Sie das Programm
4100 \begin_inset Quotes gld
4104 \begin_inset space ~
4108 \begin_inset Quotes grd
4111 um eine Liste mit den verfügbaren Paketen zu bekommen.
4112 Um eines davon zu installieren, rechts-klicken Sie oder benutzen den entspreche
4113 nden Werkzeugleistenknopf.
4116 \begin_layout Standard
4117 Falls Ihre \SpecialChar LaTeX
4118 -Distribution keinen Paketmanager besitzt, oder falls das Paket
4119 nicht direkt über Ihre Distribution verfügbar ist, folgen Sie diesen Schritten
4120 um es manuell zu installieren:
4123 \begin_layout Enumerate
4124 Besorgen Sie sich das Paket von
4125 \begin_inset CommandInset href
4128 target "http://www.ctan.org/"
4132 oder einer anderen Quelle.
4135 \begin_layout Enumerate
4136 Falls das Paket eine Datei mit der Endung
4137 \begin_inset Quotes gld
4141 \begin_inset Flex Code
4144 \begin_layout Plain Layout
4151 \begin_inset Quotes grd
4154 enthält (was bei Foil\SpecialChar TeX
4155 der Fall ist), dann öffnen sie eine Kommandozeile
4156 wechseln in das Verzeichnis der Datei und führen den Befehl
4157 \begin_inset Newline newline
4165 \begin_inset Newline newline
4169 Sie haben damit dass Paket entpackt und haben alle Dateien um es zu installiere
4171 Die meisten \SpecialChar LaTeX
4172 -Pakete sind nicht gepackt und man kann direkt mit der Installation
4176 \begin_layout Enumerate
4177 Nun müssen Sie entscheiden, ob das Paket für alle Nutzer oder nur für Sie
4178 verfügbar sein soll.
4179 \begin_inset Separator latexpar
4186 \begin_layout Enumerate
4187 Bei *nix Systemen (Linux, OSX, etc.), wenn Sie das Paket für alle Nutzer
4188 installieren möchten, installieren Sie es in den lokalen \SpecialChar TeX
4189 Ordner; anderenfalls
4190 installieren Sie es in den eigenen
4191 \begin_inset Quotes gld
4195 \begin_inset Quotes grd
4200 Wo man diese Ordner anlegt, sofern sie nicht schon existieren, hängt von
4202 Dazu schauen Sie in die Datei
4203 \begin_inset Flex Code
4206 \begin_layout Plain Layout
4216 \begin_layout Plain Layout
4217 Diese befindet sich normalerweise im Ordner
4222 Falls nicht, führen Sie den Befehl
4223 \begin_inset Flex Code
4226 \begin_layout Plain Layout
4232 aus, um sie zu lokalisieren.
4237 Der Ort des lokalen \SpecialChar TeX
4238 -Ordners ist in der Variable
4239 \begin_inset Flex Code
4242 \begin_layout Plain Layout
4248 definiert; es ist üblicherweise der Pfad
4250 /usr/local/share/texmf/
4252 oder /usr/local/texlive/XXXX, wobei XXXX das Jahr der installierten \SpecialChar TeX
4255 Der Ort des Benutzer-\SpecialChar TeX
4256 -Ordners ist in der Variable
4257 \begin_inset Flex Code
4260 \begin_layout Plain Layout
4266 definiert und ist üblicherweise der Pfad
4275 (Wenn diese Variablen nicht vordefiniert sind, müssen Sie diese selbst
4276 definieren.) Sie brauchen wahrscheinlich Root-Rechte um in den lokalen \SpecialChar TeX
4278 zu schreiben, beim Benutzer-\SpecialChar TeX
4279 -Ordner ist die nicht nötig.
4280 \begin_inset Newline newline
4283 Allgemein empfiehlt es sich, Pakete in den Benutzer-\SpecialChar TeX
4284 -Ordner zu installieren,
4285 da dieser nicht verändert oder gar überschrieben wird, wenn Sie ihr System
4287 Des Weiteren wird er zusammen mit Ihren Nutzerdaten gesichert, wenn Sie
4288 ein Backup machen (was Sie natürlich regelmäßig tun).
4291 \begin_layout Enumerate
4292 Bei Windows, wenn Sie das Paket für alle Nutzer installieren möchten, gehen
4293 Sie in den Ordner, in dem \SpecialChar LaTeX
4294 installiert ist und wechseln dort in das Verzeichnis
4302 (Verwendet man MiK\SpecialChar TeX
4303 , wäre es standardmäßig der Ordner
4315 .) Legen Sie dort einen neuen Ordner mit dem Namen
4316 \begin_inset Quotes gld
4320 \begin_inset Quotes grd
4323 an und kopieren Sie alle Dateien das Pakets hinein.
4324 Wenn das Paket nur für den aktuellen Benutzer verfügbar sein soll bzw.
4325 Sie keine Administrator-Rechte haben, tun Sie dasselbe, aber im lokalen
4329 \begin_inset space \thinspace{}
4333 bei MiK\SpecialChar TeX
4335 \begin_inset space ~
4338 2.9 wäre das unter WinXP der Ordner
4339 \begin_inset Newline newline
4346 Dokumente und Einstellungen
4353 \begin_inset Newline newline
4357 \begin_inset Phantom HPhantom
4360 \begin_layout Plain Layout
4379 \begin_inset Newline newline
4382 , unter WinVista wäre es der Ordner
4383 \begin_inset Newline newline
4410 \begin_layout Enumerate
4411 Jetzt muss man \SpecialChar LaTeX
4412 nur noch mitteilen, dass es neue Dateien gibt.
4413 Die ist je nach \SpecialChar LaTeX
4414 -Distribution anders:
4415 \begin_inset Separator latexpar
4422 \begin_layout Enumerate
4423 Bei \SpecialChar TeX
4424 Live führen Sie von einer Kommandozeile den Befehl
4425 \begin_inset Flex Code
4428 \begin_layout Plain Layout
4435 Wenn Sie das Paket für alle Nutzer installiert haben, brauchen sie dazu
4436 wahrscheinlich Root-Rechte.
4439 \begin_layout Enumerate
4440 Bei MiK\SpecialChar TeX
4441 , wenn Sie das Paket für alle Nutzer installiert haben, starten Sie
4443 \begin_inset Quotes gld
4447 \begin_inset space ~
4451 \begin_inset Quotes grd
4454 und drücken dann auf den Kopf
4455 \begin_inset Quotes gld
4459 \begin_inset Quotes grd
4463 Anderenfalls starten Sie das Programm
4464 \begin_inset Quotes gld
4468 \begin_inset Quotes grd
4471 und machen dasselbe.
4475 \begin_layout Enumerate
4476 Nun muss man \SpecialChar LyX
4477 noch mitteilen, dass es neue Pakete gibt.
4478 Verwenden Sie dazu in \SpecialChar LyX
4481 Werkzeuge\SpecialChar menuseparator
4483 \begin_inset space \space{}
4488 und starten \SpecialChar LyX
4492 \begin_layout Standard
4493 Nun ist das Paket installiert.
4494 In unserem Beispiel wird nun die Dokumentklasse
4495 \begin_inset Flex Code
4498 \begin_layout Plain Layout
4500 \begin_inset space ~
4510 Dokument\SpecialChar menuseparator
4511 Einstellungen\SpecialChar menuseparator
4517 \begin_layout Standard
4518 Möchten sie eine \SpecialChar LaTeX
4519 -Dokumentklasse verwenden, die generell nicht im Menü
4521 Dokument\SpecialChar menuseparator
4522 Einstellungen\SpecialChar menuseparator
4525 gelistet ist, müssen Sie dafür selbst ein
4526 \begin_inset Quotes gld
4530 \begin_inset Quotes grd
4534 Dies ist das Thema des nächsten Abschnitts.
4537 \begin_layout Section
4541 \begin_layout Standard
4544 This section describes the various sorts of \SpecialChar LyX
4545 files that contain layout informati
4547 These files describe various paragraph and character styles, determining
4548 how \SpecialChar LyX
4549 should display them and how they should be translated into \SpecialChar LaTeX
4551 XHTML, or whatever output format is being used.
4555 \begin_layout Standard
4558 We shall try to provide a thorough description of the process of writing
4560 However, there are so many different types of documents supported even
4561 by just \SpecialChar LaTeX
4562 that we can't hope to cover every different possibility or problem
4563 you might encounter.
4564 The \SpecialChar LyX
4565 users' list is frequented by people with lots of experience with layout
4566 design who are willing to share what they've learned, so please feel free
4567 to ask questions there.
4570 \begin_layout Standard
4573 As you prepare to write a new layout, it is extremely helpful to look at
4574 the layouts distributed with \SpecialChar LyX
4576 If you write a \SpecialChar LyX
4577 layout for a \SpecialChar LaTeX
4578 document class that might also be used by
4579 others, or write a module that might be useful to others, then you should
4580 consider posting your layout to the
4581 \begin_inset CommandInset href
4583 name "layout section on the LyX wiki"
4584 target "http://wiki.lyx.org/Layouts/Layouts"
4588 or even to the \SpecialChar LyX
4589 developers' list, so that it might be included in \SpecialChar LyX
4594 \begin_layout Plain Layout
4597 Note that \SpecialChar LyX
4598 is licensed under the General Public License, so any material
4599 that is contributed to \SpecialChar LyX
4600 must be similarly licensed.
4608 \begin_layout Subsection
4610 \begin_inset CommandInset label
4612 name "subsec:Layout-Module"
4619 \begin_layout Standard
4622 We have spoken to this point about `layout files'.
4623 But there are different sorts of files that contain layout information.
4624 Layout files, strictly so called, have the
4625 \begin_inset Flex Code
4628 \begin_layout Plain Layout
4636 extension and provide \SpecialChar LyX
4637 with information about document classes.
4638 As of \SpecialChar LyX
4639 1.6, however, layout information can also be contained in layout
4645 \begin_inset Flex Code
4648 \begin_layout Plain Layout
4657 Modules are to \SpecialChar LaTeX
4658 packages much as layouts are to \SpecialChar LaTeX
4659 classes, and some modules—such
4661 \begin_inset Flex Code
4664 \begin_layout Plain Layout
4672 module—specifically provide support for one package.
4673 In a sense, layout modules are similar to included
4677 \begin_layout Plain Layout
4680 These can have any extension, but by convention have the
4681 \begin_inset Flex Code
4684 \begin_layout Plain Layout
4698 \begin_inset Flex Code
4701 \begin_layout Plain Layout
4709 —in that modules are not specific to a given document class but may be used
4710 with many different classes.
4711 The difference is that using an included file with
4712 \begin_inset Flex Code
4715 \begin_layout Plain Layout
4723 requires editing that file.
4724 Modules, by contrast, are selected in the
4725 \begin_inset Flex Noun
4728 \begin_layout Plain Layout
4731 Document\SpecialChar menuseparator
4740 \begin_layout Standard
4743 Building modules is the easiest way to get started with layout editing,
4744 since it can be as simple as adding a single new paragraph style or flex
4746 But modules may, in principle, contain anything a layout file can contain.
4749 \begin_layout Standard
4752 After creating a new module and copying it to the
4753 \begin_inset Flex Code
4756 \begin_layout Plain Layout
4764 folder, you will need to reconfigure and then restart \SpecialChar LyX
4767 However, changes you make to the module will be seen immediately, if you
4769 \begin_inset Flex Noun
4772 \begin_layout Plain Layout
4775 Document\SpecialChar menuseparator
4781 , highlight something, and then hit
4782 \begin_inset Quotes eld
4786 \begin_inset Quotes erd
4792 It is strongly recommended that you save your work before doing this
4797 it is strongly recommended that you not attempt to edit modules while simultaneo
4798 usly working on actual documents
4801 Though of course the developers strive to keep \SpecialChar LyX
4802 stable in such situations,
4803 syntax errors and the like in your module file could cause strange behavior.
4806 \begin_layout Subsubsection
4810 \begin_layout Standard
4813 Modules are to \SpecialChar LyX
4814 as packages are to \SpecialChar LaTeX
4816 Sometimes, however, you find yourself wanting a specific inset or character
4817 style just for one document and writing a module that will also be available
4818 to other documents makes little sense.
4819 What you need is \SpecialChar LyX
4821 \begin_inset Quotes eld
4825 \begin_inset Quotes erd
4831 \begin_layout Standard
4834 You will find it under
4836 Document\SpecialChar menuseparator
4837 Settings\SpecialChar menuseparator
4841 The large text box allows you to enter anything that you might enter in
4842 a layout file or module.
4843 You can think of a document's local layout, in fact, as a module that belongs
4845 So, in particular, you must enter a
4846 \begin_inset Flex Code
4849 \begin_layout Plain Layout
4858 Any format is acceptable, but one would normally use the format current
4860 (In \SpecialChar LyX
4861 2.1, the current layout format is 48.) You should be aware that local
4862 layout is not supported by versions of \SpecialChar LyX
4863 prior to 1.6, so you should not
4864 use it if you want to be able to export your document to \SpecialChar LyX
4866 (without, that is, losing the local layout information).
4867 If you wish to be able to export to 1.6—local layout is supported in 1.6,
4868 though there is no UI for it—then you should use format 11 and, of course,
4869 use only layout constructs that were available in \SpecialChar LyX
4873 \begin_layout Standard
4876 When you have entered something in the
4877 \begin_inset Flex Code
4880 \begin_layout Plain Layout
4888 pane, \SpecialChar LyX
4890 \begin_inset Quotes eld
4894 \begin_inset Quotes erd
4897 button at the bottom.
4898 Clicking this button will cause \SpecialChar LyX
4899 to determine whether what you have entered
4900 is valid layout information for the chosen format.
4902 will report the result but, unfortunately, will not tell you what errors
4903 there might have been.
4904 These will be written to the terminal, however, if \SpecialChar LyX
4905 is started from a terminal.
4906 You will not be permitted to save your local layout until you have entered
4910 \begin_layout Standard
4913 The warnings at the end of the previous section apply here, too.
4914 Do not play with local layout while you are actually working, especially
4915 if you have not saved your document.
4916 That said, using local layout with a test document can be a very convenient
4917 way to try out layout ideas, or even to start developing a module.
4920 \begin_layout Subsection
4922 \begin_inset Flex Noun
4925 \begin_layout Plain Layout
4934 \begin_layout Standard
4937 There are two situations you are likely to encounter when wanting to support
4938 a new \SpecialChar LaTeX
4939 document class, involving style (
4940 \begin_inset Flex Code
4943 \begin_layout Plain Layout
4951 ) files and \SpecialChar LaTeX2e
4953 \begin_inset Flex Code
4956 \begin_layout Plain Layout
4965 Supporting a style file is usually fairly easy.
4966 Supporting a new class file is a bit harder.
4967 We'll discuss the former in this section and the latter in the next.
4968 Similar remarks apply, of course, if you want to support a new DocBook
4972 \begin_layout Standard
4975 The easier case is the one in which your new document class is provided
4976 as a style file that is to be used in conjunction with an already supported
4978 For the sake of the example, we'll assume that the style file is called
4980 \begin_inset Flex Noun
4983 \begin_layout Plain Layout
4991 and that it is meant to be used with
4992 \begin_inset Flex Noun
4995 \begin_layout Plain Layout
5003 , which is a standard class.
5007 \begin_layout Standard
5010 Start by copying the existing class's layout file into your local directory:
5014 \begin_layout Plain Layout
5017 Of course, which directory is your local directory will vary by platform,
5018 and \SpecialChar LyX
5019 allows you to specify your local directory on startup, too, using
5021 \begin_inset Flex Code
5024 \begin_layout Plain Layout
5040 \begin_layout LyX-Code
5041 cp report.layout ~/.lyx/layouts/myclass.layout
5044 \begin_layout Standard
5048 \begin_inset Flex Code
5051 \begin_layout Plain Layout
5059 and change the line:
5062 \begin_layout LyX-Code
5065 Declare\SpecialChar LaTeX
5069 \begin_layout Standard
5075 \begin_layout LyX-Code
5078 Declare\SpecialChar LaTeX
5079 Class[report, myclass.sty]{report (myclass)}
5082 \begin_layout Standard
5088 \begin_layout LyX-Code
5090 \begin_inset Newline newline
5096 \begin_inset Newline newline
5102 \begin_layout Standard
5105 near the top of the file.
5108 \begin_layout Standard
5111 Start \SpecialChar LyX
5113 \begin_inset Flex Noun
5116 \begin_layout Plain Layout
5119 Tools\SpecialChar menuseparator
5126 Then restart \SpecialChar LyX
5127 and try creating a new document.
5129 \begin_inset Flex Noun
5132 \begin_layout Plain Layout
5140 " as a document class option in the
5141 \begin_inset Flex Noun
5144 \begin_layout Plain Layout
5147 Document\SpecialChar menuseparator
5154 It is likely that some of the sectioning commands and such in your new
5155 class will work differently from how they worked in the base class—
5156 \begin_inset Flex Code
5159 \begin_layout Plain Layout
5167 in this example—so you can fiddle around with the settings for the different
5168 sections if you wish.
5169 The layout information for sections is contained in
5170 \begin_inset Flex Code
5173 \begin_layout Plain Layout
5181 , but you do not need to copy and change this file.
5182 Instead, you can simply add your changes to your layout file, after the
5184 \begin_inset Flex Code
5187 \begin_layout Plain Layout
5195 , which itself includes
5196 \begin_inset Flex Code
5199 \begin_layout Plain Layout
5208 For example, you might add these lines:
5211 \begin_layout LyX-Code
5215 \begin_layout LyX-Code
5219 \begin_layout LyX-Code
5223 \begin_layout LyX-Code
5227 \begin_layout LyX-Code
5231 \begin_layout Standard
5234 to change the font for chapter headings to sans-serif.
5235 This will override (or, in this case, add to) the existing declaration
5236 for the Chapter style.
5240 \begin_layout Standard
5243 Your new package may also provide commands or environments not present in
5245 In this case, you will want to add these to the layout file.
5247 \begin_inset CommandInset ref
5249 reference "sec:Das-Layout-Dateiformat"
5253 for information on how to do so.
5256 \begin_layout Standard
5260 \begin_inset Flex Noun
5263 \begin_layout Plain Layout
5271 can be used with several different document classes, and even if it cannot,
5272 you might find it easiest just to write a module that you can load with
5274 The simplest possible such module would be:
5277 \begin_layout LyX-Code
5280 DeclareLyXModule{My Package}
5283 \begin_layout LyX-Code
5287 \begin_layout LyX-Code
5288 #Support for mypkg.sty.
5291 \begin_layout LyX-Code
5293 \begin_inset Newline newline
5299 \begin_layout LyX-Code
5301 \begin_inset Newline newline
5307 \begin_layout LyX-Code
5309 \begin_inset Newline newline
5315 \begin_inset Newline newline
5321 \begin_layout Standard
5324 A more complex module might modify the behavior of some existing constructs
5325 or define some new ones.
5327 \begin_inset CommandInset ref
5329 reference "sec:Das-Layout-Dateiformat"
5336 \begin_layout Subsection
5338 \begin_inset Flex Noun
5341 \begin_layout Plain Layout
5350 \begin_layout Standard
5353 There are two possibilities here.
5354 One is that the class file is itself based upon an existing document class.
5355 For example, many thesis classes are based upon
5356 \begin_inset Flex Noun
5359 \begin_layout Plain Layout
5368 To see whether yours is, look for a line like
5371 \begin_layout LyX-Code
5377 \begin_layout Standard
5381 If so, then you may proceed largely as in the previous section, though
5383 \begin_inset Flex Code
5386 \begin_layout Plain Layout
5389 Declare\SpecialChar LaTeX
5395 line will be different.
5396 If your new class is
5397 \begin_inset Flex Code
5400 \begin_layout Plain Layout
5408 and it is based upon
5409 \begin_inset Flex Code
5412 \begin_layout Plain Layout
5420 , then the line should read:
5424 \begin_layout Plain Layout
5427 And it will be easiest if you save the file to
5428 \begin_inset Flex Code
5431 \begin_layout Plain Layout
5440 assumes that the document class has the same name as the layout file.
5449 \begin_layout LyX-Code
5452 Declare\SpecialChar LaTeX
5453 Class[thesis,book]{thesis}
5456 \begin_layout Standard
5459 If, on the other hand, the new class is not based upon an existing class,
5460 you will probably have to
5461 \begin_inset Quotes eld
5465 \begin_inset Quotes erd
5469 We strongly suggest copying an existing layout file which uses a similar
5471 class and then modifying it, if you can do so.
5472 At least use an existing file as a starting point so you can find out what
5473 items you need to worry about.
5474 Again, the specifics are covered below.
5477 \begin_layout Subsection
5479 \begin_inset CommandInset label
5481 name "subsec:Vorlagen-erstellen"
5488 \begin_layout Standard
5491 Once you have written a layout file for a new document class, you might
5492 want to consider writing a
5497 A template acts as a kind of tutorial for your layout, showing how it might
5498 be used, though containing dummy content.
5499 You can of course look at the various templates included with \SpecialChar LyX
5503 \begin_layout Standard
5506 Templates are created just like usual documents: using \SpecialChar LyX
5508 The only difference is that usual documents contain all possible settings,
5509 including the font scheme and the paper size.
5510 Usually a user doesn't want a template to overwrite his preferred settings
5511 for such parameters.
5512 For that reason, the designer of a template should remove the corresponding
5514 \begin_inset Flex Code
5517 \begin_layout Plain Layout
5528 \begin_inset Flex Code
5531 \begin_layout Plain Layout
5541 from the template \SpecialChar LyX
5543 This can be done with any simple text-editor, for example
5544 \begin_inset Flex Code
5547 \begin_layout Plain Layout
5556 \begin_inset Flex Code
5559 \begin_layout Plain Layout
5570 \begin_layout Standard
5573 Put the edited template files you create in
5574 \begin_inset Flex Code
5577 \begin_layout Plain Layout
5585 , copy the ones you use from the global template directory in
5586 \begin_inset Flex Code
5589 \begin_layout Plain Layout
5597 to the same place, and redefine the template path in the
5598 \begin_inset Flex Noun
5601 \begin_layout Plain Layout
5604 Tools\SpecialChar menuseparator
5605 Preferences\SpecialChar menuseparator
5614 \begin_layout Standard
5617 Note, by the way, that there is a template which has a particular meaning:
5618 \begin_inset Newline newline
5622 \begin_inset Flex Code
5625 \begin_layout Plain Layout
5634 This template is loaded every time you create a new document with
5635 \begin_inset Flex Noun
5638 \begin_layout Plain Layout
5641 File\SpecialChar menuseparator
5647 in order to provide useful defaults.
5648 To create this template from inside \SpecialChar LyX
5649 , all you have to do is to open a document
5650 with the correct settings, and use the
5651 \begin_inset Flex Noun
5654 \begin_layout Plain Layout
5657 Save as Document Defaults
5665 \begin_layout Subsection
5666 Alte Layout-Dateien auf den neuesten Stand bringen
5669 \begin_layout Standard
5670 Das Format der Layout-Dateien ändert sich mit jeder \SpecialChar LyX
5672 Daher müssen die Layout-Dateien in das neue Format konvertiert werden.
5673 Wenn \SpecialChar LyX
5674 eine Layout-Datei eines älteren Formats liest, ruft es automatisch
5676 \begin_inset Flex Code
5679 \begin_layout Plain Layout
5685 auf um es in eine temporäre Datei im aktuellen Format zu konvertieren.
5686 Die Originaldatei wird nicht verändert.
5687 Wenn Sie die Layout-Datei öfter verwenden, dann können Sie sie permanent
5688 in das neue Format konvertieren, so dass \SpecialChar LyX
5689 dies nicht jedes Mal tun muss.
5690 Um das zu tun, machen sie Folgendes:
5693 \begin_layout Enumerate
5695 \begin_inset Flex Code
5698 \begin_layout Plain Layout
5705 \begin_inset Flex Code
5708 \begin_layout Plain Layout
5717 \begin_layout Enumerate
5718 Rufen Sie den Befehl
5719 \begin_inset Newline newline
5723 \begin_inset Flex Code
5726 \begin_layout Plain Layout
5727 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
5733 \begin_inset Newline newline
5738 \begin_inset Flex Code
5741 \begin_layout Plain Layout
5747 der Name Ihres \SpecialChar LyX
5748 -Systemverzeichnisses ist.
5751 \begin_layout Standard
5752 Beachten Sie, das manuelle Konvertierungen keine eingefügten Dateien mit
5754 Diese müssen separat konvertiert werden.
5757 \begin_layout Section
5758 Das Layout-Dateiformat
5759 \begin_inset CommandInset label
5761 name "sec:Das-Layout-Dateiformat"
5768 \begin_layout Standard
5769 Die folgenden Abschnitte beschreiben wie Layout-Dateien aufgebaut sind und
5771 Wir empfehlen bei der Erstellung von Layouts langsam zu beginnen und sich
5772 Stück für Stück vorzuarbeiten.
5773 Es ist nicht wirklich schwer, jedoch sind die möglichen Optionen manchmal
5774 etwas erschlagend, besonders wenn man zu viele davon auf einmal ausprobiert.
5775 Am einfachsten ist es, wenn man bestehende Layout-Dateien von \SpecialChar LyX
5777 nimmt oder diese umgestaltet.
5780 \begin_layout Standard
5781 Beachten Sie dass alle Tags in Layout-Dateien nicht durch Groß- und Kleinschreib
5782 ung zu unterscheiden sind.
5784 \begin_inset Flex Code
5787 \begin_layout Plain Layout
5794 \begin_inset Flex Code
5797 \begin_layout Plain Layout
5804 \begin_inset Flex Code
5807 \begin_layout Plain Layout
5814 Die möglichen Argumente für die Tags sind hinter ihnen in eckigen Klammern
5816 Das voreingestellte Argument ist
5817 \begin_inset Flex Code
5820 \begin_layout Plain Layout
5829 Wenn das Argument einen Datentyp hat wie
5830 \begin_inset Quotes gld
5834 \begin_inset Quotes grd
5838 \begin_inset Quotes gld
5842 \begin_inset Quotes grd
5845 , wird die Voreinstellung so angezeigt:
5846 \begin_inset Flex Code
5849 \begin_layout Plain Layout
5860 \begin_layout Subsection
5861 Deklaration einer neuen Textklasse und Klassifikation
5864 \begin_layout Standard
5865 Zeilen, die mit einem
5869 beginnen, sind Kommentare.
5870 Mit einer Ausnahme: alle Textklassen sollten mit Zeilen ähnlich wie den
5874 \begin_layout LyX-Code
5877 #% Do not delete the line below; configure depends on this
5881 \begin_layout Plain Layout
5882 zu Deutsch: Löschen Sie die folgenden Zeilen nicht, da die Konfiguration
5891 \begin_layout LyX-Code
5896 DeclareLaTeXClass{Article (Standard Class)}
5899 \begin_layout LyX-Code
5904 DeclareCategory{Articles}
5907 \begin_layout Standard
5908 Die zweite und dritte Zeile wird benötigt, wenn Sie \SpecialChar LyX
5910 Die Textklassen-Datei wird von dem \SpecialChar LaTeX
5915 gelesen, und zwar in einem speziellen Modus, in dem
5919 -Zeichen ignoriert werden.
5920 Die erste Zeile ist einfach ein \SpecialChar LaTeX
5921 -Kommentar, in der zweiten muss die Textklasse
5922 deklariert werden und die dritte Zeile enthält die optionale Klassifikation
5928 , die mit diesen beiden Zeilen beginnt, definiert eine Textklasse mit dem
5933 (der Name der Layout-Datei) und benutzt die \SpecialChar LaTeX
5938 (Standard ist denselben Namen wie das Layout zu verwenden).
5940 \begin_inset Quotes gld
5943 Article (Standard Class)
5944 \begin_inset Quotes grd
5947 , die oben erscheint, ist auch die Beschreibung, die später im Popup-Menü
5950 Dokument\SpecialChar menuseparator
5955 \begin_inset Quotes gld
5959 \begin_inset Quotes grd
5962 im Beispiel) wird auch im Dialog
5964 Dokument\SpecialChar menuseparator
5967 verwendet: Die Textklassen weden nach diesen Kategorien gruppiert (was
5968 üblicherweise Genres sind, typische Kategorien sind also
5969 \begin_inset Quotes gld
5973 \begin_inset Quotes grd
5977 \begin_inset Quotes gld
5981 \begin_inset Quotes grd
5985 \begin_inset Quotes gld
5989 \begin_inset Quotes grd
5993 \begin_inset Quotes gld
5997 \begin_inset Quotes grd
6001 \begin_inset Quotes gld
6005 \begin_inset Quotes grd
6009 \begin_inset Quotes gld
6013 \begin_inset Quotes grd
6017 Wenn keine Kategorie deklariert wurde, wird die Klasse in die Gruppe
6018 \begin_inset Quotes gld
6022 \begin_inset space ~
6026 \begin_inset Quotes grd
6032 \begin_layout Standard
6033 Angenommen, Sie möchten Ihre eigene Textklasse schreiben, welche die \SpecialChar LaTeX
6034 -Doku\SpecialChar softhyphen
6035 men\SpecialChar softhyphen
6041 benutzt, in der Sie aber das Aussehen der Kopfzeile verändert haben.
6042 Wenn Sie dann Ihre Textklasse in eine Datei namens
6045 \begin_inset Newline linebreak
6050 schreiben, sollten die ersten beiden Zeilen der Datei etwa so aussehen:
6053 \begin_layout LyX-Code
6056 #% Do not delete the line below; configure depends on this
6059 \begin_layout LyX-Code
6064 DeclareLaTeXClass[article]{Article (with My Own Head
6068 \begin_layout Plain Layout
6078 \begin_layout LyX-Code
6083 DeclareCategory{Articles}
6086 \begin_layout Standard
6087 Auf diese Weise deklarieren Sie eine Textklasse
6091 , die die \SpecialChar LaTeX
6096 \begin_layout Plain Layout
6107 verwendet und (im Popup-Menü) beschrieben wird mit:
6109 Article (with My Own Headings)
6112 Falls Ihre Textklasse auch noch von weiteren Paketen abhängt, können Sie
6116 \begin_layout LyX-Code
6119 #% Do not delete the line below; configure depends on this
6122 \begin_layout LyX-Code
6127 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Head
6131 \begin_layout Plain Layout
6141 \begin_layout LyX-Code
6146 DeclareCategory{Articles}
6149 \begin_layout Standard
6150 Dadurch wird angezeigt, dass Ihre Klasse auch das Paket
6155 Schließlich können Sie auch Klassen für DocBook festlegen.
6156 Eine typische Deklaration sieht so aus:
6159 \begin_layout LyX-Code
6163 \begin_layout LyX-Code
6166 #% Do not delete the line below; configure depends on this
6169 \begin_layout LyX-Code
6174 DeclareDocBookClass[article]{SGML (DocBook Article)}
6177 \begin_layout Standard
6178 Diesen Deklarationen kann außerdem ein optionaler Parameter zugefügt werden,
6179 der den Namen der Dokumentenklasse festlegt (hier ist aber keine Liste
6183 \begin_layout Standard
6184 Eine Layout-Deklaration hat demnach die Form
6187 \begin_layout LyX-Code
6192 DeclareLaTeXClass[class,package.sty]{Layout-Beschreibung}
6195 \begin_layout LyX-Code
6200 DeclareCategory{Kategorie}
6203 \begin_layout Standard
6204 Wenn Sie eine Textklasse nach Ihrem Geschmack erstellt haben, müssen Sie
6205 die Datei nur noch in das Verzeichnis
6215 kopieren und unter \SpecialChar LyX
6218 Werkzeuge\SpecialChar menuseparator
6220 \begin_inset space \space{}
6226 Nach dem Neustart von \SpecialChar LyX
6227 sollte Ihre Textklasse im Popup-Menü
6229 Dokument\SpecialChar menuseparator
6235 \begin_layout Subsection
6236 Die Modul-Deklaration
6239 \begin_layout Standard
6240 Ein Modul muss mit einer Zeile wie die folgende beginnen:
6243 \begin_layout LyX-Code
6250 Module[endnotes.sty]{Endnotes}
6253 \begin_layout Standard
6254 Das benötigte Argument in geschweiften Klammern ist der Name des Moduls,
6256 \begin_inset Flex Noun
6259 \begin_layout Plain Layout
6260 Dokument\SpecialChar menuseparator
6261 Einstellungen\SpecialChar menuseparator
6268 Das Argument in eckigen Klammern ist optional: Es deklariert alle \SpecialChar LaTeX
6270 die das Modul benötigt.
6271 Es ist außerdem möglich die Form
6272 \begin_inset Flex Noun
6275 \begin_layout Plain Layout
6281 als optionales Argument zu verwenden, das angibt, dass das Modul nur verwendet
6282 werden kann, wenn es eine Konvertierungsmöglichkeit zwischen den Formaten
6284 \begin_inset Quotes gld
6288 \begin_inset Flex Code
6291 \begin_layout Plain Layout
6298 \begin_inset Quotes grd
6302 \begin_inset Quotes gld
6306 \begin_inset Flex Code
6309 \begin_layout Plain Layout
6316 \begin_inset Quotes grd
6322 \begin_layout Standard
6323 Die Modul-Deklaration sollte gefolgt werden von Zeilen zur Beschreibung
6328 \begin_layout Plain Layout
6329 Vorzugsweise in Englisch wenn das Modul als Teil von \SpecialChar LyX
6330 veröffentlicht werden
6332 Diese Beschreibung wird dann in \SpecialChar LyX
6333 s Liste der zu übersetzenden Zeichenketten
6334 erscheinen und übersetzt werden.
6342 \begin_layout LyX-Code
6346 \begin_layout LyX-Code
6347 #Adds an endnote command, in addition to footnotes.
6351 \begin_layout LyX-Code
6352 #You will need to add
6354 theendnotes in \SpecialChar TeX
6358 \begin_layout LyX-Code
6359 #want the endnotes to appear.
6363 \begin_layout LyX-Code
6367 \begin_layout LyX-Code
6368 #Requires: somemodule | othermodule
6371 \begin_layout LyX-Code
6372 #Excludes: badmodule
6375 \begin_layout Standard
6376 Die Beschreibung wird in
6377 \begin_inset Flex Noun
6380 \begin_layout Plain Layout
6381 Dokument\SpecialChar menuseparator
6382 Einstellungen\SpecialChar menuseparator
6388 verwendet um dem Nutzer zu beschreiben was das Modul macht.
6390 \begin_inset Flex Code
6393 \begin_layout Plain Layout
6399 wird verwendet, um andere Module anzugeben, die dieses Modul verwenden
6401 \begin_inset Flex Code
6404 \begin_layout Plain Layout
6410 wird verwendet, um Module anzugeben, die mit diesem Modul nicht verwendet
6412 Beide Zeilen sind optional und, wie gezeigt, müssen mehrere Module mit
6414 \begin_inset Quotes gld
6418 \begin_inset Quotes grd
6422 Beachten Sie dass die benötigten Module disjunktiv behandelt werden:
6426 der benötigten Module muss verwendet werden.
6427 Dementsprechend darf
6431 der ausgeschlossenen Modul verwendet werden.
6432 Beachten Sie auch, dass Module durch ihren Dateinamen ohne die Dateiendung
6434 \begin_inset Flex Code
6437 \begin_layout Plain Layout
6445 \begin_inset Flex Code
6448 \begin_layout Plain Layout
6455 \begin_inset Flex Code
6458 \begin_layout Plain Layout
6467 \begin_layout Subsection
6471 \begin_layout Standard
6472 Die erste Zeile, die kein Kommentar ist, muss die Dateiformatnummer enthalten:
6475 \begin_layout Description
6476 \begin_inset Flex Code
6479 \begin_layout Plain Layout
6486 \begin_inset Flex Code
6489 \begin_layout Plain Layout
6495 ] Die Nummer des Formats der Layout-Datei.
6498 \begin_layout Standard
6499 Dieser Tag wurde mit \SpecialChar LyX
6501 \begin_inset space ~
6505 Layout-Dateien älteren \SpecialChar LyX
6506 -Versionen haben kein explizites Format und werden
6508 \begin_inset Flex Code
6511 \begin_layout Plain Layout
6513 \begin_inset space ~
6522 Das Format dieser \SpecialChar LyX
6524 Aber jede \SpecialChar LyX
6525 -Version kann ältere Versionen von Layout-Dateien lesen, so wie
6526 es ältere \SpecialChar LyX
6527 -Dateien lesen kann.
6528 Es gibt jedoch keine Unterstützung in ältere Formate zu konvertieren.
6531 \begin_layout Subsection
6532 Allgemeine Parameter für Textklassen
6533 \begin_inset CommandInset label
6535 name "subsec:Allgemeine-Parameter-für"
6542 \begin_layout Standard
6543 Nachfolgend allgemeine Parameter, die die Form der gesamten Dokumentklasse
6544 beschrei\SpecialChar softhyphen
6551 \begin_inset Flex Code
6554 \begin_layout Plain Layout
6560 -Dateien und nicht in Modulen erscheinen müssen.
6561 Ein Modul kann jeden Layout-Tag enthalten.)
6564 \begin_layout Description
6567 \begin_inset Flex Code
6570 \begin_layout Plain Layout
6578 fügt Informationen hinzu, die im
6579 \begin_inset Flex Code
6582 \begin_layout Plain Layout
6588 -Block ausgegeben werden, wenn das Dokument als XHTML ausgegeben wird.
6589 Typischerweise wird dies verwendet werden, um CSS-Stilinformationen auszugeben,
6590 aber es kann auch für alles Andere verwendet werden, dass in
6591 \begin_inset Flex Code
6594 \begin_layout Plain Layout
6602 \begin_inset Quotes gld
6606 \begin_inset Flex Code
6609 \begin_layout Plain Layout
6616 \begin_inset Quotes grd
6622 \begin_layout Description
6623 \begin_inset Flex Code
6626 \begin_layout Plain Layout
6632 fügt Informationen zum \SpecialChar LaTeX
6635 \begin_inset Newline newline
6639 \begin_inset Quotes gld
6643 \begin_inset Flex Code
6646 \begin_layout Plain Layout
6653 \begin_inset Quotes grd
6659 \begin_layout Description
6662 \begin_inset Flex Code
6665 \begin_layout Plain Layout
6673 Definiert Formate die in der Anzeige von Bibliographie-Informationen verwendet
6676 \begin_inset CommandInset ref
6678 reference "subsec:Citation-format-description"
6684 \begin_inset Quotes gld
6688 \begin_inset Flex Code
6691 \begin_layout Plain Layout
6698 \begin_inset Quotes grd
6704 \begin_layout Description
6705 \begin_inset Flex Code
6708 \begin_layout Plain Layout
6714 Dieser Abschnitt beschreibt verschiedene globale Optionen, die von der
6715 Dokumentenklasse unterstützt werden.
6716 Eine detaillierte Beschreibung finden Sie in
6717 \begin_inset CommandInset ref
6719 reference "subsec:Der-Abschnitt-ClassOptions"
6725 \begin_inset Quotes gld
6729 \begin_inset Flex Code
6732 \begin_layout Plain Layout
6739 \begin_inset Quotes grd
6745 \begin_layout Description
6746 \begin_inset Flex Code
6749 \begin_layout Plain Layout
6756 \begin_inset Flex Code
6759 \begin_layout Plain Layout
6768 \begin_inset space \thinspace{}
6772 \begin_inset Flex Code
6775 \begin_layout Plain Layout
6781 ] Gibt an, ob die Textklasse standardmäßig ein- oder zweispaltig gesetzt
6784 \begin_inset Flex Noun
6787 \begin_layout Plain Layout
6788 Dokument\SpecialChar menuseparator
6797 \begin_layout Description
6798 \begin_inset Flex Code
6801 \begin_layout Plain Layout
6808 \begin_inset Flex Code
6811 \begin_layout Plain Layout
6817 ] definiert die Eigenschaften für einen Zähler.
6818 Wenn der Zähler noch nicht existiert, wird er erstellt; wenn er bereits
6819 existiert, wird er modifiziert.
6821 \begin_inset Quotes gld
6825 \begin_inset Flex Code
6828 \begin_layout Plain Layout
6835 \begin_inset Quotes grd
6839 \begin_inset Newline newline
6843 \begin_inset CommandInset ref
6845 reference "subsec:Zähler"
6849 für Details zu Zählern.
6852 \begin_layout Description
6853 \begin_inset Flex Code
6856 \begin_layout Plain Layout
6862 Definiert den Standardzeichensatz für die Anzeige des Dokuments.
6863 Eine genauere Beschreibung finden Sie in
6864 \begin_inset CommandInset ref
6866 reference "subsec:Beschreibung-des-Zeichensatzes"
6872 \begin_inset Quotes gld
6876 \begin_inset Flex Code
6879 \begin_layout Plain Layout
6886 \begin_inset Quotes grd
6892 \begin_layout Description
6893 \begin_inset Flex Code
6896 \begin_layout Plain Layout
6903 \begin_inset Flex Code
6906 \begin_layout Plain Layout
6912 ] spezifiziert ein Modul, das standardmäßig zu dieser Dokumentklasse hinzugefügt
6914 <Modul> ist der Dateiname ohne die Dateiendung
6915 \begin_inset Flex Code
6918 \begin_layout Plain Layout
6925 Der Nutzer kann das Modul zwar immer noch entfernen, aber es bleibt von
6927 (Dies gilt nur für neue Dateien oder wenn diese Klasse für ein existierendes
6928 Dokument gewählt wird.)
6931 \begin_layout Description
6932 \begin_inset Flex Code
6935 \begin_layout Plain Layout
6942 \begin_inset Flex Code
6945 \begin_layout Plain Layout
6951 ] Dies ist das Layout bzw.
6952 \begin_inset space \space{}
6955 der Stil, der für neu angelegte Absätze verwendet wird.
6956 Normalerweise ist das
6957 \begin_inset Flex Noun
6960 \begin_layout Plain Layout
6967 Fehlt dieser Eintrag, wird das erste definierte Layout verwendet; dennoch
6969 \begin_inset Flex Code
6972 \begin_layout Plain Layout
6981 \begin_layout Description
6982 \begin_inset Flex Code
6985 \begin_layout Plain Layout
6992 \begin_inset Flex Code
6995 \begin_layout Plain Layout
7001 ] zeigt an, dass das genannte Modul (das durch den Dateinamen ohne die Endung
7003 \begin_inset Flex Code
7006 \begin_layout Plain Layout
7012 angegeben wird) in dieser Dokumentklasse nicht benutzt werden kann.
7013 Dies könnte in einem Journal-spezifischen Layout benutzt werden, um zum
7014 Beispiel die Verwendung des Moduls
7015 \begin_inset Flex Code
7018 \begin_layout Plain Layout
7024 zu verhindern, das Theoreme abschnittsweise nummeriert.
7029 in einem Modul benutzt werden.
7030 Module haben ihre eigene Methode andere Module auszuschließen (siehe
7031 \begin_inset CommandInset ref
7033 reference "subsec:Layout-Module"
7040 \begin_layout Description
7041 \begin_inset Flex Code
7044 \begin_layout Plain Layout
7050 definiert ein neues Gleitobjekt.
7052 \begin_inset CommandInset ref
7054 reference "subsec:Gleitobjekte"
7060 \begin_inset Quotes gld
7064 \begin_inset Flex Code
7067 \begin_layout Plain Layout
7074 \begin_inset Quotes grd
7080 \begin_layout Description
7081 \begin_inset Flex Code
7084 \begin_layout Plain Layout
7090 Informationen, die im
7091 \begin_inset Flex Code
7094 \begin_layout Plain Layout
7100 -Block ausgegeben werden, wenn das Dokument als XHTML ausgegeben wird.
7101 Beachten Sie, dass dies jede vorhergehende
7102 \begin_inset Flex Code
7105 \begin_layout Plain Layout
7112 \begin_inset Flex Code
7115 \begin_layout Plain Layout
7121 -Deklaration überschreibt.
7123 \begin_inset Flex Code
7126 \begin_layout Plain Layout
7132 wenn Sie Material zum Vorspann hinzufügen wollen.) Muss mit
7133 \begin_inset Quotes gld
7137 \begin_inset Flex Code
7140 \begin_layout Plain Layout
7147 \begin_inset Quotes grd
7153 \begin_layout Description
7154 \begin_inset Flex Code
7157 \begin_layout Plain Layout
7164 \begin_inset Flex Code
7167 \begin_layout Plain Layout
7174 \begin_inset space \space{}
7177 der Stil, der für das Inhaltsverzeichnis, das Literaturverzeichnis etc.
7178 \begin_inset space \space{}
7181 verwendet werden soll, wenn das Dokument als HTML exportiert wird.
7182 Für Artikel sollte dies normalerweise
7183 \begin_inset Flex Code
7186 \begin_layout Plain Layout
7193 \begin_inset Flex Code
7196 \begin_layout Plain Layout
7203 Wenn es nicht angegeben wird, wird \SpecialChar LyX
7204 versuchen herauszufinden, welches Layout
7208 \begin_layout Description
7209 \begin_inset Flex Code
7212 \begin_layout Plain Layout
7219 \begin_inset Flex Code
7222 \begin_layout Plain Layout
7228 ] Ändert die Eigenschaften des angegebenen Zählers.
7229 Wenn dieser nicht existiert, wird die Anweisung ignoriert.
7231 \begin_inset Quotes gld
7235 \begin_inset Flex Code
7238 \begin_layout Plain Layout
7245 \begin_inset Quotes grd
7249 \begin_inset Newline newline
7253 \begin_inset CommandInset ref
7255 reference "subsec:Zähler"
7259 für Details zu Zählern.
7262 \begin_layout Description
7263 \begin_inset Flex Code
7266 \begin_layout Plain Layout
7273 \begin_inset Flex Code
7276 \begin_layout Plain Layout
7282 ] Hiermit können Sie andere Dateien einbinden, die Definitionen für Textklassen
7284 Damit können Sie unnötige Mehrfachdefinitionen vermeiden.
7285 Beispiele sind die Standard-Layout-Dateien, z.
7286 \begin_inset space \thinspace{}
7291 \begin_inset Flex Code
7294 \begin_layout Plain Layout
7300 , die ein Großteil der Standardlayouts enthalten.
7303 \begin_layout Description
7304 \begin_inset Flex Code
7307 \begin_layout Plain Layout
7314 \begin_inset Flex Code
7317 \begin_layout Plain Layout
7323 ] Dieser Abschnitt definiert das Layout einer Einfügung (neu).
7324 Es kann auf eine vorhandene Einfügung angewendet werden oder eine neue,
7325 benutzerdefinierte, zum Beispiel einen neuen Zeichenstil.
7327 \begin_inset Quotes gld
7331 \begin_inset Flex Code
7334 \begin_layout Plain Layout
7341 \begin_inset Quotes grd
7345 \begin_inset Newline newline
7349 \begin_inset CommandInset ref
7351 reference "subsec:Flexible-Einfügungen-und"
7355 enthält weitere Einzelheiten.
7358 \begin_layout Description
7359 \begin_inset Flex Code
7362 \begin_layout Plain Layout
7369 \begin_inset Flex Code
7372 \begin_layout Plain Layout
7378 ] ist ein String dessen Länge die Breite des linken Randes festlegt, zum
7380 \begin_inset Quotes gld
7384 \begin_inset Flex Code
7387 \begin_layout Plain Layout
7394 \begin_inset Quotes grd
7400 \begin_layout Description
7401 \begin_inset Flex Code
7404 \begin_layout Plain Layout
7411 \begin_inset Flex Code
7414 \begin_layout Plain Layout
7420 ] Ändert die Eigenschaften des angegebenen Paragraphstils.
7421 Wenn dieser nicht existiert, wird die Anweisung ignoriert.
7423 \begin_inset Quotes gld
7427 \begin_inset Flex Code
7430 \begin_layout Plain Layout
7437 \begin_inset Quotes grd
7443 \begin_layout Description
7444 \begin_inset Flex Code
7447 \begin_layout Plain Layout
7454 \begin_inset Flex Code
7457 \begin_layout Plain Layout
7463 ] Löscht einen existierenden Zähler; üblicherweise einen, der in einer eingefügt
7464 en Datei definiert wurde.
7467 \begin_layout Description
7468 \begin_inset Flex Code
7471 \begin_layout Plain Layout
7478 \begin_inset Flex Code
7481 \begin_layout Plain Layout
7487 ] Löscht ein vorhandenes Gleitobjekt.
7488 Dies ist dann nützlich, wenn Sie ein Gleitobjekt, das in einer eingefügten
7489 Datei definiert wurde, nicht verwenden wollen.
7492 \begin_layout Description
7493 \begin_inset Flex Code
7496 \begin_layout Plain Layout
7503 \begin_inset Flex Code
7506 \begin_layout Plain Layout
7512 ] Löscht ein existierendes Layout bzw.
7513 \begin_inset space \space{}
7519 \begin_layout Description
7520 \begin_inset Flex Code
7523 \begin_layout Plain Layout
7530 \begin_inset Flex Code
7533 \begin_layout Plain Layout
7539 ] Das Dateiformat (wie es in den \SpecialChar LyX
7540 -Voreinstellungen definiert ist) das von
7541 dieser Dokumentklasse erzeugt wird.
7542 Es ist hauptsächlich nützlich wenn
7543 \begin_inset Flex Code
7546 \begin_layout Plain Layout
7553 \begin_inset Flex Code
7556 \begin_layout Plain Layout
7562 gesetzt ist und man einen neuen Typ eines
7563 \begin_inset Quotes gld
7567 \begin_inset Quotes grd
7570 -Dokuments definieren will.
7572 \begin_inset Quotes gld
7576 \begin_inset Flex Code
7579 \begin_layout Plain Layout
7586 \begin_inset Quotes grd
7590 \begin_inset Quotes gld
7594 \begin_inset Flex Code
7597 \begin_layout Plain Layout
7604 \begin_inset Quotes grd
7607 zurückgesetzt wenn der entsprechende
7608 \begin_inset Flex Code
7611 \begin_layout Plain Layout
7617 -Parameter gefunden wird.
7620 \begin_layout Description
7621 \begin_inset Flex Code
7624 \begin_layout Plain Layout
7631 \begin_inset Flex Code
7634 \begin_layout Plain Layout
7645 \begin_inset Flex Code
7648 \begin_layout Plain Layout
7655 \begin_inset Flex Code
7658 \begin_layout Plain Layout
7664 ] Gibt an welche Dokumentart diese Klasse erzeugt.
7667 \begin_layout Description
7668 \begin_inset Flex Code
7671 \begin_layout Plain Layout
7678 \begin_inset Flex Code
7681 \begin_layout Plain Layout
7688 \begin_inset Flex Code
7691 \begin_layout Plain Layout
7697 ] Der zweite String gibt Optionen für das Paket im ersten String an.
7699 \begin_inset Quotes gld
7703 \begin_inset Flex Code
7706 \begin_layout Plain Layout
7707 PackageOptions natbib square
7713 \begin_inset Quotes grd
7717 \begin_inset Flex Code
7720 \begin_layout Plain Layout
7727 \begin_inset Flex Code
7730 \begin_layout Plain Layout
7737 (Für \SpecialChar TeX
7738 perten: Dies bewirkt, dass \SpecialChar LyX
7740 \begin_inset Flex Code
7743 \begin_layout Plain Layout
7746 PassOptionsToPackage{natbib}{square}
7752 \begin_inset Flex Code
7755 \begin_layout Plain Layout
7764 \begin_layout Description
7765 \begin_inset Flex Code
7768 \begin_layout Plain Layout
7775 \begin_inset Flex Code
7778 \begin_layout Plain Layout
7787 \begin_inset Flex Code
7790 \begin_layout Plain Layout
7797 \begin_inset Flex Code
7800 \begin_layout Plain Layout
7806 ] Der Standard-Seitenstil.
7808 \begin_inset Flex Noun
7811 \begin_layout Plain Layout
7812 Dokument\SpecialChar menuseparator
7821 \begin_layout Description
7822 \begin_inset Flex Code
7825 \begin_layout Plain Layout
7831 Definiert den Vorspann für das \SpecialChar LaTeX
7833 Beachten Sie, dass dies jede vorhergehende
7834 \begin_inset Flex Code
7837 \begin_layout Plain Layout
7844 \begin_inset Flex Code
7847 \begin_layout Plain Layout
7853 -Deklaration überschreibt.
7855 \begin_inset Flex Code
7858 \begin_layout Plain Layout
7864 wenn Sie Material zum Vorspann hinzufügen wollen.) Muss mit
7865 \begin_inset Quotes gld
7869 \begin_inset Flex Code
7872 \begin_layout Plain Layout
7879 \begin_inset Quotes grd
7885 \begin_layout Description
7886 \begin_inset Flex Code
7889 \begin_layout Plain Layout
7896 \begin_inset Flex Code
7899 \begin_layout Plain Layout
7906 \begin_inset Flex Code
7909 \begin_layout Plain Layout
7918 \begin_inset space \thinspace{}
7922 \begin_inset Flex Code
7925 \begin_layout Plain Layout
7931 ] zeigt an, ob die Klasse bereits die Funktion
7932 \begin_inset Flex Code
7935 \begin_layout Plain Layout
7942 Eine Funktion ist im Allgemeinen der Name eines Paketes (z.
7943 \begin_inset space \thinspace{}
7947 \begin_inset space \space{}
7951 \begin_inset Flex Code
7954 \begin_layout Plain Layout
7961 \begin_inset Flex Code
7964 \begin_layout Plain Layout
7970 ) oder ein Makro (z.
7971 \begin_inset space \thinspace{}
7975 \begin_inset space \space{}
7979 \begin_inset Flex Code
7982 \begin_layout Plain Layout
7989 \begin_inset Flex Code
7992 \begin_layout Plain Layout
8000 \begin_inset CommandInset ref
8002 reference "chap:Liste-von-Funktionen"
8006 für eine Liste der Funktionen.
8009 \begin_layout Description
8010 \begin_inset Flex Code
8013 \begin_layout Plain Layout
8020 \begin_inset Flex Code
8023 \begin_layout Plain Layout
8029 ] zeigt an, dass dieses Layout die Funktionalität des Moduls
8030 \begin_inset Flex Code
8033 \begin_layout Plain Layout
8039 anbietet, das als Dateiname ohne die Erweiterung
8044 Dies wird typischerweise benutzt, wenn das Layout das Modul direkt benutzt
8046 \begin_inset Flex Code
8049 \begin_layout Plain Layout
8056 Es könnte auch in einem Modul benutzt werden, das eine andere Implementation
8057 derselben Funktion liefert.
8060 \begin_layout Description
8061 \begin_inset Flex Code
8064 \begin_layout Plain Layout
8071 \begin_inset Flex Code
8074 \begin_layout Plain Layout
8080 ] Erstellt einen neuen Paragraphstil, falls er noch nicht existiert.
8081 Existiert er bereits, wird
8082 \begin_inset Flex Code
8085 \begin_layout Plain Layout
8093 \begin_inset Quotes gld
8097 \begin_inset Flex Code
8100 \begin_layout Plain Layout
8107 \begin_inset Quotes grd
8113 \begin_layout Description
8114 \begin_inset Flex Code
8117 \begin_layout Plain Layout
8124 \begin_inset Flex Code
8127 \begin_layout Plain Layout
8137 zeigt an, ob die Klasse die Funktion
8138 \begin_inset Flex Code
8141 \begin_layout Plain Layout
8148 Mehrfache Funktionen müssen durch Komma getrennt werden Beachten Sie, dass
8149 Sie nur unterstützte Funktionen anfordern können.
8151 \begin_inset CommandInset ref
8153 reference "chap:Liste-von-Funktionen"
8157 für eine Liste der Funktionen.) Wenn Sie ein Paket mit bestimmten Optionen
8158 anfordern müssen, können Sie zusätzlich
8159 \begin_inset Flex Code
8162 \begin_layout Plain Layout
8171 \begin_layout Description
8172 \begin_inset Flex Code
8175 \begin_layout Plain Layout
8182 \begin_inset Flex Code
8185 \begin_layout Plain Layout
8191 ] ist ein String dessen Länge die Breite des rechten Randes festlegt, zum
8193 \begin_inset Quotes gld
8197 \begin_inset Flex Code
8200 \begin_layout Plain Layout
8207 \begin_inset Quotes grd
8213 \begin_layout Description
8214 \begin_inset Flex Code
8217 \begin_layout Plain Layout
8224 \begin_inset Flex Code
8227 \begin_layout Plain Layout
8233 ] legt die Nummerierungstiefe fest; korrespondiert mit dem \SpecialChar LaTeX
8235 \begin_inset Flex Code
8238 \begin_layout Plain Layout
8247 \begin_layout Description
8248 \begin_inset Flex Code
8251 \begin_layout Plain Layout
8258 \begin_inset Flex Code
8261 \begin_layout Plain Layout
8270 \begin_inset space \thinspace{}
8274 \begin_inset Flex Code
8277 \begin_layout Plain Layout
8283 ] Gibt an, ob der Text standardmäßig für ein- oder für zweiseitigen Druck
8286 \begin_inset Flex Noun
8289 \begin_layout Plain Layout
8290 Dokument\SpecialChar menuseparator
8299 \begin_layout Description
8300 \begin_inset Flex Code
8303 \begin_layout Plain Layout
8310 \begin_inset Flex Code
8313 \begin_layout Plain Layout
8319 ] definiert einen neuen Absatzstil.
8320 Wenn er bereits existiert, werden stattdessen einige seiner Parameter neu
8323 \begin_inset Quotes gld
8327 \begin_inset Flex Code
8330 \begin_layout Plain Layout
8337 \begin_inset Quotes grd
8341 \begin_inset Newline newline
8345 \begin_inset CommandInset ref
8347 reference "subsec:Einzelne-Absatz-Layouts"
8351 für mehr über Absatzstile.
8354 \begin_layout Description
8355 \begin_inset Flex Code
8358 \begin_layout Plain Layout
8365 \begin_inset Flex Code
8368 \begin_layout Plain Layout
8374 ] ist der Name des Befehls oder der Umgebung, der für
8375 \begin_inset Flex Code
8378 \begin_layout Plain Layout
8384 benutzt werden soll.
8387 \begin_layout Description
8388 \begin_inset Flex Code
8391 \begin_layout Plain Layout
8398 \begin_inset Flex Code
8401 \begin_layout Plain Layout
8410 \begin_inset Flex Code
8413 \begin_layout Plain Layout
8419 ] gibt an, wie der Dokumenttitel aussehen soll.
8421 \begin_inset Flex Code
8424 \begin_layout Plain Layout
8430 bedeutet, dass das Makro namens
8431 \begin_inset Flex Code
8434 \begin_layout Plain Layout
8440 nach dem letzten Layout mit
8441 \begin_inset Quotes gld
8445 \begin_inset Flex Code
8448 \begin_layout Plain Layout
8450 \begin_inset space ~
8459 \begin_inset Quotes grd
8462 gesetzt werden soll.
8464 \begin_inset Flex Code
8467 \begin_layout Plain Layout
8473 ist für den Fall, dass alle Layouts mit
8474 \begin_inset Quotes gld
8478 \begin_inset Flex Code
8481 \begin_layout Plain Layout
8483 \begin_inset space ~
8492 \begin_inset Quotes grd
8496 \begin_inset Flex Code
8499 \begin_layout Plain Layout
8505 -Umgebung gesetzt werden sollen.
8508 \begin_layout Description
8509 \begin_inset Flex Code
8512 \begin_layout Plain Layout
8519 \begin_inset Flex Code
8522 \begin_layout Plain Layout
8528 ] legt fest, bis zu welcher Tiefe das Inhaltsverzeichnis gehen soll; korrespondi
8529 ert mit dem \SpecialChar LaTeX
8531 \begin_inset Flex Code
8534 \begin_layout Plain Layout
8543 \begin_layout Subsection
8549 \begin_inset CommandInset label
8551 name "subsec:Der-Abschnitt-ClassOptions"
8558 \begin_layout Standard
8560 \begin_inset Flex Code
8563 \begin_layout Plain Layout
8569 kann folgende Einträge enthalten:
8572 \begin_layout Description
8573 \begin_inset Flex Code
8576 \begin_layout Plain Layout
8583 \begin_inset Flex Code
8586 \begin_layout Plain Layout
8592 ] Eine Liste verfügbarer Größen für den Hauptzeichensatz; die Einträge werden
8594 \begin_inset Quotes gld
8598 \begin_inset Flex Code
8601 \begin_layout Plain Layout
8608 \begin_inset Quotes grd
8614 \begin_layout Description
8615 \begin_inset Flex Code
8618 \begin_layout Plain Layout
8624 wird benutzt, um die DTD-Zeile mit XML-basierten Klassen zu setzen.
8626 \begin_inset Quotes gld
8629 -//OASIS//DTD DocBook V4.2//EN
8630 \begin_inset Quotes grd
8636 \begin_layout Description
8637 \begin_inset Flex Code
8640 \begin_layout Plain Layout
8647 \begin_inset Flex Code
8650 \begin_layout Plain Layout
8656 ] Sonstige Optionen für die Dokumentenklasse, die durch Komma getrennt werden.
8658 \begin_inset Flex Code
8661 \begin_layout Plain Layout
8673 Befehl als optionales Argument übergeben.
8676 \begin_layout Description
8677 \begin_inset Flex Code
8680 \begin_layout Plain Layout
8687 \begin_inset Flex Code
8690 \begin_layout Plain Layout
8691 string="empty|plain|headings|fancy"
8696 ] Eine Liste verfügbarer Seitenstile; die Einträge werden mit
8697 \begin_inset Quotes gld
8701 \begin_inset Flex Code
8704 \begin_layout Plain Layout
8711 \begin_inset Quotes grd
8717 \begin_layout Standard
8719 \begin_inset Flex Code
8722 \begin_layout Plain Layout
8729 \begin_inset Quotes gld
8733 \begin_inset Flex Code
8736 \begin_layout Plain Layout
8743 \begin_inset Quotes grd
8749 \begin_layout Subsection
8750 Einzelne Absatz-Layouts
8751 \begin_inset CommandInset label
8753 name "subsec:Einzelne-Absatz-Layouts"
8760 \begin_layout Standard
8761 Eine Layoutbeschreibung für einen Absatz sieht wie folgt aus
8765 \begin_layout Plain Layout
8766 Sie können mit diesem Ausdruck entweder ein neues Layout definieren oder
8767 aber ein bereits definiertes umdefinieren.
8776 \begin_layout LyX-Code
8783 \begin_layout LyX-Code
8787 \begin_layout LyX-Code
8791 \begin_layout Standard
8792 Innerhalb des Blocks sind folgende Befehle erlaubt:
8795 \begin_layout Description
8796 \begin_inset Flex Code
8799 \begin_layout Plain Layout
8806 \begin_inset Flex Code
8809 \begin_layout Plain Layout
8814 , left, right, center
8819 ] Gibt an, ob der Text im Blocksatz linksbündig, rechtsbündig oder zentriert
8823 \begin_layout Description
8824 \begin_inset Flex Code
8827 \begin_layout Plain Layout
8834 \begin_inset Flex Code
8837 \begin_layout Plain Layout
8842 , left, right, center
8847 ] Eine Liste von möglichen Textausrichtungen, die durch Kommata voneinander
8849 (Einige \SpecialChar LaTeX
8850 -Stile verbieten bestimmte Ausrichtungen, weil sie keinen Sinn
8852 Beispielsweise sollte in einer nummerierten Aufzählung der Text nicht rechtsbün
8853 dig oder zentriert gesetzt werden.)
8856 \begin_layout Description
8857 \begin_inset Flex Code
8860 \begin_layout Plain Layout
8867 \begin_inset Flex Code
8870 \begin_layout Plain Layout
8876 ] Definiert Argument Nummer <int> eines Befehls\SpecialChar breakableslash
8877 einer Umgebung, der/die im
8878 aktuellen Stil definiert ist.
8879 Dies ist nützlich für Dinge wie Abschnittsüberschriften.
8880 Jedes Argument (optional oder erforderlich) eines Befehls oder einer Umgebung
8881 hat eine eigene Definition (ausgenommen das erforderliche Haupt-Argument
8883 Die Nummer gibt die Reihenfolge des Arguments an.
8884 Die Definition muss mit
8885 \begin_inset Flex Code
8888 \begin_layout Plain Layout
8896 \begin_inset space ~
8899 optionalen Argumenten hat somit diese Struktur:
8900 \begin_inset Separator latexpar
8943 \begin_layout Standard
8945 \begin_inset Flex Code
8948 \begin_layout Plain Layout
8954 -Definition sind die folgenden Spezifikationen möglich:
8957 \begin_layout Itemize
8958 \begin_inset Flex Code
8961 \begin_layout Plain Layout
8968 \begin_inset Flex Code
8971 \begin_layout Plain Layout
8979 The string that will appear both in the menu (to insert this argument) and
8980 on the argument inset button (unless you also specify a separate
8981 \begin_inset Flex Code
8984 \begin_layout Plain Layout
8993 For the menu, you can define an accelerator by appending the respective
8994 character to the string, divided by
8997 \begin_inset Quotes gld
9001 \begin_inset Quotes grd
9005 \begin_inset space \thinspace{}
9010 \begin_inset Quotes gld
9014 \begin_inset Flex Code
9017 \begin_layout Plain Layout
9024 \begin_inset Quotes grd
9030 \begin_layout Itemize
9031 \begin_inset Flex Code
9034 \begin_layout Plain Layout
9041 \begin_inset Flex Code
9044 \begin_layout Plain Layout
9052 A separate string for the menu.
9053 You can define an accelerator by appending the respective character to
9054 the string, divided by
9057 \begin_inset Quotes gld
9061 \begin_inset Quotes grd
9065 \begin_inset space \thinspace{}
9070 \begin_inset Quotes gld
9074 \begin_inset Flex Code
9077 \begin_layout Plain Layout
9084 \begin_inset Quotes grd
9090 This specification is optional.
9091 If it is not given the
9092 \begin_inset Flex Code
9095 \begin_layout Plain Layout
9103 will be used instead for the menu.
9106 \begin_layout Itemize
9107 \begin_inset Flex Code
9110 \begin_layout Plain Layout
9117 \begin_inset Flex Code
9120 \begin_layout Plain Layout
9128 A longer explanatory text that appears in the tooltip when hovering over
9132 \begin_layout Itemize
9133 \begin_inset Flex Code
9136 \begin_layout Plain Layout
9143 \begin_inset Flex Code
9146 \begin_layout Plain Layout
9155 \begin_inset space \thinspace{}
9159 \begin_inset Flex Code
9162 \begin_layout Plain Layout
9170 Declare if this is a mandatory (1) or an optional (0) argument.
9171 Mandatory arguments will be output empty if not given, while optional arguments
9172 will not be output at all.
9173 By default, mandatory arguments are delimited by
9174 \begin_inset Flex Code
9177 \begin_layout Plain Layout
9185 , while optional arguments are delimited by
9188 \begin_inset Flex Code
9191 \begin_layout Plain Layout
9200 \begin_layout Itemize
9201 \begin_inset Flex Code
9204 \begin_layout Plain Layout
9211 \begin_inset Flex Code
9214 \begin_layout Plain Layout
9222 Defines another argument (by its number) which this argument requires to
9223 be output if it is itself output.
9225 \begin_inset space \thinspace{}
9228 g., in \SpecialChar LaTeX
9229 commands, optional arguments often require previous optional arguments
9230 to be output (at least empty), as in
9233 \begin_inset Flex Code
9236 \begin_layout Plain Layout
9239 command[][Argument]{Text}
9247 This can be achieved by the statement
9250 \begin_inset Flex Code
9253 \begin_layout Plain Layout
9260 \begin_inset Flex Code
9263 \begin_layout Plain Layout
9272 \begin_layout Itemize
9273 \begin_inset Flex Code
9276 \begin_layout Plain Layout
9283 \begin_inset Flex Code
9286 \begin_layout Plain Layout
9292 Definiert ein eigenes linkes Begrenzungszeichen (satt
9293 \begin_inset Flex Code
9296 \begin_layout Plain Layout
9303 \begin_inset Flex Code
9306 \begin_layout Plain Layout
9313 Ein Zeilenumbruch in der Ausgabe wird mit
9314 \begin_inset Flex Code
9317 \begin_layout Plain Layout
9326 \begin_layout Itemize
9327 \begin_inset Flex Code
9330 \begin_layout Plain Layout
9337 \begin_inset Flex Code
9340 \begin_layout Plain Layout
9346 Definiert ein eigenes rechtes Begrenzungszeichen (statt
9347 \begin_inset Flex Code
9350 \begin_layout Plain Layout
9357 \begin_inset Flex Code
9360 \begin_layout Plain Layout
9367 Ein Zeilenumbruch in der Ausgabe wird mit
9368 \begin_inset Flex Code
9371 \begin_layout Plain Layout
9380 \begin_layout Itemize
9381 \begin_inset Flex Code
9384 \begin_layout Plain Layout
9391 \begin_inset Flex Code
9394 \begin_layout Plain Layout
9400 Definiert ein Argument, das nur eingefügt wird, wenn der Nutzer kein Argument
9402 Das heißt, wenn keine Argument-Einfügung eingefügt wurde oder sie eingefügt
9403 wurde aber leer ist.
9404 Mehrere Argumente werden durch Kommas getrennt.
9407 \begin_layout Itemize
9408 \begin_inset Flex Code
9411 \begin_layout Plain Layout
9418 \begin_inset Flex Code
9421 \begin_layout Plain Layout
9427 Definiert ein Argument, das in jedem Fall eingefügt wird (allein oder zusätzlic
9428 h zu benutzerdefinierten Argumenten).
9429 Mehrere Argumente werden durch Kommas getrennt.
9432 \begin_layout Itemize
9433 \begin_inset Flex Code
9436 \begin_layout Plain Layout
9442 Die Schrift, die für den Argumentinhalt verwendet wird; siehe
9443 \begin_inset CommandInset ref
9445 reference "subsec:Beschreibung-des-Zeichensatzes"
9452 \begin_layout Itemize
9453 \begin_inset Flex Code
9456 \begin_layout Plain Layout
9462 Die Schrift, die für die Marke verwendet wird; siehe
9463 \begin_inset CommandInset ref
9465 reference "subsec:Beschreibung-des-Zeichensatzes"
9472 \begin_layout Itemize
9473 \begin_inset Flex Code
9476 \begin_layout Plain Layout
9483 \begin_inset Flex Code
9486 \begin_layout Plain Layout
9491 , Minimalistic, Conglomerate
9496 ] legt den Anzeigestil für den Rahmen und Knopf der Einfügung fest.
9499 \begin_layout Itemize
9500 \begin_inset Flex Code
9503 \begin_layout Plain Layout
9510 \begin_inset Flex Code
9513 \begin_layout Plain Layout
9522 \begin_inset Flex Code
9525 \begin_layout Plain Layout
9533 , this argument is automatically inserted when the respective style is selected.
9534 Currently, only one argument per style\SpecialChar breakableslash
9535 layout can be automatically inserted.
9538 \begin_layout Itemize
9539 \begin_inset Flex Code
9542 \begin_layout Plain Layout
9549 \begin_inset Flex Code
9552 \begin_layout Plain Layout
9561 \begin_inset Flex Code
9564 \begin_layout Plain Layout
9572 , this argument will be inserted with a copy of the co-text (either selected
9573 text or the whole paragraph) as content.
9576 \begin_layout Itemize
9577 \begin_inset Flex Code
9580 \begin_layout Plain Layout
9587 \begin_inset Flex Code
9590 \begin_layout Plain Layout
9591 string of characters
9601 Defines individual characters that should be output in raw form, meaning
9602 without special translations that \SpecialChar LaTeX
9604 Note that, contrary to PassThru, this needs to be explicitly defined for
9606 That is, arguments do not inherit PassThruChars from their parent inset
9610 \begin_layout Standard
9613 By default, the text entered in the \SpecialChar LyX
9614 workarea in the respective layout is
9615 the last (mandatory) argument of a command if the
9616 \begin_inset Flex Code
9619 \begin_layout Plain Layout
9628 \begin_inset Flex Code
9631 \begin_layout Plain Layout
9640 However, arguments with the prefix
9641 \begin_inset Flex Code
9644 \begin_layout Plain Layout
9652 are output after this workarea argument.
9653 Note that post-argument numbering restarts at 1, so the first argument
9654 following the workarea argument is
9657 \begin_inset Flex Code
9660 \begin_layout Plain Layout
9667 Post-Argumente werden in allen anderen
9668 \begin_inset Flex Code
9671 \begin_layout Plain Layout
9678 \begin_inset Flex Code
9681 \begin_layout Plain Layout
9690 \begin_layout Standard
9691 Argumente für Listen-
9692 \begin_inset Flex Code
9695 \begin_layout Plain Layout
9704 \begin_inset Flex Code
9707 \begin_layout Plain Layout
9716 \begin_inset Flex Code
9719 \begin_layout Plain Layout
9725 gefolgt von der Nummer (z.
9726 \begin_inset space \thinspace{}
9731 \begin_inset Flex Code
9734 \begin_layout Plain Layout
9744 \begin_layout Description
9745 \begin_inset Flex Code
9748 \begin_layout Plain Layout
9754 Beachten Sie, dass dies alle vorhergehenden
9755 \begin_inset Flex Code
9758 \begin_layout Plain Layout
9764 -Dekla\SpecialChar softhyphen
9765 ration für diesen Stil überschreibt.
9767 \begin_inset Quotes gld
9771 \begin_inset Flex Code
9774 \begin_layout Plain Layout
9781 \begin_inset Quotes grd
9786 \begin_inset CommandInset ref
9788 reference "subsec:I18n"
9792 für Details zur Verwendung.
9795 \begin_layout Description
9796 \begin_inset Flex Code
9799 \begin_layout Plain Layout
9806 \begin_inset Flex Code
9809 \begin_layout Plain Layout
9819 \begin_layout Plain Layout
9820 \begin_inset Quotes gld
9824 \begin_inset Quotes grd
9827 ist eine Gleitkommazahl, wie
9828 \begin_inset Quotes gld
9832 \begin_inset Quotes grd
9840 Der vertikale Abstand, der die letzte Serie von Absätzen vom folgenden
9842 Wenn der nächste Paragraph einen anderen Stil hat, werden die Abstände
9843 nicht einfach addiert, sondern das Maximum wird verwendet.
9846 \begin_layout Description
9847 \begin_inset Flex Code
9850 \begin_layout Plain Layout
9857 \begin_inset Flex Code
9860 \begin_layout Plain Layout
9866 ] ist die Kategorie für diesen Stil.
9867 Sie wird benutzt, um zugehörige Stile in der Layout-Kombobox der Werkzeugleiste
9869 Jeder beliebige String kann benutzt werden, aber es ist sinnvoll vorhandene
9870 Ka\SpecialChar softhyphen
9871 te\SpecialChar softhyphen
9872 gorien zusammen mit Ihren eigenen Stilen zu benutzen.
9875 \begin_layout Description
9876 \begin_inset Flex Code
9879 \begin_layout Plain Layout
9885 ist die Tiefe des XML-Befehls und wird nur für XML-Formate benutzt.
9888 \begin_layout Description
9889 \begin_inset Flex Code
9892 \begin_layout Plain Layout
9899 \begin_inset Flex Code
9902 \begin_layout Plain Layout
9908 ] Kopiert alle Eigenschaften eines bereits definierten Layouts in das aktuelle.
9911 \begin_layout Description
9912 \begin_inset Flex Code
9915 \begin_layout Plain Layout
9922 \begin_inset Flex Code
9925 \begin_layout Plain Layout
9931 ] ist der Name eines Stils, dessen Vorspann
9935 diesem ausgegeben werden soll.
9936 Dadurch wird eine Reihenfolge von Vorspannteilen bewirkt, wenn Makro-Definition
9937 en voneinander abhängen.
9941 \begin_layout Plain Layout
9942 Beachten Sie, dass es außer dieser Funktionalität keine andere Möglichkeit
9943 gibt, Vorspanne zu ordnen.
9944 Die Reihenfolge, die Sie in einer \SpecialChar LyX
9945 -Version sehen, kann sich in späteren
9946 Versionen ohne Warnung ändern.
9954 \begin_layout Description
9955 \begin_inset Flex Code
9958 \begin_layout Plain Layout
9965 \begin_inset Flex Code
9968 \begin_layout Plain Layout
9973 , Box, Filled_Box, Static
9982 ist der Markentyp, der am Ende eines Absatzes steht (oder mehrerer Absätze,
9984 \begin_inset Flex Code
9987 \begin_layout Plain Layout
9994 \begin_inset Newline newline
9998 \begin_inset Flex Code
10001 \begin_layout Plain Layout
10008 \begin_inset Flex Code
10011 \begin_layout Plain Layout
10018 \begin_inset Flex Code
10021 \begin_layout Plain Layout
10028 \begin_inset Newline newline
10032 \begin_inset Flex Code
10035 \begin_layout Plain Layout
10042 \begin_inset Quotes gld
10046 \begin_inset Quotes grd
10050 \begin_inset Flex Code
10053 \begin_layout Plain Layout
10060 \begin_inset Flex Code
10063 \begin_layout Plain Layout
10069 ist ein weißes oder schwarzes Quadrat, das für das Markieren eines Beweisendes
10072 \begin_inset Flex Code
10075 \begin_layout Plain Layout
10081 ist eine explizite Zeichenkette.
10084 \begin_layout Description
10085 \begin_inset Flex Code
10088 \begin_layout Plain Layout
10095 \begin_inset Flex Code
10098 \begin_layout Plain Layout
10104 ] ist eine Zeichenkette, die für einen
10105 \begin_inset Flex Code
10108 \begin_layout Plain Layout
10115 \begin_inset Newline newline
10119 \begin_inset Flex Code
10122 \begin_layout Plain Layout
10131 \begin_layout Description
10132 \begin_inset Flex Code
10135 \begin_layout Plain Layout
10141 Der Zeichensatz, der für den Textkörper
10145 die Marke verwendet wird, siehe
10146 \begin_inset CommandInset ref
10148 reference "subsec:Beschreibung-des-Zeichensatzes"
10154 \begin_inset Flex Code
10157 \begin_layout Plain Layout
10163 gesetzt, dann erhält
10164 \begin_inset Flex Code
10167 \begin_layout Plain Layout
10173 automatisch denselben Wert.
10175 \begin_inset Flex Code
10178 \begin_layout Plain Layout
10184 zuerst definiert werden.
10187 \begin_layout Description
10188 \begin_inset Flex Code
10191 \begin_layout Plain Layout
10198 \begin_inset Flex Code
10201 \begin_layout Plain Layout
10207 ] Wird benutzt um neue Stile für stabile \SpecialChar LyX
10208 -Versionen zu konvertieren.
10209 Die erste stabile Version, die das unterstützt ist \SpecialChar LyX
10211 Das Argument ist eine Nummer, die entweder 0, -1 oder irgend eine Zahl
10212 größer Null sein kann.
10214 \begin_inset Flex Code
10217 \begin_layout Plain Layout
10223 eines Stils größer als Null ist, wird er immer in den Dokumentkopf geschrieben.
10224 Wenn eine .lyx-Datei gelesen wird, werden die Stil-Definitionen aus dem
10225 Dokumentkopf zur Dokumentklasse hinzugefügt.
10226 Dadurch können sogar ältere \SpecialChar LyX
10227 -Versionen den Stil handhaben.
10229 \begin_inset Flex Code
10232 \begin_layout Plain Layout
10238 ist eine Versionsnummer: Wenn der Stil gelesen wird, und die Versionsnummer
10239 ist kleiner als die Versionsnummer des bereits existierenden Stils der
10240 Dokumentklasse, wird der neue Stil ignoriert.
10241 Wenn die Versionsnummer größer ist, ersetzt der neue Stil den bestehenden.
10242 Der Wert -1 steht für eine unendliche Versionsnummer, das heißt der Stil
10243 wird immer benutzt.
10246 \begin_layout Description
10247 \begin_inset Flex Code
10250 \begin_layout Plain Layout
10257 \begin_inset Flex Code
10260 \begin_layout Plain Layout
10269 \begin_inset space \thinspace{}
10273 \begin_inset Flex Code
10276 \begin_layout Plain Layout
10282 ] Normalerweise erlaubt es \SpecialChar LyX
10283 nicht, mehr als ein Leerzeichen zwischen Wörtern
10285 Diese Eigenschaft kann in bestimmten Fällen umständ\SpecialChar softhyphen
10286 lich sein, zum Beispiel,
10287 wenn ein Programmcode eingegeben werden soll.
10288 In solchen Fällen kann
10289 \begin_inset Flex Code
10292 \begin_layout Plain Layout
10299 \begin_inset Flex Code
10302 \begin_layout Plain Layout
10310 erzeugt in diesem Falls sich \SpecialChar LyX
10311 nicht im \SpecialChar LaTeX
10312 -Modus befindet, erzeugt es für
10313 jedes zusätzliche Leerzeichen ein geschütztes Leerzeichen.
10316 \begin_layout Description
10317 \begin_inset Flex Code
10320 \begin_layout Plain Layout
10326 Diese Tags kontrollieren die XHTML-Ausgabe.
10328 \begin_inset CommandInset ref
10330 reference "sec:Tags-for-XHTML"
10337 \begin_layout Description
10338 \begin_inset Flex Code
10341 \begin_layout Plain Layout
10347 [FIXME] (Wird nur für XML-Formate benutzt.)
10350 \begin_layout Description
10351 \begin_inset Flex Code
10354 \begin_layout Plain Layout
10361 \begin_inset Flex Code
10364 \begin_layout Plain Layout
10373 \begin_inset space \thinspace{}
10377 \begin_inset Flex Code
10380 \begin_layout Plain Layout
10387 \begin_inset Flex Code
10390 \begin_layout Plain Layout
10396 gesetzt, wird der Stil in den \SpecialChar LaTeX
10397 -Vorspann gesetzt und nicht in den eigentlichen
10399 Dies ist nützlich für Dokumentklassen, die Informationen wie den Titel
10400 und Autor im Vorspann erwarten.
10401 Beachten Sie, dass dies nur für Stile funktioniert, deren
10402 \begin_inset Flex Code
10405 \begin_layout Plain Layout
10412 \begin_inset Flex Code
10415 \begin_layout Plain Layout
10422 \begin_inset Flex Code
10425 \begin_layout Plain Layout
10434 \begin_layout Description
10435 \begin_inset Flex Code
10438 \begin_layout Plain Layout
10445 \begin_inset Flex Code
10448 \begin_layout Plain Layout
10457 \begin_inset space \thinspace{}
10461 \begin_inset Flex Code
10464 \begin_layout Plain Layout
10471 \begin_inset Flex Code
10474 \begin_layout Plain Layout
10480 gesetzt, wird der Stil als Teil des Titel-Abschnitts behandelt (siehe auch
10481 die allgemeinen Textklassen-Parameter
10482 \begin_inset Flex Code
10485 \begin_layout Plain Layout
10492 \begin_inset Flex Code
10495 \begin_layout Plain Layout
10504 \begin_layout Description
10505 \begin_inset Flex Code
10508 \begin_layout Plain Layout
10515 \begin_inset Flex Code
10518 \begin_layout Plain Layout
10524 ] Der \SpecialChar LaTeX
10525 -Befehl, der ein Item in einer Liste definiert.
10526 Dieser Befehl muss ohne den Backslash am Anfang angegeben werden (die Voreinste
10527 llung ist ''item'', was in der \SpecialChar LaTeX
10529 \begin_inset Flex Code
10532 \begin_layout Plain Layout
10543 \begin_layout Description
10544 \begin_inset Flex Code
10547 \begin_layout Plain Layout
10554 \begin_inset Flex Code
10557 \begin_layout Plain Layout
10563 ] Ein zusätzlicher Abstand zwischen Absätzen desselben Layouts.
10564 Wenn in einer Umgebung andere Layouts integriert werden, so werden diese
10566 \begin_inset Flex Code
10569 \begin_layout Plain Layout
10575 der Umgebung getrennt.
10576 Die kompletten Unterpunkte der Umgebung werden jedoch
10581 \begin_inset Flex Code
10584 \begin_layout Plain Layout
10592 \begin_inset Flex Code
10595 \begin_layout Plain Layout
10610 \begin_layout Description
10611 \begin_inset Flex Code
10614 \begin_layout Plain Layout
10620 [FIXME] (Wird nur für XML-Formate benutzt.)
10623 \begin_layout Description
10624 \begin_inset Flex Code
10627 \begin_layout Plain Layout
10634 \begin_inset Flex Code
10637 \begin_layout Plain Layout
10646 \begin_inset space \thinspace{}
10650 \begin_inset Flex Code
10653 \begin_layout Plain Layout
10659 ] Normalerweise ist es in \SpecialChar LyX
10660 nicht möglich, einen Absatz leer zu lassen, da
10661 das zu einer leeren \SpecialChar LaTeX
10662 -Ausgabe führen würde.
10663 In manchen Fällen ist das aber durchaus gewünscht: So können beispielsweise
10664 in einer Briefvorlage die benötigten Felder leer voreingestellt werden,
10665 damit keiner vergisst, sie anzugeben; in speziellen Klassen wird ein Absatz
10666 als Unterbrechung verwendet, der keinen Text enthält.
10669 \begin_layout Description
10670 \begin_inset Flex Code
10673 \begin_layout Plain Layout
10680 \begin_inset Flex Code
10683 \begin_layout Plain Layout
10689 ] Der vertikale Abstand zwischen der Marke und dem folgenden Text.
10690 Wird nur für Marken benutzt, die über dem folgenden Text stehen (
10691 \begin_inset Flex Code
10694 \begin_layout Plain Layout
10701 \begin_inset Flex Code
10704 \begin_layout Plain Layout
10705 Centered_Top_Environment
10713 \begin_layout Description
10714 \begin_inset Flex Code
10717 \begin_layout Plain Layout
10724 \begin_inset Flex Code
10727 \begin_layout Plain Layout
10733 ] ist der Name des Zählers zur automatischen Nummerierung.
10734 Um den Zähler einer Marke zuzuordnen, muss er im
10735 \begin_inset Flex Code
10738 \begin_layout Plain Layout
10744 referenziert werden.
10745 Dies funktioniert zumindest mit
10746 \begin_inset Flex Code
10749 \begin_layout Plain Layout
10756 \begin_inset Flex Code
10759 \begin_layout Plain Layout
10766 \begin_inset Flex Code
10769 \begin_layout Plain Layout
10776 \begin_inset Flex Code
10779 \begin_layout Plain Layout
10786 \begin_inset Newline newline
10793 angegeben werden, wenn
10794 \begin_inset Flex Code
10797 \begin_layout Plain Layout
10804 \begin_inset Flex Code
10807 \begin_layout Plain Layout
10814 In diesem Fall ist es etwas kompliziert: Angenommen Sie haben
10815 \begin_inset Quotes eld
10819 \begin_inset Flex Code
10822 \begin_layout Plain Layout
10823 LabelCounter MeinZaehler
10829 \begin_inset Quotes erd
10832 angegeben, dann lauten die eigentlichen Zähler
10833 \begin_inset Flex Code
10836 \begin_layout Plain Layout
10843 \begin_inset Flex Code
10846 \begin_layout Plain Layout
10853 \begin_inset Flex Code
10856 \begin_layout Plain Layout
10863 \begin_inset Flex Code
10866 \begin_layout Plain Layout
10872 ; so wie in \SpecialChar LaTeX
10874 Diese Zähler müssen alle separat deklariert werden.
10875 \begin_inset Newline newline
10879 \begin_inset CommandInset ref
10881 reference "subsec:Zähler"
10885 für Einzelheiten zu Zählern.
10889 \begin_layout Description
10890 \begin_inset Flex Code
10893 \begin_layout Plain Layout
10899 Der Zeichensatz, der für die Marke verwendet wird.
10901 \begin_inset CommandInset ref
10903 reference "subsec:Beschreibung-des-Zeichensatzes"
10910 \begin_layout Description
10911 \begin_inset Flex Code
10914 \begin_layout Plain Layout
10921 \begin_inset Flex Code
10924 \begin_layout Plain Layout
10930 ] Text der angibt, wie weit die Marke eingerückt werden soll.
10933 \begin_layout Description
10934 \begin_inset Flex Code
10937 \begin_layout Plain Layout
10944 \begin_inset Flex Code
10947 \begin_layout Plain Layout
10953 ] Text der den horizontalen Abstand zwischen der Marke und dem folgenden
10955 Wird nur für Marken benutzt, die nicht über dem folgenden Text stehen.
10958 \begin_layout Description
10959 \begin_inset Flex Code
10962 \begin_layout Plain Layout
10969 \begin_inset Flex Code
10972 \begin_layout Plain Layout
10978 ] Der String, der für den
10979 \begin_inset Flex Code
10982 \begin_layout Plain Layout
10989 \begin_inset Flex Code
10992 \begin_layout Plain Layout
11000 \begin_inset Flex Code
11003 \begin_layout Plain Layout
11009 gesetzt wurde, kann der String spezielle Formatierungsbefehle enthalten,
11011 \begin_inset CommandInset ref
11013 reference "subsec:Zähler"
11017 be\SpecialChar softhyphen
11021 \begin_layout Description
11022 \begin_inset Flex Code
11025 \begin_layout Plain Layout
11026 LabelStringAppendix
11032 \begin_inset Flex Code
11035 \begin_layout Plain Layout
11041 ] wird im Anhang anstatt
11042 \begin_inset Flex Code
11045 \begin_layout Plain Layout
11052 Beachten Sie, dass jede Definition von
11053 \begin_inset Flex Code
11056 \begin_layout Plain Layout
11063 \begin_inset Flex Code
11066 \begin_layout Plain Layout
11067 LabelStringAppendix
11075 \begin_layout Description
11076 \begin_inset Flex Code
11079 \begin_layout Plain Layout
11085 [FIXME] (Wird nur für XML-Formate benutzt.)
11088 \begin_layout Description
11089 \begin_inset Flex Code
11092 \begin_layout Plain Layout
11099 \begin_inset Flex Code
11102 \begin_layout Plain Layout
11107 , Manual, Static, Above,
11108 \begin_inset Newline newline
11111 Centered, Sensitive, Enumerate,
11112 \begin_inset Newline newline
11115 Itemize, Bibliography
11121 \begin_inset Separator latexpar
11128 \begin_layout Description
11129 \begin_inset Flex Code
11132 \begin_layout Plain Layout
11138 bedeutet: die Marke ist das erste Wort (bis zum ersten echten Leerzeichen).
11139 Verwenden Sie geschützte Leerzeichen wenn Sie mehr als ein Wort als Marke
11144 \begin_layout Description
11145 \begin_inset Flex Code
11148 \begin_layout Plain Layout
11154 bedeutet: die Marke ist was als
11155 \begin_inset Flex Code
11158 \begin_layout Plain Layout
11166 \begin_inset Quotes gld
11170 \begin_inset Quotes grd
11173 zu Beginn des Absatzes angezeigt.
11175 \begin_inset Flex Code
11178 \begin_layout Plain Layout
11185 \begin_inset Flex Code
11188 \begin_layout Plain Layout
11194 ist, wird sie nur im ersten Absatz von aufeinanderfolgenden Absätzen mit
11196 \begin_inset Flex Code
11199 \begin_layout Plain Layout
11209 \begin_layout Description
11210 \begin_inset Flex Code
11213 \begin_layout Plain Layout
11220 \begin_inset space ~
11224 \begin_inset space ~
11228 \begin_inset Flex Code
11231 \begin_layout Plain Layout
11237 sind Spezialfälle von
11238 \begin_inset Flex Code
11241 \begin_layout Plain Layout
11248 Die Marke erscheint über dem Absatz, entweder am Anfang der Zeile oder
11252 \begin_layout Description
11253 \begin_inset Flex Code
11256 \begin_layout Plain Layout
11262 ist ein Spezialfall für Beschriftungsmarken für Abbildungen und Tabellen-Gleito
11265 \begin_inset Flex Code
11268 \begin_layout Plain Layout
11274 bedeutet, dass der gedruckte Text von der Art des Gleitobjekts abhängt:
11275 Er ist fest einprogrammiert als 'GleitobjektTyp N', wobei N der Wert des
11276 Zählers des Gleitobjekttyps ist.
11277 Für den Fall, dass die Beschriftungsmarke außerhalb eines Gleitobjekts
11278 eingefügt wird, erscheint der
11279 \begin_inset Flex Code
11282 \begin_layout Plain Layout
11289 \begin_inset Quotes gld
11293 \begin_inset Quotes grd
11299 \begin_layout Description
11300 \begin_inset Flex Code
11303 \begin_layout Plain Layout
11309 erzeugt die üblichen Marken für Nummerierungen.
11310 Momentan sind diese fest auf arabische Zahlen, Kleinbuchstaben, kleine
11311 römische Zahlen und Großbuchstaben (für die 4
11312 \begin_inset space ~
11315 möglichen Schachtelungstiefen) programmiert.
11318 \begin_layout Description
11319 \begin_inset Flex Code
11322 \begin_layout Plain Layout
11328 erzeugt je nach Schachtelungstiefe verschiedene Auflistungszeichen, Diese
11329 sind ebenfalls fest programmiert.
11332 \begin_layout Description
11333 \begin_inset Flex Code
11336 \begin_layout Plain Layout
11342 sollte nur zusammen mit
11343 \begin_inset Flex Code
11346 \begin_layout Plain Layout
11347 LatexType BibEnvironment
11356 \begin_layout Description
11357 \begin_inset Flex Code
11360 \begin_layout Plain Layout
11366 Beachten Sie, dass dies alle vorhergehenden
11367 \begin_inset Flex Code
11370 \begin_layout Plain Layout
11376 -Deklaration für diesen Stil überschreibt.
11378 \begin_inset Quotes gld
11382 \begin_inset Flex Code
11385 \begin_layout Plain Layout
11392 \begin_inset Quotes grd
11397 \begin_inset CommandInset ref
11399 reference "subsec:I18n"
11403 für Details zur Verwendung.
11406 \begin_layout Description
11407 \begin_inset Flex Code
11410 \begin_layout Plain Layout
11417 \begin_inset Flex Code
11420 \begin_layout Plain Layout
11426 ] Der \SpecialChar LaTeX
11427 -Name für dieses Layout.
11428 Das bedeutet entweder der Name eines \SpecialChar LaTeX
11429 -Befehls oder der einer \SpecialChar LaTeX
11433 \begin_layout Description
11434 \begin_inset Flex Code
11437 \begin_layout Plain Layout
11444 \begin_inset Flex Code
11447 \begin_layout Plain Layout
11453 ] Ein optionaler Parameter für den entsprechenden
11454 \begin_inset Newline newline
11458 \begin_inset Flex Code
11461 \begin_layout Plain Layout
11468 Dieser Parameter kann innerhalb von \SpecialChar LyX
11469 nicht mehr geändert werden (man verwendet
11471 \begin_inset Flex Code
11474 \begin_layout Plain Layout
11480 für anpassbare Parameters).
11481 Dieser wird nach allen anderen \SpecialChar LaTeX
11483 \begin_inset Flex Code
11486 \begin_layout Plain Layout
11495 \begin_layout Description
11496 \begin_inset Flex Code
11499 \begin_layout Plain Layout
11506 \begin_inset Flex Code
11509 \begin_layout Plain Layout
11514 , Command, Environment, Item_Environment,
11515 \begin_inset Newline newline
11518 List_Environment, Bib_Environment
11523 ] Legt fest, wie das Layout in \SpecialChar LaTeX
11528 \begin_layout Plain Layout
11529 \begin_inset Flex Code
11532 \begin_layout Plain Layout
11538 mag irreführend sein, denn dessen Regeln gelten auch für DocBook-Klassen.
11539 Siehe die DocBook Klassendateien (Dateinames
11540 \begin_inset Flex Code
11543 \begin_layout Plain Layout
11549 ) für spezielle Beispiele.
11555 \begin_inset Separator latexpar
11562 \begin_layout Description
11563 \begin_inset Flex Code
11566 \begin_layout Plain Layout
11572 bewirkt nichts besonderes – der Text wird als
11583 \begin_layout Description
11584 \begin_inset Flex Code
11587 \begin_layout Plain Layout
11593 behandelt den Text als Argument eines \SpecialChar LaTeX
11595 \begin_inset Newline newline
11599 \begin_inset Flex Code
11602 \begin_layout Plain Layout
11609 {\SpecialChar ldots
11618 \begin_layout Description
11619 \begin_inset Flex Code
11622 \begin_layout Plain Layout
11628 behandelt den Text als Kern einer \SpecialChar LaTeX
11630 \begin_inset Newline newline
11634 \begin_inset Flex Code
11637 \begin_layout Plain Layout
11644 }\SpecialChar ldots
11659 \begin_layout Description
11660 \begin_inset Flex Code
11663 \begin_layout Plain Layout
11669 bewirkt dasselbe wie
11670 \begin_inset Flex Code
11673 \begin_layout Plain Layout
11679 , nur dass vor jedem Absatz ein
11680 \begin_inset Flex Code
11683 \begin_layout Plain Layout
11695 \begin_layout Description
11696 \begin_inset Flex Code
11699 \begin_layout Plain Layout
11706 \begin_inset Flex Code
11709 \begin_layout Plain Layout
11716 \begin_inset Newline newline
11720 \begin_inset Flex Code
11723 \begin_layout Plain Layout
11729 als Argument an die Umgebung übergeben wird.
11730 \begin_inset Newline newline
11734 \begin_inset Flex Code
11737 \begin_layout Plain Layout
11747 \SpecialChar menuseparator
11750 Absatz-Einstellungen
11755 \begin_layout Description
11756 \begin_inset Flex Code
11759 \begin_layout Plain Layout
11766 \begin_inset Flex Code
11769 \begin_layout Plain Layout
11775 aber fügt zusätzlich das notwendige Argument (die längste Marke) zum Begin-Befe
11776 hl der Bibliografie-Umgebung ein:
11777 \begin_inset Newline newline
11781 \begin_inset Flex Code
11784 \begin_layout Plain Layout
11787 begin{thebibliography}{99}
11792 Es ist daher nur für die Bibliografie-Umgebung nützlich.
11793 Die voreingestellte längste Marke
11794 \begin_inset Quotes gld
11798 \begin_inset Quotes grd
11801 kann vom Nutzer in den Absatzeinstellungen eines Bibliografie-Eintrags
11805 \begin_layout Standard
11806 Fasst man die letzten Sachen zusammen, wird die \SpecialChar LaTeX
11807 -Ausgabe entweder so:
11810 \begin_layout LyX-Code
11813 LatexName[LatexParam]{\SpecialChar ldots
11817 \begin_layout Standard
11821 \begin_layout LyX-Code
11824 begin{LatexName}[LatexParam] \SpecialChar ldots
11830 \begin_layout Standard
11831 aussehen, abhängig vom \SpecialChar LaTeX
11836 \begin_layout Description
11837 \begin_inset Flex Code
11840 \begin_layout Plain Layout
11847 \begin_inset Flex Code
11850 \begin_layout Plain Layout
11856 ] Eine Zeichenkette, die zu Beginn des Inhalts des Stils ausgegeben wird.
11857 Ein Zeilenumbruch in der Ausgabe wird mit
11858 \begin_inset Flex Code
11861 \begin_layout Plain Layout
11870 \begin_layout Description
11871 \begin_inset Flex Code
11874 \begin_layout Plain Layout
11881 \begin_inset Flex Code
11884 \begin_layout Plain Layout
11890 ] Wenn ein Layout in ein anderes Layout für Umgebungen eingefügt wird, werden
11891 die Breiten der verschiedenen
11892 \begin_inset Flex Code
11895 \begin_layout Plain Layout
11901 nicht einfach addiert, sondern vorher in Abhängigkeit zur Schachtelungstiefe
11903 \begin_inset Formula $\frac{4}{\mathrm{Tiefe}+4}$
11907 Dieser Parameter wird auch dann benutzt, wenn
11908 \begin_inset Flex Code
11911 \begin_layout Plain Layout
11918 \begin_inset Flex Code
11921 \begin_layout Plain Layout
11928 \begin_inset Flex Code
11931 \begin_layout Plain Layout
11938 In diesem Fall wird der Wert zu den gegebenen manuellen oder dynamischen
11939 Rändern hinzugefügt.
11940 \begin_inset Newline newline
11943 Zum Beispiel bedeutet
11944 \begin_inset Quotes gld
11948 \begin_inset Flex Code
11951 \begin_layout Plain Layout
11958 \begin_inset Quotes grd
11961 , dass der Absatz mit der Breite eingerückt wird, die die Buchstaben
11962 \begin_inset Quotes gld
11966 \begin_inset Flex Code
11969 \begin_layout Plain Layout
11976 \begin_inset Quotes grd
11979 in der normalen Schriftart haben.
11980 man kann negative Breite erzeugen, indem man den String mit
11981 \begin_inset Quotes gld
11985 \begin_inset Flex Code
11988 \begin_layout Plain Layout
11995 \begin_inset Quotes grd
11999 Diese Art der Angabe wurde gewählt, damit der Text unabhängig von der verwendet
12000 en Bildschirmschriftart wie vorgesehen aussieht.
12003 \begin_layout Description
12004 \begin_inset Flex Code
12007 \begin_layout Plain Layout
12014 \begin_inset Flex Code
12017 \begin_layout Plain Layout
12022 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12028 \begin_inset Newline newline
12031 legt fest, wie der linke Rand des Textes bestimmt wird.
12033 \begin_inset Separator latexpar
12040 \begin_layout Description
12041 \begin_inset Flex Code
12044 \begin_layout Plain Layout
12050 wählt feste Randbreiten.
12054 \begin_layout Description
12055 \begin_inset Flex Code
12058 \begin_layout Plain Layout
12064 bedeutet, dass der Rand von der Einstellung der
12072 \SpecialChar menuseparator
12075 Absatz-Einstellungen
12078 Dies wird für hübsche Listen ohne Tabulatoren benutzt.
12082 \begin_layout Description
12083 \begin_inset Flex Code
12086 \begin_layout Plain Layout
12092 bedeutet, der linke Rand hängt von der Größe der verwendeten Markierung
12094 Dies wird zum Beispiel bei automatisch nummerierten Überschriften verwendet.
12095 Es leuchtet ein, dass die Überschrift
12096 \begin_inset Quotes gld
12099 5.4.3.2.1 Sehr lange \SpecialChar ldots
12101 \begin_inset Quotes grd
12104 einen größeren linken Rand benötigt, als
12105 \begin_inset Quotes gld
12108 3.2 Sehr lange \SpecialChar ldots
12110 \begin_inset Quotes grd
12117 \begin_layout Description
12118 \begin_inset Flex Code
12121 \begin_layout Plain Layout
12127 arbeitet ähnlich wie
12128 \begin_inset Flex Code
12131 \begin_layout Plain Layout
12137 , aber nur die erste Zeile wird dynamisch gesetzt, die anderen statisch.
12138 Dies wird für die \SpecialChar LaTeX
12140 \begin_inset Flex Code
12143 \begin_layout Plain Layout
12152 \begin_layout Description
12153 \begin_inset Flex Code
12156 \begin_layout Plain Layout
12162 bedeutet, dass der Rand so gewählt wird, dass die längste Zeile des Absatzes
12163 gerade den rechten Rand berührt.
12164 Dies wird zum Setzen einer Adresse am rechten Rand der Seite eingesetzt.
12168 \begin_layout Description
12169 \begin_inset Flex Code
12172 \begin_layout Plain Layout
12179 \begin_inset Flex Code
12182 \begin_layout Plain Layout
12191 \begin_inset space \thinspace{}
12195 \begin_inset Flex Code
12198 \begin_layout Plain Layout
12205 \begin_inset Quotes gld
12209 \begin_inset Quotes grd
12213 -Befehle innerhalb dieses Layouts durch
12214 \begin_inset Flex Code
12217 \begin_layout Plain Layout
12225 geschützt werden müssen.
12226 (Achtung: Diese Einstellung sagt nichts darüber aus, ob der Befehl an sich
12227 geschützt werden soll.)
12230 \begin_layout Description
12231 \begin_inset Flex Code
12234 \begin_layout Plain Layout
12241 \begin_inset Flex Code
12244 \begin_layout Plain Layout
12251 \begin_inset space \thinspace{}
12255 \begin_inset Flex Code
12258 \begin_layout Plain Layout
12266 ] Gibt an, ob Zeilenumbrüche in \SpecialChar LaTeX
12268 \begin_inset Quotes gld
12272 \begin_inset Flex Code
12275 \begin_layout Plain Layout
12286 \begin_inset Quotes grd
12289 dargestellt werden, oder nicht.
12290 Man kann dies ausschalten (Wert:
12291 \begin_inset Flex Code
12294 \begin_layout Plain Layout
12300 ), um \SpecialChar TeX
12301 -Code in \SpecialChar LyX
12302 komfortabler editieren zu können.
12305 \begin_layout Description
12306 \begin_inset Flex Code
12309 \begin_layout Plain Layout
12316 \begin_inset Flex Code
12319 \begin_layout Plain Layout
12328 \begin_inset space \thinspace{}
12332 \begin_inset Flex Code
12335 \begin_layout Plain Layout
12341 ] Gibt an, ob der nachfolgende Absatz einen linken Einzug haben darf oder
12344 \begin_inset Flex Code
12347 \begin_layout Plain Layout
12353 heißt, der Absatz erhält auf keinen Fall einen Einzug (z.
12354 \begin_inset space \thinspace{}
12358 nach einer Überschrift), wenn
12359 \begin_inset Flex Code
12362 \begin_layout Plain Layout
12369 \begin_inset Flex Code
12372 \begin_layout Plain Layout
12378 -) Paragraphen einen Einzug haben.
12379 (Daher beeinflusst die Einstellung nur
12380 \begin_inset Flex Code
12383 \begin_layout Plain Layout
12392 \begin_layout Description
12393 \begin_inset Flex Code
12396 \begin_layout Plain Layout
12403 \begin_inset Flex Code
12406 \begin_layout Plain Layout
12412 ] Der Name eines Layouts, das durch dieses ersetzt wurde.
12413 So können Sie ein Layout umbenennen und die Rückwärtskompatibilität erhalten.
12416 \begin_layout Description
12417 \begin_inset Flex Code
12420 \begin_layout Plain Layout
12427 \begin_inset Flex Code
12430 \begin_layout Plain Layout
12437 \begin_inset space \thinspace{}
12441 \begin_inset Flex Code
12444 \begin_layout Plain Layout
12450 ] Legt fest ob aufeinanderfolgende Absätze desselben Typs als zusammengehörend
12452 Das hat den Effekt, dass
12453 \begin_inset Flex Code
12456 \begin_layout Plain Layout
12462 nur einmalig vor einer solchen Gruppe ausgegeben wird.
12463 Dies ist standardmäßig der Fall für
12464 \begin_inset Flex Code
12467 \begin_layout Plain Layout
12474 \begin_inset Flex Code
12477 \begin_layout Plain Layout
12484 \begin_inset Flex Code
12487 \begin_layout Plain Layout
12493 und nicht der Fall für alle anderen Typen.
12496 \begin_layout Description
12497 \begin_inset Flex Code
12500 \begin_layout Plain Layout
12507 \begin_inset Flex Code
12510 \begin_layout Plain Layout
12519 \begin_inset space \thinspace{}
12523 \begin_inset Flex Code
12526 \begin_layout Plain Layout
12532 ] Gibt an, dass ein Paragraph nicht durch eine leere Zeile in der \SpecialChar LaTeX
12534 abgesetzt wird, sondern nur durch einen Zeilenumbruch.
12536 \begin_inset Flex Code
12539 \begin_layout Plain Layout
12545 erlaubt dies die Emulation eines reinen Texteditors (so wie die \SpecialChar TeX
12550 \begin_layout Description
12551 \begin_inset Flex Code
12554 \begin_layout Plain Layout
12561 \begin_inset Flex Code
12564 \begin_layout Plain Layout
12570 ] Der Einzug der ersten Zeile eines Absatzes.
12572 \begin_inset Flex Code
12575 \begin_layout Plain Layout
12581 bleibt für ein bestimmtes Layout fest.
12582 Eine Ausnahme ist das Standard-Layout, denn dort kann der Einzug vom vorherigen
12584 \begin_inset Flex Code
12587 \begin_layout Plain Layout
12594 Außerdem benutzt das
12595 \begin_inset Flex Code
12598 \begin_layout Plain Layout
12604 -Layout innerhalb von Umgebungen den
12605 \begin_inset Flex Code
12608 \begin_layout Plain Layout
12614 der Umgebung und nicht den eigenen.
12616 \begin_inset Flex Code
12619 \begin_layout Plain Layout
12625 -Absätze innerhalb einer Aufzählung keinen Einzug.
12628 \begin_layout Description
12629 \begin_inset Flex Code
12632 \begin_layout Plain Layout
12639 \begin_inset Flex Code
12642 \begin_layout Plain Layout
12648 ] Der vertikale Anstand zwischen den Absätzen dieses Layouts.
12651 \begin_layout Description
12652 \begin_inset Flex Code
12655 \begin_layout Plain Layout
12662 \begin_inset Flex Code
12665 \begin_layout Plain Layout
12671 ] Der Benutzer kann in \SpecialChar LyX
12672 wählen ob Absätze durch
12679 \begin_inset space \space{}
12690 \begin_inset Flex Code
12693 \begin_layout Plain Layout
12703 \begin_inset space \space{}
12709 \begin_inset Flex Code
12712 \begin_layout Plain Layout
12718 ignoriert und alle Absätze durch den vertikalen Abstand von
12719 \begin_inset Flex Code
12722 \begin_layout Plain Layout
12729 Die Länge dieses Abstands berechnet sich mit
12730 \begin_inset Flex Code
12733 \begin_layout Plain Layout
12735 \begin_inset space ~
12744 \begin_inset Flex Code
12747 \begin_layout Plain Layout
12753 die Höhe einer Zeile in der normalen Schrift ist.
12754 Dadurch bleibt das Aussehen mit verschiedenen Schriften gleich.
12757 \begin_layout Description
12758 \begin_inset Flex Code
12761 \begin_layout Plain Layout
12768 \begin_inset Flex Code
12771 \begin_layout Plain Layout
12780 \begin_inset space \thinspace{}
12784 \begin_inset Flex Code
12787 \begin_layout Plain Layout
12797 Legt fest, ob der Absatzinhalt unverändert ausgegeben werden soll, also
12798 ohne diverse von \SpecialChar LaTeX
12799 benötigte Ersetzungen durchzuführen.
12802 \begin_layout Description
12803 \begin_inset Flex Code
12806 \begin_layout Plain Layout
12813 \begin_inset Flex Code
12816 \begin_layout Plain Layout
12822 ] Definiert Zeichen, die unverändert ausgegeben werden sollen.
12823 Das bedeutet, dass sie nicht in einen \SpecialChar LaTeX
12824 -Befehl übersetzt werden, falls das
12825 normalerweise der Fall wäre.
12828 \begin_layout Description
12829 \begin_inset Flex Code
12832 \begin_layout Plain Layout
12838 Befehle und Definitionen, die in die Präambel (vor
12839 \begin_inset Flex Code
12842 \begin_layout Plain Layout
12845 begin{docu\SpecialChar softhyphen
12851 ) eingefügt werden, wenn dieses Layout benutzt wird.
12852 Kann verwendet werden um Pakete zu laden, Makros zu definieren usw..
12854 \begin_inset Quotes gld
12858 \begin_inset Flex Code
12861 \begin_layout Plain Layout
12868 \begin_inset Quotes grd
12874 \begin_layout Description
12875 \begin_inset Flex Code
12878 \begin_layout Plain Layout
12885 \begin_inset Flex Code
12888 \begin_layout Plain Layout
12894 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieses Absatzes
12896 Dies erlaubt die Verwendung von Formatierten Querverweisen.
12899 \begin_layout Description
12900 \begin_inset Flex Code
12903 \begin_layout Plain Layout
12910 \begin_inset Flex Code
12913 \begin_layout Plain Layout
12919 ] legt fest, dass das Layout die Funktion
12920 \begin_inset Flex Code
12923 \begin_layout Plain Layout
12930 \begin_inset CommandInset ref
12932 reference "chap:Liste-von-Funktionen"
12936 für eine List der Funktionen).
12937 Wenn Sie ein Paket mit bestimmten Optionen anfordern müssen, können Sie
12939 \begin_inset Flex Code
12942 \begin_layout Plain Layout
12948 als allgemeiner Textklassen-Parameter verwenden (siehe
12949 \begin_inset CommandInset ref
12951 reference "subsec:Allgemeine-Parameter-für"
12958 \begin_layout Description
12959 \begin_inset Flex Code
12962 \begin_layout Plain Layout
12969 \begin_inset Flex Code
12972 \begin_layout Plain Layout
12981 \begin_inset Flex Code
12984 \begin_layout Plain Layout
12990 ] Setzt die \SpecialChar LaTeX
12991 -Argumente dieses Stils zurück (der via
12992 \begin_inset Flex Code
12995 \begin_layout Plain Layout
13002 Dies ist nützlich, wenn man einen Stil mit
13003 \begin_inset Flex Code
13006 \begin_layout Plain Layout
13012 kopiert hat, aber nicht dessen (benötigten und optionalen) Argumente übernehmen
13016 \begin_layout Description
13017 \begin_inset Flex Code
13020 \begin_layout Plain Layout
13027 \begin_inset Flex Code
13030 \begin_layout Plain Layout
13036 ] Eine Zeichenkette, die am Ende des Inhalts des Stils ausgegeben wird.
13037 Ein Zeilenumbruch in der Ausgabe wird mit
13038 \begin_inset Flex Code
13041 \begin_layout Plain Layout
13050 \begin_layout Description
13051 \begin_inset Flex Code
13054 \begin_layout Plain Layout
13061 \begin_inset Flex Code
13064 \begin_layout Plain Layout
13071 \begin_inset Flex Code
13074 \begin_layout Plain Layout
13083 \begin_layout Description
13084 \begin_inset Flex Code
13087 \begin_layout Plain Layout
13094 \begin_inset Flex Code
13097 \begin_layout Plain Layout
13106 \begin_inset Flex Code
13109 \begin_layout Plain Layout
13116 \begin_inset Flex Code
13119 \begin_layout Plain Layout
13126 \begin_inset Flex Code
13129 \begin_layout Plain Layout
13131 \begin_inset space ~
13139 ] Dies definiert die Voreinstellung für den Zeilenabstand des Layouts.
13141 \begin_inset Flex Code
13144 \begin_layout Plain Layout
13153 \begin_inset Flex Code
13156 \begin_layout Plain Layout
13163 \begin_inset Flex Code
13166 \begin_layout Plain Layout
13172 entsprechen den Multiplikatoren 1, 1.25 und 1.667.
13173 Wenn Sie als Argument
13174 \begin_inset Flex Code
13177 \begin_layout Plain Layout
13183 angeben, müssen Sie als
13187 einen konkreten Multiplikator angeben.
13188 Im Gegensatz zu anderen Parametern erzeugt \SpecialChar LyX
13190 \begin_inset Flex Code
13193 \begin_layout Plain Layout
13199 gesetzt wird, spezifischen \SpecialChar LaTeX
13200 -Code, der das \SpecialChar LaTeX
13202 \begin_inset Flex Code
13205 \begin_layout Plain Layout
13214 \begin_layout Description
13215 \begin_inset Flex Code
13218 \begin_layout Plain Layout
13225 \begin_inset Flex Code
13228 \begin_layout Plain Layout
13235 \begin_inset space \thinspace{}
13239 \begin_inset Flex Code
13242 \begin_layout Plain Layout
13250 ] Erlaubt es, den Inhalt des Absatzes auf Rechtschreibung zu überprüfen.
13253 \begin_layout Description
13254 \begin_inset Flex Code
13257 \begin_layout Plain Layout
13263 Der Zeichensatz, der für den Textkörper verwendet wird.
13264 \begin_inset Newline newline
13268 \begin_inset CommandInset ref
13270 reference "subsec:Beschreibung-des-Zeichensatzes"
13277 \begin_layout Description
13278 \begin_inset Flex Code
13281 \begin_layout Plain Layout
13288 \begin_inset Flex Code
13291 \begin_layout Plain Layout
13301 ist die Stufe des Stils im Inhaltsverzeichnis und wird zur automatischen
13302 Nummerierung von Abschnittsüberschriften benutzt.
13305 \begin_layout Description
13306 \begin_inset Flex Code
13309 \begin_layout Plain Layout
13318 \begin_inset Flex Code
13321 \begin_layout Plain Layout
13330 \begin_inset Flex Code
13333 \begin_layout Plain Layout
13340 \begin_inset Flex Code
13343 \begin_layout Plain Layout
13349 ] Dieser Befehl legt fest, ob die Einrückung der ersten Absatzzeile über
13350 den Absatz-Dialog ein/ausgeschaltet werden kann.
13354 \begin_inset Flex Code
13357 \begin_layout Plain Layout
13367 gesetzt ist, kann umgeschaltet werden, wenn in den Dokumenteinstellungen
13368 für die Absatztrennung
13369 \begin_inset Quotes gld
13373 \begin_inset Quotes grd
13377 \begin_inset Flex Code
13380 \begin_layout Plain Layout
13386 kann immer umgeschaltet werden, unabhängig von den Dokumenteinstellungen.
13388 \begin_inset Flex Code
13391 \begin_layout Plain Layout
13397 kann nie umgeschaltet werden.
13400 \begin_layout Description
13401 \begin_inset Flex Code
13404 \begin_layout Plain Layout
13418 ] Der vertikale Abstand, der die erste Serie von Absätzen vom vorangehenden
13422 \begin_layout Subsection
13423 \begin_inset CommandInset label
13429 Internationalisierung von Absatz-Stilen
13432 \begin_layout Standard
13436 \begin_inset Flex Code
13439 \begin_layout Plain Layout
13447 defines text that is to appear in the typeset document, it may use
13448 \begin_inset Flex Code
13451 \begin_layout Plain Layout
13460 \begin_inset Flex Code
13463 \begin_layout Plain Layout
13471 to support non-English and even multi-language documents correctly.
13472 The following excerpt (from the
13473 \begin_inset Flex Code
13476 \begin_layout Plain Layout
13484 file) shows how this works:
13487 \begin_layout LyX-Code
13489 \begin_inset Separator latexpar
13496 \begin_layout LyX-Code
13499 theoremstyle{remark}
13502 \begin_layout LyX-Code
13505 newtheorem{claim}[thm]{
13512 \begin_layout LyX-Code
13516 \begin_layout LyX-Code
13520 \begin_layout LyX-Code
13525 claimname}{_(Claim)}
13528 \begin_layout LyX-Code
13532 \begin_layout LyX-Code
13536 \begin_layout LyX-Code
13545 claimname}{_(Claim)}}
13548 \begin_layout LyX-Code
13553 \begin_layout Standard
13556 In principle, any legal \SpecialChar LaTeX
13558 \begin_inset Flex Code
13561 \begin_layout Plain Layout
13570 \begin_inset Flex Code
13573 \begin_layout Plain Layout
13581 tags, but in practice they will typically look as they do here.
13582 The key to correct translation of the typeset text is the definition of
13583 the \SpecialChar LaTeX
13585 \begin_inset Flex Code
13588 \begin_layout Plain Layout
13599 \begin_inset Flex Code
13602 \begin_layout Plain Layout
13616 \begin_layout Standard
13620 \begin_inset Flex Code
13623 \begin_layout Plain Layout
13631 tag provides for internationalization based upon the overall language of
13633 The contents of the tag will be included in the preamble, just as with
13635 \begin_inset Flex Code
13638 \begin_layout Plain Layout
13647 What makes it special is the use of the
13648 \begin_inset Quotes eld
13652 \begin_inset Quotes erd
13656 \begin_inset Flex Code
13659 \begin_layout Plain Layout
13667 , which will be replaced, when \SpecialChar LyX
13668 produces \SpecialChar LaTeX
13669 output, with the translation of
13670 its argument into the document language.
13673 \begin_layout Standard
13677 \begin_inset Flex Code
13680 \begin_layout Plain Layout
13688 tag is more complex, since it is meant to provide support for multi-language
13689 documents and so offers an interface to the
13690 \begin_inset Flex Code
13693 \begin_layout Plain Layout
13702 Its contents will be added to the preamble once for each language that
13703 appears in the document.
13704 In this case, the argument to
13705 \begin_inset Flex Code
13708 \begin_layout Plain Layout
13716 will be replaced with its translation into the language in question; the
13718 \begin_inset Flex Code
13721 \begin_layout Plain Layout
13729 is replaced by the language name (as used by the babel package).
13732 \begin_layout Standard
13735 A German document that also included a French section would thus have the
13736 following in the preamble:
13739 \begin_layout LyX-Code
13748 claimname}{Affirmation}}
13749 \begin_inset Newline newline
13760 claimname}{Behauptung}}
13761 \begin_inset Newline newline
13768 claimname}{Behauptung}
13771 \begin_layout Standard
13776 \begin_inset Flex Code
13779 \begin_layout Plain Layout
13787 will then conspire to produce the correct text in the output.
13790 \begin_layout Standard
13793 One important point to note here is that the translations are provided by
13795 itself, through the file
13796 \begin_inset Flex Code
13799 \begin_layout Plain Layout
13808 This means, in effect, that
13809 \begin_inset Flex Code
13812 \begin_layout Plain Layout
13821 \begin_inset Flex Code
13824 \begin_layout Plain Layout
13832 are really only of use in layout files that are provided with \SpecialChar LyX
13834 entered in user-created layout files will not be seen by \SpecialChar LyX
13835 's internationalizatio
13836 n routines unless the
13837 \begin_inset Flex Code
13840 \begin_layout Plain Layout
13848 file is modified accordingly.
13849 That said, however, any layout created with the intention that it will
13850 be included with \SpecialChar LyX
13851 should use these tags where appropriate.
13852 Please note that the paragraph style translations provided by \SpecialChar LyX
13854 change with a minor update (e.
13855 \begin_inset space \thinspace{}
13859 \begin_inset space \space{}
13862 from version 2.1.x to 2.1.y).
13863 It is however quite likely that a major update (e.
13864 \begin_inset space \thinspace{}
13868 \begin_inset space \space{}
13871 from 2.0.x to 2.1.y) will introduce new translations or corrections.
13874 \begin_layout Subsection
13876 \begin_inset CommandInset label
13878 name "subsec:Gleitobjekte"
13885 \begin_layout Standard
13886 Es ist nötig Gleitobjekte (
13887 \begin_inset Flex Noun
13890 \begin_layout Plain Layout
13897 \begin_inset Flex Noun
13900 \begin_layout Plain Layout
13906 ,\SpecialChar ldots
13907 ) in der Textklasse selber zu definieren.
13908 Standardgleitobjekte sind in der Datei
13909 \begin_inset Flex Code
13912 \begin_layout Plain Layout
13918 enthalten, so dass Sie sie nur noch
13921 \begin_layout LyX-Code
13922 Input stdfloats.inc
13925 \begin_layout Standard
13926 zu Ihrer Layoutdatei hinzufügen müssen.
13927 Wenn Sie eine Textklasse implementieren wollen, die andere Gleitobjekttypen
13928 enthält (wie zum Beispiel die AGU-Klasse), werden Ihnen die folgenden Informati
13932 \begin_layout Description
13933 \begin_inset Flex Code
13936 \begin_layout Plain Layout
13943 \begin_inset Flex Code
13946 \begin_layout Plain Layout
13952 =!htbpH] Erlaubte Platzierungsoptionen für den Gleitobjekttyp.
13953 Der Wert ist eine Zeichenkette aus Platzierungszeichen.
13954 Mögliche Zeichen sind:
13959 \begin_inset Quotes gld
13963 \begin_inset Quotes grd
13971 \begin_inset Quotes gld
13975 \begin_inset Quotes grd
13983 \begin_inset Quotes gld
13987 \begin_inset Quotes grd
13995 \begin_inset Quotes gld
13998 auf Seite nur mit Gleitobjekten
13999 \begin_inset Quotes grd
14007 \begin_inset Quotes gld
14011 \begin_inset Quotes grd
14019 \begin_inset Quotes gld
14022 ignoriere LaTeX-Regeln
14023 \begin_inset Quotes erd
14027 Die Reihenfolge der Zeichen in der Zeichenkette ist egal.
14028 Wenn keine Platzierungsoptionen erlaubt sind, verwendet man stattdessen
14036 \begin_layout Description
14037 \begin_inset Flex Code
14040 \begin_layout Plain Layout
14047 \begin_inset Flex Code
14050 \begin_layout Plain Layout
14057 \begin_inset space \thinspace{}
14063 \begin_inset Flex Code
14066 \begin_layout Plain Layout
14074 ] Definiert ob das Gleitobjekt mit Hilfe des \SpecialChar LaTeX
14079 (sidewaysfloat) rotiert werden kann.
14080 Falls das nicht der Fall ist, setzt man es auf
14081 \begin_inset Flex Code
14084 \begin_layout Plain Layout
14093 \begin_layout Description
14094 \begin_inset Flex Code
14097 \begin_layout Plain Layout
14104 \begin_inset Flex Code
14107 \begin_layout Plain Layout
14114 \begin_inset space \thinspace{}
14120 \begin_inset Flex Code
14123 \begin_layout Plain Layout
14131 ] Definiert ob das Gleitobjekt eine
14132 \begin_inset Quotes gld
14136 \begin_inset Quotes grd
14139 Version hat, die in einem zweispaltigen Dokument die komplette Seitenbreite
14141 Falls das nicht der Fall ist, setzt man es auf
14142 \begin_inset Flex Code
14145 \begin_layout Plain Layout
14154 \begin_layout Description
14155 \begin_inset Flex Code
14158 \begin_layout Plain Layout
14171 \begin_inset Flex Code
14174 \begin_layout Plain Layout
14181 \begin_inset Quotes erd
14185 \begin_inset Quotes erd
14188 ] Die Dateinamenserweiterung einer zusätzlichen Datei für das Abbildungsver\SpecialChar softhyphen
14192 schreibt die Beschriftungen in diese Datei.
14195 \begin_layout Description
14196 \begin_inset Flex Code
14199 \begin_layout Plain Layout
14206 \begin_inset Flex Code
14209 \begin_layout Plain Layout
14216 \begin_inset Quotes erd
14220 \begin_inset Quotes erd
14223 ] Die Zeichenkette, die in den Menüs und für die Beschriftung benutzt wird.
14224 Dies wird in die aktuelle Sprache übersetzt, wenn babel verwendet wird.
14227 \begin_layout Description
14228 \begin_inset Flex Code
14231 \begin_layout Plain Layout
14237 Diese Tags kontrollieren die XHTML-Ausgabe.
14239 \begin_inset CommandInset ref
14241 reference "sec:Tags-for-XHTML"
14248 \begin_layout Description
14249 \begin_inset Flex Code
14252 \begin_layout Plain Layout
14261 \begin_inset Flex Code
14264 \begin_layout Plain Layout
14273 \begin_inset space \thinspace{}
14277 \begin_inset Flex Code
14280 \begin_layout Plain Layout
14286 ] Gibt an, ob das Gleitobjekt bereits in der Dokumentklasse definiert ist
14287 oder ob das \SpecialChar LaTeX
14289 \begin_inset Flex Code
14292 \begin_layout Plain Layout
14298 geladen werden muss, um es zu definieren.
14299 Die Voreinstellung ist
14300 \begin_inset Flex Code
14303 \begin_layout Plain Layout
14309 , was bedeutet, dass
14310 \begin_inset Flex Code
14313 \begin_layout Plain Layout
14321 \begin_inset Flex Code
14324 \begin_layout Plain Layout
14330 gesetzt werden, wenn das Gleitobjekt bereits in der Dokumentklasse definiert
14334 \begin_layout Description
14335 \begin_inset Flex Code
14338 \begin_layout Plain Layout
14345 \begin_inset Flex Code
14348 \begin_layout Plain Layout
14355 \begin_inset Quotes erd
14359 \begin_inset Quotes erd
14362 ] Der Befehl der verwendet wird, um eine Liste der Gleitobjekte dieses Typs
14363 zu generieren; das `
14365 ' muss weggelassen werden.
14370 angegeben werden, wenn
14371 \begin_inset Flex Code
14374 \begin_layout Plain Layout
14381 \begin_inset Flex Code
14384 \begin_layout Plain Layout
14390 gesetzt ist, da es sonst keine Möglichkeit gibt, diesen Befehl zu erstellen.
14391 Er wird ignoriert, falls
14392 \begin_inset Flex Code
14395 \begin_layout Plain Layout
14402 \begin_inset Flex Code
14405 \begin_layout Plain Layout
14411 gesetzt ist, da es dann eine Möglichkeit gibt.
14414 \begin_layout Description
14415 \begin_inset Flex Code
14418 \begin_layout Plain Layout
14425 \begin_inset Flex Code
14428 \begin_layout Plain Layout
14435 \begin_inset Quotes erd
14439 \begin_inset Quotes erd
14442 ] Die Überschrift für das Gleitobjekt-Verzeichnis (z.
14443 \begin_inset space \thinspace{}
14448 \begin_inset Quotes gld
14451 Abbildungsverzeichnis
14452 \begin_inset Quotes grd
14456 Sie wird für die Bildschirmmarke in \SpecialChar LyX
14457 verwendet, von \SpecialChar LaTeX
14458 für den Titel verwendet
14459 und als Titel in der XHTML-Ausgabe.
14460 Sie wird in die Dokumentsprache übersetzt.
14463 \begin_layout Description
14464 \begin_inset Flex Code
14467 \begin_layout Plain Layout
14474 \begin_inset Flex Code
14477 \begin_layout Plain Layout
14484 \begin_inset Quotes erd
14488 \begin_inset Quotes erd
14491 ] Dieses optionale Argument bestimmt, ob Gleitobjekte dieser Klasse mit
14492 der Abschnittsnummer dieses Dokuments nummeriert werden.
14494 \begin_inset Flex Code
14497 \begin_layout Plain Layout
14504 \begin_inset Quotes gld
14508 \begin_inset Flex Code
14511 \begin_layout Plain Layout
14518 \begin_inset Quotes grd
14521 gesetzt ist, werden die Gleitobjekte mit den Kapitelnummern nummeriert.
14524 \begin_layout Description
14525 \begin_inset Flex Code
14528 \begin_layout Plain Layout
14535 \begin_inset Flex Code
14538 \begin_layout Plain Layout
14545 \begin_inset Quotes erd
14549 \begin_inset Quotes erd
14552 ] Die Standardplatzierung für die Gleitobjektklasse.
14558 \begin_inset Flex Code
14561 \begin_layout Plain Layout
14567 sollte die Standard-\SpecialChar LaTeX
14569 \begin_inset Flex Code
14572 \begin_layout Plain Layout
14579 \begin_inset Flex Code
14582 \begin_layout Plain Layout
14589 \begin_inset Flex Code
14592 \begin_layout Plain Layout
14599 \begin_inset Flex Code
14602 \begin_layout Plain Layout
14608 für oben, unten, Seite und hier enthalten.
14612 \begin_layout Plain Layout
14613 Wie in \SpecialChar LaTeX
14614 ist die Reihenfolge der Buchstaben unerheblich.
14619 Zusätzlich gibt es den neuen Typ
14620 \begin_inset Flex Code
14623 \begin_layout Plain Layout
14629 , der nicht wirklich für ein Gleitobjekt steht, denn er bedeutet: drucke
14634 und nirgendwo sonst.
14636 \begin_inset Flex Code
14639 \begin_layout Plain Layout
14645 besonders ist und wegen der Implementierungsdetails nicht bei nicht-eingebauten
14646 Gleitobjekttypen benutzt werden kann.
14647 Wenn Sie die Platzierung nicht verstehen, benutzen Sie einfach
14648 \begin_inset Quotes gld
14652 \begin_inset Flex Code
14655 \begin_layout Plain Layout
14662 \begin_inset Quotes grd
14668 \begin_layout Description
14669 \begin_inset Flex Code
14672 \begin_layout Plain Layout
14679 \begin_inset Flex Code
14682 \begin_layout Plain Layout
14688 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieser Gleitobjekte
14690 Dies erlaubt die Verwendung von Formatierten Querverweisen.
14692 \begin_inset Flex Code
14695 \begin_layout Plain Layout
14701 eines kopierten Stils entfernen, indem
14702 \begin_inset Flex Code
14705 \begin_layout Plain Layout
14712 \begin_inset Quotes gld
14716 \begin_inset Quotes grd
14722 \begin_layout Description
14723 \begin_inset Flex Code
14726 \begin_layout Plain Layout
14733 \begin_inset Flex Code
14736 \begin_layout Plain Layout
14743 \begin_inset Quotes erd
14747 \begin_inset Quotes erd
14750 ] ist der Gleitobjektstil, wenn er mit
14751 \begin_inset Flex Code
14754 \begin_layout Plain Layout
14765 \begin_layout Description
14766 \begin_inset Flex Code
14769 \begin_layout Plain Layout
14776 \begin_inset Flex Code
14779 \begin_layout Plain Layout
14786 \begin_inset Quotes erd
14790 \begin_inset Quotes erd
14794 \begin_inset Quotes gld
14798 \begin_inset Quotes grd
14801 der neuen Gleitobjektklasse, wie z.
14802 \begin_inset space \thinspace{}
14806 Programm oder Algorithmus.
14807 Nach dem entsprechenden
14808 \begin_inset Flex Code
14811 \begin_layout Plain Layout
14820 \begin_inset Flex Code
14823 \begin_layout Plain Layout
14832 \begin_inset Flex Code
14835 \begin_layout Plain Layout
14846 \begin_layout Description
14847 \begin_inset Flex Code
14850 \begin_layout Plain Layout
14857 \begin_inset Flex Code
14860 \begin_layout Plain Layout
14867 \begin_inset space \thinspace{}
14871 \begin_inset Flex Code
14874 \begin_layout Plain Layout
14882 ] Gibt an, ob dieses Gleitobjekt mit Hilfe des \SpecialChar LaTeX
14884 \begin_inset Flex Code
14887 \begin_layout Plain Layout
14893 definiert wurde, entweder durch die Dokumentklassen, ein anderes Paket
14894 oder durch \SpecialChar LyX
14898 \begin_layout Description
14899 Anmerkung: Wenn ein Gleitobjekt vom Typ
14903 definiert wurde, gibt es automatisch einen dazugehörigen Zähler namens
14911 \begin_layout Subsection
14912 Flexible Einfügungen und InsetLayout
14913 \begin_inset CommandInset label
14915 name "subsec:Flexible-Einfügungen-und"
14922 \begin_layout Standard
14923 Es gibt drei Arten von flexiblen Einfügungen:
14926 \begin_layout Itemize
14928 \begin_inset Flex Code
14931 \begin_layout Plain Layout
14937 ): diese definieren semantische Textauszeichnungen, die mit \SpecialChar LaTeX
14940 \begin_inset Flex Code
14943 \begin_layout Plain Layout
14952 \begin_inset Flex Code
14955 \begin_layout Plain Layout
14966 \begin_layout Itemize
14967 benutzerdefiniert (
14968 \begin_inset Flex Code
14971 \begin_layout Plain Layout
14977 ): diese können benutzt werden, um benutzer\SpecialChar softhyphen
14978 de\SpecialChar softhyphen
14979 fi\SpecialChar softhyphen
14980 nier\SpecialChar softhyphen
14981 te einklappbare Einfügungen
14982 zu definieren, ähnlich wie \SpecialChar TeX
14983 -Code, Fuß\SpecialChar softhyphen
14984 no\SpecialChar softhyphen
14986 Ein naheliegendes Beispiel ist die Endnotiz, die im
14987 \begin_inset Flex Code
14990 \begin_layout Plain Layout
14996 -Modul definiert ist.
14999 \begin_layout Itemize
15001 \begin_inset Flex Code
15004 \begin_layout Plain Layout
15010 ): diese werden mit DocBook-Klassen benutzt.
15013 \begin_layout Standard
15014 Flexible Einfügungen werden mit der
15015 \begin_inset Flex Code
15018 \begin_layout Plain Layout
15024 -Marke definiert, die weiter unten erklärt wird.
15027 \begin_layout Standard
15029 \begin_inset Flex Code
15032 \begin_layout Plain Layout
15038 -Marke besitzt noch eine andere Funktion: sie kann benutzt werden, um das
15039 allgemeine Aussehen vieler verschiedener Einfügungstypen anzupassen.
15041 \begin_inset Flex Code
15044 \begin_layout Plain Layout
15050 benutzt werden, um die Layout-Parameter für Fußnoten, Randnoten, eingefügten
15051 Noten, \SpecialChar TeX
15052 -Code (ERT), Zweige, Stichwortverzeichnisse, Boxen, Tabellen, Algorithme
15053 n, URLs und Legenden anzupassen, ebenso um flexible Einfügungen zu definieren.
15056 \begin_layout Standard
15058 \begin_inset Flex Code
15061 \begin_layout Plain Layout
15067 -Definition muss mit folgender Zeile beginnen:
15070 \begin_layout LyX-Code
15074 \begin_layout Standard
15076 \begin_inset Flex Code
15079 \begin_layout Plain Layout
15085 die Einfügung, deren Layout definiert wird.
15086 Es gibt vier Möglichkeiten.
15089 \begin_layout Enumerate
15090 Das Layout für eine existierende Einfügung wird geändert.
15091 In diesem Fall kann
15092 \begin_inset Flex Code
15095 \begin_layout Plain Layout
15102 \begin_inset Flex Code
15105 \begin_layout Plain Layout
15112 \begin_inset Flex Code
15115 \begin_layout Plain Layout
15122 \begin_inset Flex Code
15125 \begin_layout Plain Layout
15132 \begin_inset Flex Code
15135 \begin_layout Plain Layout
15142 \begin_inset Flex Code
15145 \begin_layout Plain Layout
15152 \begin_inset Flex Code
15155 \begin_layout Plain Layout
15162 \begin_inset Flex Code
15165 \begin_layout Plain Layout
15172 \begin_inset Flex Code
15175 \begin_layout Plain Layout
15182 \begin_inset Flex Code
15185 \begin_layout Plain Layout
15192 \begin_inset Flex Code
15195 \begin_layout Plain Layout
15202 \begin_inset Flex Code
15205 \begin_layout Plain Layout
15212 \begin_inset Flex Code
15215 \begin_layout Plain Layout
15222 \begin_inset Flex Code
15225 \begin_layout Plain Layout
15232 \begin_inset Flex Code
15235 \begin_layout Plain Layout
15242 \begin_inset Flex Code
15245 \begin_layout Plain Layout
15252 \begin_inset Flex Code
15255 \begin_layout Plain Layout
15262 \begin_inset Flex Code
15265 \begin_layout Plain Layout
15272 \begin_inset Flex Code
15275 \begin_layout Plain Layout
15282 \begin_inset Flex Code
15285 \begin_layout Plain Layout
15292 \begin_inset Flex Code
15295 \begin_layout Plain Layout
15304 \begin_layout Enumerate
15305 Das Layout für eine flexible Einfügung wird definiert.
15306 In diesem Fall muss
15307 \begin_inset Flex Code
15310 \begin_layout Plain Layout
15319 \begin_inset Quotes gld
15323 \begin_inset Flex Code
15326 \begin_layout Plain Layout
15333 \begin_inset Quotes grd
15341 \begin_inset Flex Code
15344 \begin_layout Plain Layout
15352 ein beliebiger gültiger Bezeichner sein kann, der in keiner anderen existierend
15353 en Einfügung benutzt wird.
15354 Der Bezeichner darf Leerzeichen enthalten, dann muss aber der komplette
15355 Typ in Anführungszeichen gesetzt werden.
15356 Beachten Sie, dass die Definition einer flexiblen Einfügung
15361 \begin_inset Flex Code
15364 \begin_layout Plain Layout
15370 -Eintrag enthalten muss, der festlegt welcher Einfügungstyp definiert wird.
15373 \begin_layout Enumerate
15376 The layout for user specific branch is being defined.
15378 \begin_inset Flex Code
15381 \begin_layout Plain Layout
15389 must be of the form
15392 \begin_inset Quotes gld
15396 \begin_inset Flex Code
15399 \begin_layout Plain Layout
15406 \begin_inset Quotes grd
15412 \begin_inset Flex Code
15415 \begin_layout Plain Layout
15423 may be be any valid identifier of branch defined in user's document.
15424 The identifier may include spaces, but in that case the whole thing must
15425 be wrapped in quotes.
15426 The main purpose of this feature is to allow \SpecialChar LaTeX
15427 wrapping around specific
15428 branches as user needs.
15431 \begin_layout Enumerate
15434 The layout of a user (or class) specific caption is being defined.
15436 \begin_inset Flex Code
15439 \begin_layout Plain Layout
15447 must be of the form
15450 \begin_inset Quotes gld
15454 \begin_inset Flex Code
15457 \begin_layout Plain Layout
15464 \begin_inset Quotes grd
15470 \begin_inset Flex Code
15473 \begin_layout Plain Layout
15481 specifies the name of the caption as it appears in the menu.
15482 Have a look at the standard caption (
15483 \begin_inset Flex Code
15486 \begin_layout Plain Layout
15494 ), the specific captions of the KOMA-Script classes (
15495 \begin_inset Flex Code
15498 \begin_layout Plain Layout
15507 \begin_inset Flex Code
15510 \begin_layout Plain Layout
15521 \begin_inset space ~
15527 \begin_inset Flex Code
15530 \begin_layout Plain Layout
15538 ) for applications.
15541 \begin_layout Standard
15543 \begin_inset Flex Code
15546 \begin_layout Plain Layout
15552 -Definition kann folgende Einträge enthalten:
15555 \begin_layout Description
15556 \begin_inset Flex Code
15559 \begin_layout Plain Layout
15566 \begin_inset Flex Code
15569 \begin_layout Plain Layout
15575 ] Definiert die Argumentnummer eines Befehls/einer Umgebung, die im aktuellen
15576 Layout definiert ist.
15577 Die Definition muss mit
15578 \begin_inset Flex Code
15581 \begin_layout Plain Layout
15589 \begin_inset CommandInset ref
15591 reference "subsec:Einzelne-Absatz-Layouts"
15598 \begin_layout Description
15599 \begin_inset Flex Code
15602 \begin_layout Plain Layout
15608 Präambel um Sprachbefehle zu modifizieren; siehe
15609 \begin_inset CommandInset ref
15611 reference "subsec:I18n"
15618 \begin_layout Description
15619 \begin_inset Flex Code
15622 \begin_layout Plain Layout
15629 \begin_inset Flex Code
15632 \begin_layout Plain Layout
15638 ] ist die Hintergrundfarbe der Einfügung.
15640 \begin_inset CommandInset ref
15642 reference "chap:Namen-von-Farben"
15646 für eine Liste von verfügbaren Farbnamen.
15649 \begin_layout Description
15650 \begin_inset Flex Code
15653 \begin_layout Plain Layout
15660 \begin_inset Flex Code
15663 \begin_layout Plain Layout
15672 \begin_inset space \thinspace{}
15676 \begin_inset Flex Code
15679 \begin_layout Plain Layout
15685 ] Ob der Inhalt der Einfügung als Marke verwendet werden soll, wenn die
15686 Einfügung geschlossen ist.
15689 \begin_layout Description
15690 \begin_inset Flex Code
15693 \begin_layout Plain Layout
15700 \begin_inset Flex Code
15703 \begin_layout Plain Layout
15709 ] Wie bei Absatz-Layouts, siehe
15710 \begin_inset CommandInset ref
15712 reference "subsec:Einzelne-Absatz-Layouts"
15717 Beachten Sie, dass der komplette Typ angegeben werden muss, z.
15718 \begin_inset space \thinspace{}
15723 \begin_inset Flex Code
15726 \begin_layout Plain Layout
15727 CopyStyle Flex:<Name>
15735 \begin_layout Description
15736 \begin_inset Flex Code
15739 \begin_layout Plain Layout
15746 \begin_inset Flex Code
15749 \begin_layout Plain Layout
15758 \begin_inset space \thinspace{}
15762 \begin_inset Flex Code
15765 \begin_layout Plain Layout
15771 ] zeigt an, ob der Benutzer den Absatzeinstellungen-Dialog benutzen darf.
15774 \begin_layout Description
15775 \begin_inset Flex Code
15778 \begin_layout Plain Layout
15785 \begin_inset Flex Code
15788 \begin_layout Plain Layout
15795 \begin_inset Flex Code
15798 \begin_layout Plain Layout
15805 \begin_inset Flex Code
15808 \begin_layout Plain Layout
15815 Es beschreibt den Rendering-Stil für den Einfügungsrahmen und die -knöpfe.
15816 Fußnoten benutzen im allgemeinen
15817 \begin_inset Flex Code
15820 \begin_layout Plain Layout
15832 \begin_inset Flex Code
15835 \begin_layout Plain Layout
15842 \begin_inset Flex Code
15845 \begin_layout Plain Layout
15854 \begin_layout Description
15855 \begin_inset Flex Code
15858 \begin_layout Plain Layout
15865 \begin_inset Flex Code
15868 \begin_layout Plain Layout
15875 \begin_inset space \thinspace{}
15879 \begin_inset Flex Code
15882 \begin_layout Plain Layout
15890 ] Nur sinnvoll wenn der
15891 \begin_inset Flex Code
15894 \begin_layout Plain Layout
15901 \begin_inset Flex Code
15904 \begin_layout Plain Layout
15911 Gibt an, ob die Umgebung in der Ausgabe abgesetzt erscheint oder in einer
15912 Zeile mit dem umgebenden Text.
15914 \begin_inset Flex Code
15917 \begin_layout Plain Layout
15923 gesetzt, wird angenommen, dass die \SpecialChar LaTeX
15924 -Umgebung Leerraum nach den
15925 \begin_inset Flex Code
15928 \begin_layout Plain Layout
15941 \begin_inset Flex Code
15944 \begin_layout Plain Layout
15956 Befehlen ignoriert (inklusive des Zeilenumbruchzeichens).
15959 \begin_layout Description
15960 \begin_inset Flex Code
15963 \begin_layout Plain Layout
15970 \begin_inset Flex Code
15973 \begin_layout Plain Layout
15982 \begin_layout Description
15983 \begin_inset Flex Code
15986 \begin_layout Plain Layout
15996 die Marke benutzt (siehe
15997 \begin_inset CommandInset ref
15999 reference "subsec:Beschreibung-des-Zeichensatzes"
16004 Beachten Sie, dass die Definition dieses Fonts automatisch dem
16005 \begin_inset Flex Code
16008 \begin_layout Plain Layout
16014 denselben Wert zuweist, das heißt
16015 \begin_inset Flex Code
16018 \begin_layout Plain Layout
16024 muss zuerst definiert werden und
16025 \begin_inset Flex Code
16028 \begin_layout Plain Layout
16034 danach, wenn sie unterschiedlich sein sollen.
16037 \begin_layout Description
16038 \begin_inset Flex Code
16041 \begin_layout Plain Layout
16042 FixedWidthPreambleEncoding
16048 \begin_inset Flex Code
16051 \begin_layout Plain Layout
16060 \begin_inset space \thinspace{}
16064 \begin_inset Flex Code
16067 \begin_layout Plain Layout
16073 ] Ob eine Zeichenkodierung mit
16074 \begin_inset Quotes gld
16078 \begin_inset Quotes grd
16081 für den übersetzten Inhalt von
16082 \begin_inset Flex Code
16085 \begin_layout Plain Layout
16092 \begin_inset Flex Code
16095 \begin_layout Plain Layout
16102 Dies wird für spezielle \SpecialChar LaTeX
16107 benötigt, die keine variable Zeichenkodierung wie
16112 Diese Einstellung wird ignoriert, wenn \SpecialChar LaTeX
16113 -Varianten wie Xe\SpecialChar TeX
16114 oder Lua\SpecialChar TeX
16116 werden, die Unicode voll unterstützen.
16119 \begin_layout Description
16120 \begin_inset Flex Code
16123 \begin_layout Plain Layout
16124 ForceLocalFontSwitch
16130 \begin_inset Flex Code
16133 \begin_layout Plain Layout
16142 \begin_inset space \thinspace{}
16146 \begin_inset Flex Code
16149 \begin_layout Plain Layout
16155 ] Wenn babel verwendet wird; ob immer eine lokale Umschaltung der Sprache
16156 erfolgen soll (mittels
16157 \begin_inset Flex Code
16160 \begin_layout Plain Layout
16168 ) und nie eine globale (mittels
16169 \begin_inset Flex Code
16172 \begin_layout Plain Layout
16183 \begin_layout Description
16184 \begin_inset Flex Code
16187 \begin_layout Plain Layout
16194 \begin_inset Quotes gld
16199 \begin_inset Quotes grd
16202 und führt zu einer links-nach-rechts-Ausgabe, zum Beispiel bei \SpecialChar TeX
16206 \begin_inset Flex Code
16209 \begin_layout Plain Layout
16215 ist eine Behelfslösung.
16218 \begin_layout Description
16219 \begin_inset Flex Code
16222 \begin_layout Plain Layout
16229 \begin_inset Flex Code
16232 \begin_layout Plain Layout
16241 \begin_inset space \thinspace{}
16245 \begin_inset Flex Code
16248 \begin_layout Plain Layout
16254 ] erzwingt einen Zeilenumbruch in der \SpecialChar LaTeX
16255 -Ausgabe vor und nach der Einfügung.
16256 Dies stellt sicher, dass die Einfügung in eigenen Zeilen ausgegeben wird,
16257 um die Ausgabe später besser anderweitig einfacher verändern zu können.
16260 \begin_layout Description
16261 \begin_inset Flex Code
16264 \begin_layout Plain Layout
16271 \begin_inset Flex Code
16274 \begin_layout Plain Layout
16283 \begin_inset space \thinspace{}
16287 \begin_inset Flex Code
16290 \begin_layout Plain Layout
16296 ] zeigt an, ob stattdessen
16297 \begin_inset Flex Code
16300 \begin_layout Plain Layout
16306 benutzt werden soll oder ob der Benutzer den Absatzstil der Einfügung ändern
16310 \begin_layout Description
16311 \begin_inset Flex Code
16314 \begin_layout Plain Layout
16321 \begin_inset Flex Code
16324 \begin_layout Plain Layout
16333 \begin_inset space \thinspace{}
16337 \begin_inset Flex Code
16340 \begin_layout Plain Layout
16346 ] Wie bei Absatz-Layouts, siehe
16347 \begin_inset CommandInset ref
16349 reference "subsec:Einzelne-Absatz-Layouts"
16356 \begin_layout Description
16357 \begin_inset Flex Code
16360 \begin_layout Plain Layout
16366 Diese Tags kontrollieren die XHTML-Ausgabe.
16368 \begin_inset CommandInset ref
16370 reference "sec:Tags-for-XHTML"
16377 \begin_layout Description
16378 \begin_inset Flex Code
16381 \begin_layout Plain Layout
16388 \begin_inset Flex Code
16391 \begin_layout Plain Layout
16400 \begin_inset space \thinspace{}
16404 \begin_inset Flex Code
16407 \begin_layout Plain Layout
16413 ] Ob der Inhalt der Einfügung für die Zeichenketten des 'Gliederungs'-Fensters
16414 verwendet werden soll.
16415 Zum Beispiel will man nicht, dass der Inhalt einer Fußzeile im Namen des
16416 Abschnitts im Inhaltsverzeichnis des Gliederungs-Fensters erscheint.
16417 Aber man will normalerweise, dass der Inhalt von Zeichenstilen erscheint.
16420 \begin_layout Description
16421 \begin_inset Flex Code
16424 \begin_layout Plain Layout
16433 \begin_inset Flex Code
16436 \begin_layout Plain Layout
16445 \begin_inset space \thinspace{}
16449 \begin_inset Flex Code
16452 \begin_layout Plain Layout
16458 ] Wie bei Absatz-Layouts, siehe
16459 \begin_inset CommandInset ref
16461 reference "subsec:Einzelne-Absatz-Layouts"
16468 \begin_layout Description
16469 \begin_inset Flex Code
16472 \begin_layout Plain Layout
16478 ist die für die Marke benutze Schrift (siehe
16479 \begin_inset CommandInset ref
16481 reference "subsec:Beschreibung-des-Zeichensatzes"
16486 Beachten Sie, dass diese Definition niemals vor
16487 \begin_inset Flex Code
16490 \begin_layout Plain Layout
16496 erscheinen darf, weil sie sonst unwirksam ist.
16499 \begin_layout Description
16500 \begin_inset Flex Code
16503 \begin_layout Plain Layout
16510 \begin_inset Flex Code
16513 \begin_layout Plain Layout
16520 \begin_inset Quotes erd
16524 \begin_inset Quotes erd
16527 ] wird auf dem Knopf und anderswo als Einfügungsmarke angezeigt.
16528 Einige Einfügungstypen (\SpecialChar TeX
16529 -Code und Zweig) ändern diese Marke im Vo\SpecialChar softhyphen
16530 rü\SpecialChar softhyphen
16531 ber\SpecialChar softhyphen
16535 \begin_layout Description
16536 \begin_inset Flex Code
16539 \begin_layout Plain Layout
16545 Sprachabhängige Präambel; siehe
16546 \begin_inset CommandInset ref
16548 reference "subsec:I18n"
16555 \begin_layout Description
16556 \begin_inset Flex Code
16559 \begin_layout Plain Layout
16566 \begin_inset Flex Code
16569 \begin_layout Plain Layout
16575 ] ist der Name der \SpecialChar LaTeX
16576 -Umgebung oder des \SpecialChar LaTeX
16580 \begin_layout Description
16581 \begin_inset Flex Code
16584 \begin_layout Plain Layout
16591 \begin_inset Flex Code
16594 \begin_layout Plain Layout
16600 ] ist ein optionaler Parameter für den zugehörigen
16601 \begin_inset Flex Code
16604 \begin_layout Plain Layout
16610 , einschließ\SpecialChar softhyphen
16611 lich möglicher Klammerpaare wie
16612 \begin_inset Flex Code
16615 \begin_layout Plain Layout
16622 Dieser Parameter kann in \SpecialChar LyX
16623 nicht geändert werden (man verwendet
16624 \begin_inset Flex Code
16627 \begin_layout Plain Layout
16633 für anpassbare Parameters).
16634 Dieser wird nach allen anderen \SpecialChar LaTeX
16636 \begin_inset Flex Code
16639 \begin_layout Plain Layout
16648 \begin_layout Description
16649 \begin_inset Flex Code
16652 \begin_layout Plain Layout
16659 \begin_inset Flex Code
16662 \begin_layout Plain Layout
16663 Command, Environment, None
16668 ] Wie der Stil in \SpecialChar LaTeX
16673 \begin_layout Plain Layout
16674 \begin_inset Flex Code
16677 \begin_layout Plain Layout
16683 ist vielleicht etwas missverständlich, da diese Regeln auch für SGML-Klassen
16685 Siehe die SGML-Klassendateienfür spezielle Beispiele.
16691 \begin_inset Separator latexpar
16698 \begin_layout Description
16699 \begin_inset Flex Code
16702 \begin_layout Plain Layout
16708 bedeutet nichts Spezielles
16711 \begin_layout Description
16712 \begin_inset Flex Code
16715 \begin_layout Plain Layout
16722 \begin_inset Flex Code
16725 \begin_layout Plain Layout
16732 {\SpecialChar ldots
16741 \begin_layout Description
16742 \begin_inset Flex Code
16745 \begin_layout Plain Layout
16752 \begin_inset Flex Code
16755 \begin_layout Plain Layout
16762 }\SpecialChar ldots
16777 \begin_layout Description
16781 \begin_layout Standard
16782 Zusammenfassend bedeutet das, dass die \SpecialChar LaTeX
16786 \begin_layout LyX-Code
16789 LatexName[LatexParam]{\SpecialChar ldots
16793 \begin_layout Standard
16797 \begin_layout LyX-Code
16800 begin{LatexName}[LatexParam] \SpecialChar ldots
16806 \begin_layout Standard
16807 sein wird, je nach \SpecialChar LaTeX
16812 \begin_layout Description
16813 \begin_inset Flex Code
16816 \begin_layout Plain Layout
16823 \begin_inset Flex Code
16826 \begin_layout Plain Layout
16832 ] Eine Zeichenkette, die zu Beginn des Inhalts des Stils ausgegeben wird.
16833 Ein Zeilenumbruch in der Ausgabe wird mit
16834 \begin_inset Flex Code
16837 \begin_layout Plain Layout
16846 \begin_layout Description
16847 \begin_inset Flex Code
16850 \begin_layout Plain Layout
16857 \begin_inset Flex Code
16860 \begin_layout Plain Layout
16867 \begin_inset Flex Code
16870 \begin_layout Plain Layout
16877 \begin_inset Flex Code
16880 \begin_layout Plain Layout
16887 \begin_inset Flex Code
16890 \begin_layout Plain Layout
16896 (zeigt das Ende einer Definition an) sein.
16897 Dieser Eintrag wird für flexible Einfügungen benötigt und ist nur dort
16899 Neben anderen Dingen legt er fest, in welchem Menü diese Einfügung erscheinen
16902 \begin_inset Flex Code
16905 \begin_layout Plain Layout
16916 \begin_inset Flex Code
16919 \begin_layout Plain Layout
16926 \begin_inset Flex Code
16929 \begin_layout Plain Layout
16936 \begin_inset Flex Code
16939 \begin_layout Plain Layout
16947 \begin_inset Flex Code
16950 \begin_layout Plain Layout
16957 \begin_inset Flex Code
16960 \begin_layout Plain Layout
16967 \begin_inset Flex Code
16970 \begin_layout Plain Layout
16976 -Einfügungen gesetzt werden, indem es
16981 \begin_inset Flex Code
16984 \begin_layout Plain Layout
16997 \begin_layout Description
16998 \begin_inset Flex Code
17001 \begin_layout Plain Layout
17008 \begin_inset Flex Code
17011 \begin_layout Plain Layout
17020 \begin_inset space \thinspace{}
17024 \begin_inset Flex Code
17027 \begin_layout Plain Layout
17033 ] zeigt an, ob in dieser Einfügung mehrfache Absätze erlaubt sind.
17035 \begin_inset Flex Code
17038 \begin_layout Plain Layout
17044 auf denselben Wert gesetzt und
17045 \begin_inset Flex Code
17048 \begin_layout Plain Layout
17055 Diese können auf andere Werte gesetzt werden, wenn sie
17060 \begin_inset Flex Code
17063 \begin_layout Plain Layout
17072 \begin_layout Description
17073 \begin_inset Flex Code
17076 \begin_layout Plain Layout
17083 \begin_inset Flex Code
17086 \begin_layout Plain Layout
17095 \begin_inset space \thinspace{}
17099 \begin_inset Flex Code
17102 \begin_layout Plain Layout
17112 Befehle in diesem Layout ge\SpecialChar softhyphen
17114 \begin_inset Flex Code
17117 \begin_layout Plain Layout
17130 an, ob der Befehl selber geschützt werden soll.
17133 \begin_layout Description
17134 \begin_inset Flex Code
17137 \begin_layout Plain Layout
17144 \begin_inset Flex Code
17147 \begin_layout Plain Layout
17153 ] Löscht ein vorhandenes
17154 \begin_inset Flex Code
17157 \begin_layout Plain Layout
17166 \begin_layout Description
17167 \begin_inset Flex Code
17170 \begin_layout Plain Layout
17177 \begin_inset Flex Code
17180 \begin_layout Plain Layout
17187 \begin_inset Flex Code
17190 \begin_layout Plain Layout
17197 \begin_inset Flex Code
17200 \begin_layout Plain Layout
17207 Dies wird verwendet um ein
17208 \begin_inset Flex Code
17211 \begin_layout Plain Layout
17217 umzubenennen und dabei die Rückwärtskompatibilität zu erhalten.
17220 \begin_layout Description
17221 \begin_inset Flex Code
17224 \begin_layout Plain Layout
17231 \begin_inset Flex Code
17234 \begin_layout Plain Layout
17243 \begin_inset space \thinspace{}
17247 \begin_inset Flex Code
17250 \begin_layout Plain Layout
17256 ] Wie bei Absatz-Layouts, siehe
17257 \begin_inset CommandInset ref
17259 reference "subsec:Einzelne-Absatz-Layouts"
17266 \begin_layout Description
17267 \begin_inset Flex Code
17270 \begin_layout Plain Layout
17277 \begin_inset Flex Code
17280 \begin_layout Plain Layout
17289 \begin_inset space \thinspace{}
17293 \begin_inset Flex Code
17296 \begin_layout Plain Layout
17302 ] Wie bei Absatz-Layouts, siehe
17303 \begin_inset CommandInset ref
17305 reference "subsec:Einzelne-Absatz-Layouts"
17312 \begin_layout Description
17313 \begin_inset Flex Code
17316 \begin_layout Plain Layout
17322 Wie bei Absatz-Layouts, siehe
17323 \begin_inset CommandInset ref
17325 reference "subsec:Einzelne-Absatz-Layouts"
17332 \begin_layout Description
17333 \begin_inset Flex Code
17336 \begin_layout Plain Layout
17343 \begin_inset Flex Code
17346 \begin_layout Plain Layout
17352 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieser Einfügung
17354 Dies erlaubt die Verwendung von Formatierten Querverweisen.
17357 \begin_layout Description
17358 \begin_inset Flex Code
17361 \begin_layout Plain Layout
17368 \begin_inset Flex Code
17371 \begin_layout Plain Layout
17377 ] Wie bei Absatz-Layouts, siehe
17378 \begin_inset CommandInset ref
17380 reference "subsec:Einzelne-Absatz-Layouts"
17387 \begin_layout Description
17388 \begin_inset Flex Code
17391 \begin_layout Plain Layout
17398 \begin_inset Flex Code
17401 \begin_layout Plain Layout
17410 \begin_inset space \thinspace{}
17414 \begin_inset Flex Code
17417 \begin_layout Plain Layout
17423 ] Setzt die \SpecialChar LaTeX
17424 -Argumente dieses Stils zurück (der via
17425 \begin_inset Flex Code
17428 \begin_layout Plain Layout
17435 Dies ist nützlich, wenn man einen Stil mit
17436 \begin_inset Flex Code
17439 \begin_layout Plain Layout
17445 kopiert hat, aber nicht dessen (benötigten und optionalen) Argumente übernehmen
17449 \begin_layout Description
17450 \begin_inset Flex Code
17453 \begin_layout Plain Layout
17460 \begin_inset Flex Code
17463 \begin_layout Plain Layout
17470 \begin_inset space \thinspace{}
17474 \begin_inset Flex Code
17477 \begin_layout Plain Layout
17485 ] Ob die Einfügung die Schrift der übergeordneten Umgebung verwenden soll
17488 \begin_inset Flex Code
17491 \begin_layout Plain Layout
17499 : verwendet die Schrift der übergeordneten Umgebung.
17502 \begin_layout Description
17503 \begin_inset Flex Code
17506 \begin_layout Plain Layout
17513 \begin_inset Flex Code
17516 \begin_layout Plain Layout
17522 ] Eine Zeichenkette, die am Ende des Inhalts des Stils ausgegeben wird.
17523 Ein Zeilenumbruch in der Ausgabe wird mit
17524 \begin_inset Flex Code
17527 \begin_layout Plain Layout
17536 \begin_layout Description
17537 \begin_inset Flex Code
17540 \begin_layout Plain Layout
17547 \begin_inset Flex Code
17550 \begin_layout Plain Layout
17557 \begin_inset space \thinspace{}
17561 \begin_inset Flex Code
17564 \begin_layout Plain Layout
17572 ] Erlaubt es, den Inhalt der Einfügung auf Rechtschreibung zu überprüfen.
17575 \begin_layout Subsection
17577 \begin_inset CommandInset label
17579 name "subsec:Zähler"
17586 \begin_layout Standard
17587 Es ist notwendig Zähler (
17588 \begin_inset Flex Noun
17591 \begin_layout Plain Layout
17598 \begin_inset Flex Noun
17601 \begin_layout Plain Layout
17607 ,\SpecialChar ldots
17608 ) in der Textklasse selber zu definieren.
17609 Die Standardzähler sind in der Datei
17610 \begin_inset Flex Code
17613 \begin_layout Plain Layout
17619 definiert, so dass Sie nur die Zeile
17622 \begin_layout LyX-Code
17623 Input stdcounters.inc
17626 \begin_layout Standard
17627 zu zu Ihrer Layout-Datei hinzufügen müssen, damit sie arbeiten.
17628 Aber wenn Sie eigene Zähler definieren wollen, können Sie das tun.
17629 Zähler-Deklarationen beginnen mit
17632 \begin_layout LyX-Code
17636 \begin_layout Standard
17638 \begin_inset Flex Code
17641 \begin_layout Plain Layout
17647 der Name Ihres Zählers ist.
17648 Die Deklaration endet mit
17649 \begin_inset Flex Code
17652 \begin_layout Plain Layout
17661 \begin_layout Standard
17662 Folgende Parameter können auch benutzt werden:
17665 \begin_layout Description
17666 \begin_inset Flex Code
17669 \begin_layout Plain Layout
17676 \begin_inset Flex Code
17679 \begin_layout Plain Layout
17685 ] Setzt den Startwert für einen Zähler, auf den er zurückgesetzt wird.
17686 Normalerweise will man die Voreinstellung
17687 \begin_inset Quotes gld
17691 \begin_inset Quotes grd
17697 \begin_layout Description
17698 \begin_inset Flex Code
17701 \begin_layout Plain Layout
17708 \begin_inset Flex Code
17711 \begin_layout Plain Layout
17718 \begin_inset Quotes erd
17722 \begin_inset Quotes erd
17725 ] definiert, wie der Zähler dargestellt wird.
17727 \begin_inset Flex Code
17730 \begin_layout Plain Layout
17731 LabelStringAppendix
17736 auf denselben Wert gesetzt.
17737 In der Zeichenkette können folgende Konstrukte benutzt werden:
17740 \begin_layout Itemize
17741 \begin_inset Flex Code
17744 \begin_layout Plain Layout
17752 wird durch die Erweiterung von
17753 \begin_inset Flex Code
17756 \begin_layout Plain Layout
17763 \begin_inset Newline newline
17767 \begin_inset Flex Code
17770 \begin_layout Plain Layout
17771 LabelStringAppendix
17777 \begin_inset Flex Code
17780 \begin_layout Plain Layout
17789 \begin_layout Itemize
17790 Zählerwerte können durch \SpecialChar LaTeX
17791 -ähnliche Makros wie
17792 \begin_inset Flex Code
17795 \begin_layout Plain Layout
17811 ausgedrückt werden, wobei
17812 \begin_inset Flex Code
17815 \begin_layout Plain Layout
17823 Folgendes sein kann:
17824 \begin_inset Flex Code
17827 \begin_layout Plain Layout
17833 : 1, 2, 3,\SpecialChar ldots
17835 \begin_inset Flex Code
17838 \begin_layout Plain Layout
17844 für Kleinbuchstaben: a, b, c,\SpecialChar ldots
17846 \begin_inset Flex Code
17849 \begin_layout Plain Layout
17855 für Großbuchstaben: A, B, C,\SpecialChar ldots
17857 \begin_inset Flex Code
17860 \begin_layout Plain Layout
17866 für kleine römische Zahlen: i, ii, iii,\SpecialChar ldots
17868 \begin_inset Flex Code
17871 \begin_layout Plain Layout
17877 für große römische Zahlen: I, II, III.
17880 \begin_layout Standard
17882 \begin_inset Flex Code
17885 \begin_layout Plain Layout
17891 nicht definiert ist, wird ein Standardwert wie folgt benutzt: wenn der
17892 Zähler einen Hauptzähler
17893 \begin_inset Flex Code
17896 \begin_layout Plain Layout
17903 \begin_inset Flex Code
17906 \begin_layout Plain Layout
17912 definiert) hat, wird der String
17913 \begin_inset Flex Code
17916 \begin_layout Plain Layout
17927 \begin_inset Flex Code
17930 \begin_layout Plain Layout
17941 \begin_layout Description
17942 \begin_inset Flex Code
17945 \begin_layout Plain Layout
17946 LabelStringAppendix
17952 \begin_inset Flex Code
17955 \begin_layout Plain Layout
17962 \begin_inset Quotes erd
17966 \begin_inset Quotes erd
17970 \begin_inset Flex Code
17973 \begin_layout Plain Layout
17979 , aber für den Anhang.
17982 \begin_layout Description
17983 \begin_inset Flex Code
17986 \begin_layout Plain Layout
17993 \begin_inset Flex Code
17996 \begin_layout Plain Layout
18003 \begin_inset Quotes erd
18007 \begin_inset Quotes erd
18010 ] Ein Format, das für Formatierte Querverweise auf einen Zähler verwendet
18013 \begin_inset space \thinspace{}
18017 Referenzen auf Abschnitte in der Form
18018 \begin_inset Quotes gld
18022 \begin_inset space ~
18026 \begin_inset Quotes grd
18029 haben, sollte der String
18030 \begin_inset Quotes gld
18034 \begin_inset Quotes grd
18038 Diese Zeichen werden später durch die referenzierte Abschnittsnummer ersetzt.
18039 Also für Abschnitte lautet der String dann
18040 \begin_inset Quotes gld
18044 \begin_inset Quotes grd
18050 \begin_layout Description
18051 \begin_inset Flex Code
18054 \begin_layout Plain Layout
18061 \begin_inset Flex Code
18064 \begin_layout Plain Layout
18071 \begin_inset Quotes erd
18075 \begin_inset Quotes erd
18078 ] Wenn dies auf den Namen eines anderen Zählers gesetzt wird, wird der gegenwärt
18079 ige Zähler jedes mal zurückgesetzt, wenn der andere erhöht wird.
18081 \begin_inset Flex Code
18084 \begin_layout Plain Layout
18091 \begin_inset Flex Code
18094 \begin_layout Plain Layout
18103 \begin_layout Subsection
18104 Beschreibung des Zeichensatzes
18105 \begin_inset CommandInset label
18107 name "subsec:Beschreibung-des-Zeichensatzes"
18114 \begin_layout Standard
18115 Eine Zeichensatzbeschreibung sieht folgendermaßen aus:
18118 \begin_layout LyX-Code
18132 \begin_layout LyX-Code
18136 \begin_layout LyX-Code
18140 \begin_layout Standard
18141 und es sind folgende Befehle vorhanden:
18144 \begin_layout Description
18145 \begin_inset Flex Code
18148 \begin_layout Plain Layout
18155 \begin_inset Flex Code
18158 \begin_layout Plain Layout
18165 \begin_inset Flex Code
18168 \begin_layout Plain Layout
18175 \begin_inset Flex Code
18178 \begin_layout Plain Layout
18185 \begin_inset Flex Code
18188 \begin_layout Plain Layout
18195 \begin_inset Flex Code
18198 \begin_layout Plain Layout
18205 \begin_inset Flex Code
18208 \begin_layout Plain Layout
18215 \begin_inset Flex Code
18218 \begin_layout Plain Layout
18225 \begin_inset Flex Code
18228 \begin_layout Plain Layout
18235 \begin_inset Flex Code
18238 \begin_layout Plain Layout
18245 \begin_inset Flex Code
18248 \begin_layout Plain Layout
18255 \begin_inset Flex Code
18258 \begin_layout Plain Layout
18265 \begin_inset Flex Code
18268 \begin_layout Plain Layout
18275 \begin_inset Flex Code
18278 \begin_layout Plain Layout
18285 \begin_inset Flex Code
18288 \begin_layout Plain Layout
18295 \begin_inset Flex Code
18298 \begin_layout Plain Layout
18305 \begin_inset Flex Code
18308 \begin_layout Plain Layout
18315 \begin_inset Flex Code
18318 \begin_layout Plain Layout
18325 \begin_inset Flex Code
18328 \begin_layout Plain Layout
18335 \begin_inset Flex Code
18338 \begin_layout Plain Layout
18345 \begin_inset Flex Code
18348 \begin_layout Plain Layout
18357 \begin_layout Description
18358 \begin_inset Flex Code
18361 \begin_layout Plain Layout
18368 \begin_inset Flex Code
18371 \begin_layout Plain Layout
18378 \begin_inset Flex Code
18381 \begin_layout Plain Layout
18388 \begin_inset Flex Code
18391 \begin_layout Plain Layout
18400 \begin_layout Description
18401 \begin_inset Flex Code
18404 \begin_layout Plain Layout
18411 \begin_inset Flex Code
18414 \begin_layout Plain Layout
18420 ] Zulässige Argumente sind:
18421 \begin_inset Flex Code
18424 \begin_layout Plain Layout
18431 \begin_inset Flex Code
18434 \begin_layout Plain Layout
18441 \begin_inset Flex Code
18444 \begin_layout Plain Layout
18451 \begin_inset Flex Code
18454 \begin_layout Plain Layout
18461 \begin_inset Flex Code
18464 \begin_layout Plain Layout
18471 \begin_inset Flex Code
18474 \begin_layout Plain Layout
18481 \begin_inset Flex Code
18484 \begin_layout Plain Layout
18491 \begin_inset Flex Code
18494 \begin_layout Plain Layout
18501 \begin_inset Flex Code
18504 \begin_layout Plain Layout
18511 \begin_inset Flex Code
18514 \begin_layout Plain Layout
18521 \begin_inset Flex Code
18524 \begin_layout Plain Layout
18531 \begin_inset Flex Code
18534 \begin_layout Plain Layout
18541 Jedes schaltet die entsprechende Eigenschaft an oder aus.
18543 \begin_inset Flex Code
18546 \begin_layout Plain Layout
18557 \begin_inset Flex Code
18560 \begin_layout Plain Layout
18566 schaltet diesen aus.
18567 \begin_inset Newline newline
18570 Falls Sie Letzteres verwirrt, erinnern Sie sich, dass die Schrifteinstellungen
18571 standardmäßig von den umgebenden Stilen übernommen wird.
18573 \begin_inset Flex Code
18576 \begin_layout Plain Layout
18587 \begin_inset space \thinspace{}
18591 in einer Theorem-Umgebung aktiv ist.
18594 \begin_layout Description
18595 \begin_inset Flex Code
18598 \begin_layout Plain Layout
18605 \begin_inset Flex Code
18608 \begin_layout Plain Layout
18615 \begin_inset Flex Code
18618 \begin_layout Plain Layout
18627 \begin_layout Description
18628 \begin_inset Flex Code
18631 \begin_layout Plain Layout
18638 \begin_inset Flex Code
18641 \begin_layout Plain Layout
18648 \begin_inset Flex Code
18651 \begin_layout Plain Layout
18658 \begin_inset Flex Code
18661 \begin_layout Plain Layout
18668 \begin_inset Flex Code
18671 \begin_layout Plain Layout
18680 \begin_layout Description
18681 \begin_inset Flex Code
18684 \begin_layout Plain Layout
18691 \begin_inset Flex Code
18694 \begin_layout Plain Layout
18701 \begin_inset Flex Code
18704 \begin_layout Plain Layout
18711 \begin_inset Flex Code
18714 \begin_layout Plain Layout
18721 \begin_inset Flex Code
18724 \begin_layout Plain Layout
18731 \begin_inset Flex Code
18734 \begin_layout Plain Layout
18741 \begin_inset Flex Code
18744 \begin_layout Plain Layout
18751 \begin_inset Flex Code
18754 \begin_layout Plain Layout
18761 \begin_inset Flex Code
18764 \begin_layout Plain Layout
18773 \begin_layout Subsection
18774 \begin_inset CommandInset label
18776 name "subsec:Citation-format-description"
18782 Citation format description
18785 \begin_layout Standard
18789 \begin_inset Flex Code
18792 \begin_layout Plain Layout
18800 blocks are used to describe how bibliographic information should be displayed,
18801 both within \SpecialChar LyX
18802 itself (in the citation dialog and in tooltips, for example)
18803 and in XHTML output.
18804 Such a block might look like this:
18807 \begin_layout LyX-Code
18811 \begin_layout LyX-Code
18815 \begin_layout LyX-Code
18819 \begin_layout LyX-Code
18823 \begin_layout Standard
18826 The individual lines define how the bibliographic information associated
18827 with an article or book, respectively, is to be displayed, and such a definitio
18828 n can be given for any `entry type' that might be present in a Bib\SpecialChar TeX
18831 defines a default format in the source code that will be used if no specific
18832 definition has been given.
18834 predefines several formats in the file
18835 \begin_inset Flex Code
18838 \begin_layout Plain Layout
18846 , which is included in most of \SpecialChar LyX
18847 's document classes.
18850 \begin_layout Standard
18853 The definitions use a simple language that allows Bib\SpecialChar TeX
18854 keys to be replaced
18856 Keys should be enclosed in
18857 \begin_inset Flex Code
18860 \begin_layout Plain Layout
18869 \begin_inset Flex Code
18872 \begin_layout Plain Layout
18881 So a simple definition might look like this:
18884 \begin_layout LyX-Code
18886 \begin_inset Quotes eld
18890 \begin_inset Quotes erd
18896 \begin_layout Standard
18899 This would print the author, followed by a comma, followed by the title,
18900 in quotes, followed by a period.
18903 \begin_layout Standard
18906 Of course, sometimes you may want to print a key only if it exists.
18907 This can be done by using a conditional construction, such as:
18908 \begin_inset Flex Code
18911 \begin_layout Plain Layout
18915 \begin_inset space ~
18925 \begin_inset Flex Code
18928 \begin_layout Plain Layout
18936 key exists, then print
18937 \begin_inset Quotes eld
18941 \begin_inset space ~
18945 \begin_inset Quotes erd
18948 followed by the volume key.
18949 It is also possible to have an else clause in the conditional, such as:
18950 \begin_inset Newline newline
18954 \begin_inset Flex Code
18957 \begin_layout Plain Layout
18960 {%author%[[%author%]][[%editor%, ed.]]}
18966 \begin_inset Newline newline
18970 \begin_inset Flex Code
18973 \begin_layout Plain Layout
18981 key is printed if it exists; otherwise, the editor key is printed, followed
18983 \begin_inset Quotes eld
18987 \begin_inset space ~
18991 \begin_inset Quotes erd
18994 Note that the key is again enclosed in
18995 \begin_inset Flex Code
18998 \begin_layout Plain Layout
19006 signs; the entire conditional is enclosed in braces; and the if and else
19007 clauses are enclosed in double brackets,
19008 \begin_inset Quotes eld
19012 \begin_inset Flex Code
19015 \begin_layout Plain Layout
19024 \begin_inset Quotes eld
19028 \begin_inset Quotes eld
19032 \begin_inset Flex Code
19035 \begin_layout Plain Layout
19044 \begin_inset Quotes erd
19048 There must be no space between any of these.
19051 \begin_layout Standard
19054 There is one other piece of syntax available in definitions, which looks
19056 \begin_inset Flex Code
19059 \begin_layout Plain Layout
19068 This defines a piece of formatting information that is to be used when
19070 \begin_inset Quotes eld
19074 \begin_inset Quotes erd
19078 Obviously, we do not want to output HTML tags when writing plain text,
19079 so they should be wrapped in
19080 \begin_inset Quotes eld
19084 \begin_inset Quotes erd
19088 \begin_inset Quotes eld
19092 \begin_inset Quotes erd
19098 \begin_layout Standard
19101 Two special sorts of definitions are also possible in a
19102 \begin_inset Flex Code
19105 \begin_layout Plain Layout
19114 An example of the first would be:
19117 \begin_layout LyX-Code
19119 \begin_inset Quotes eld
19123 \begin_inset Quotes erd
19129 \begin_layout Standard
19132 This is an abbreviation, or macro, and it can be used by treating it as
19134 \begin_inset Flex Code
19137 \begin_layout Plain Layout
19148 \begin_inset Flex Code
19151 \begin_layout Plain Layout
19159 exactly as it would treat its definition.
19160 So, let us issue the obvious
19168 \begin_layout LyX-Code
19172 \begin_layout Standard
19175 or anything like it.
19177 shouldn't go into an infinite loop, but it may go into a long one before
19181 \begin_layout Standard
19184 The second sort of special definition might look like this:
19187 \begin_layout LyX-Code
19191 \begin_layout Standard
19194 This defines a translatable piece of text, which allows relevant parts of
19195 the bibliography to be translated.
19196 It can be included in a definition by treating it as a key:
19197 \begin_inset Flex Code
19200 \begin_layout Plain Layout
19209 Several of these are predefined in
19210 \begin_inset Flex Code
19213 \begin_layout Plain Layout
19222 Note that these are not macros, in the sense just defined.
19223 They will not be expanded.
19226 \begin_layout Standard
19229 So here then is an example that use all these features:
19230 \begin_inset VSpace defskip
19236 \begin_layout Standard
19241 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
19244 \begin_layout Standard
19247 \begin_inset VSpace defskip
19250 This defines a macro that prints the author, followed by a comma, if the
19252 \begin_inset Flex Code
19255 \begin_layout Plain Layout
19263 key is defined, or else prints the name of the editor, followed by the
19265 \begin_inset Flex Code
19268 \begin_layout Plain Layout
19276 or its translation (it is by default
19277 \begin_inset Quotes eld
19281 \begin_inset Quotes erd
19285 \begin_inset Flex Code
19288 \begin_layout Plain Layout
19297 Note that this is in fact defined in
19298 \begin_inset Flex Code
19301 \begin_layout Plain Layout
19309 , so you can use it in your own definitions, or re-definitions, if you load
19313 \begin_layout Section
19314 \begin_inset CommandInset label
19316 name "sec:Tags-for-XHTML"
19322 Tags for XHTML output
19325 \begin_layout Standard
19328 As with \SpecialChar LaTeX
19329 or DocBook, the format of \SpecialChar LyX
19330 's XHTML output is also controlled by
19331 layout information.
19332 In general, \SpecialChar LyX
19333 provides sensible defaults and, as mentioned earlier, it will
19334 even construct default CSS style rules from the other layout tags.
19335 For example, \SpecialChar LyX
19336 will attempt to use the information provided in the
19337 \begin_inset Flex Code
19340 \begin_layout Plain Layout
19348 declaration for the Chapter style to write CSS that will appropriately
19349 format chapter headings.
19352 \begin_layout Standard
19355 In many cases, then, you may not have to do anything at all to get acceptable
19356 XHTML output for your own environments, custom insets, and so forth.
19357 But in some cases you will, and so \SpecialChar LyX
19358 provides a number of layout tags that
19359 can be used to customize the XHTML and CSS that are generated.
19362 \begin_layout Standard
19365 Note that there are two tags,
19366 \begin_inset Flex Code
19369 \begin_layout Plain Layout
19378 \begin_inset Flex Code
19381 \begin_layout Plain Layout
19389 that may appear outside style and inset declarations.
19393 \begin_inset CommandInset ref
19395 reference "subsec:Allgemeine-Parameter-für"
19401 for details on these.
19404 \begin_layout Subsection
19410 \begin_layout Standard
19413 The sort of XHTML \SpecialChar LyX
19414 outputs for a paragraph depends upon whether we are dealing
19415 with a normal paragraph, a command, or an environment, where this is itself
19416 determined by the contents of the corresponding
19417 \begin_inset Flex Code
19420 \begin_layout Plain Layout
19433 \begin_layout Standard
19436 For a command or normal paragraph, the output XHTML has the following form:
19439 \begin_layout LyX-Code
19443 \begin_inset Quotes erd
19447 \begin_inset Quotes erd
19453 \begin_layout LyX-Code
19457 \begin_inset Quotes erd
19461 \begin_inset Quotes erd
19467 \begin_layout LyX-Code
19470 Contents of the paragraph.
19473 \begin_layout LyX-Code
19479 \begin_layout Standard
19482 The label tags are of course omitted if the paragraph does not have a label.
19485 \begin_layout Standard
19488 For an environment that is not some sort of list, the XHTML takes this form:
19491 \begin_layout LyX-Code
19495 \begin_inset Quotes erd
19499 \begin_inset Quotes erd
19505 \begin_layout LyX-Code
19509 \begin_inset Quotes erd
19513 \begin_inset Quotes erd
19517 \begin_inset Quotes erd
19521 \begin_inset Quotes erd
19524 >Environment Label</labeltag>First paragraph.</itemtag>
19527 \begin_layout LyX-Code
19530 <itemtag>Second paragraph.</itemtag>
19533 \begin_layout LyX-Code
19539 \begin_layout Standard
19542 Note that the label is output only for the first paragraph, as it should
19543 be for a theorem, for example.
19547 \begin_layout Standard
19550 For a list, we have one of these forms:
19553 \begin_layout LyX-Code
19557 \begin_inset Quotes erd
19561 \begin_inset Quotes erd
19567 \begin_layout LyX-Code
19571 \begin_inset Quotes erd
19575 \begin_inset Quotes erd
19579 \begin_inset Quotes erd
19583 \begin_inset Quotes erd
19586 >List Label</labeltag>First item.</itemtag>
19589 \begin_layout LyX-Code
19593 \begin_inset Quotes erd
19597 \begin_inset Quotes erd
19601 \begin_inset Quotes erd
19605 \begin_inset Quotes erd
19608 >List Label</labeltag>Second item.</itemtag>
19611 \begin_layout LyX-Code
19617 \begin_layout LyX-Code
19621 \begin_layout LyX-Code
19625 \begin_inset Quotes erd
19629 \begin_inset Quotes erd
19635 \begin_layout LyX-Code
19639 \begin_inset Quotes erd
19643 \begin_inset Quotes erd
19646 >List Label</labeltag><itemtag attr=
19647 \begin_inset Quotes erd
19651 \begin_inset Quotes erd
19654 >First item.</itemtag>
19657 \begin_layout LyX-Code
19661 \begin_inset Quotes erd
19665 \begin_inset Quotes erd
19668 >List Label</labeltag><itemtag attr=
19669 \begin_inset Quotes erd
19673 \begin_inset Quotes erd
19676 >Second item.</itemtag>
19679 \begin_layout LyX-Code
19685 \begin_layout Standard
19688 Note the different orders of
19689 \begin_inset Flex Code
19692 \begin_layout Plain Layout
19701 \begin_inset Flex Code
19704 \begin_layout Plain Layout
19713 Which order we get depends upon the setting of
19714 \begin_inset Flex Code
19717 \begin_layout Plain Layout
19726 \begin_inset Flex Code
19729 \begin_layout Plain Layout
19737 is false (the default), you get the first of these, with the label within
19738 the item; if true, you get the second, with the label outside the item.
19741 \begin_layout Standard
19744 The specific tags and attributes output for each paragraph type can be controlle
19745 d by means of the layout tags we are about to describe.
19746 As mentioned earlier, however, \SpecialChar LyX
19747 uses sensible defaults for many of these,
19748 so you often may not need to do very much to get good XHTML output.
19749 Think of the available tags as there so you can tweak things to your liking.
19752 \begin_layout Description
19755 \begin_inset Flex Code
19758 \begin_layout Plain Layout
19767 \begin_inset Flex Code
19770 \begin_layout Plain Layout
19778 ] Specifies attribute information to be output with the main tag.
19780 \begin_inset Quotes eld
19784 \begin_inset Flex Code
19787 \begin_layout Plain Layout
19796 \begin_inset Quotes erd
19800 By default, \SpecialChar LyX
19802 \begin_inset Quotes eld
19806 \begin_inset Flex Code
19809 \begin_layout Plain Layout
19818 \begin_inset Quotes erd
19822 \begin_inset Flex Code
19825 \begin_layout Plain Layout
19833 is the \SpecialChar LyX
19834 name of the layout, made lowercase, for example: chapter.
19839 contain any style information.
19841 \begin_inset Flex Code
19844 \begin_layout Plain Layout
19855 \begin_layout Description
19858 \begin_inset Flex Code
19861 \begin_layout Plain Layout
19870 \begin_inset Flex Code
19873 \begin_layout Plain Layout
19883 \begin_inset space \thinspace{}
19887 \begin_inset Flex Code
19890 \begin_layout Plain Layout
19898 ] Whether to output the default CSS information \SpecialChar LyX
19899 generates for this layout,
19900 even if additional information is explicitly provided via
19901 \begin_inset Flex Code
19904 \begin_layout Plain Layout
19914 \begin_inset Flex Code
19917 \begin_layout Plain Layout
19925 allows you to alter or augment the generated CSS, rather than to override
19928 \begin_inset Flex Code
19931 \begin_layout Plain Layout
19942 \begin_layout Description
19945 \begin_inset Flex Code
19948 \begin_layout Plain Layout
19957 \begin_inset Flex Code
19960 \begin_layout Plain Layout
19968 ] The tag to be used for individual paragraphs of environments, replacing
19970 \begin_inset Flex Code
19973 \begin_layout Plain Layout
19981 in the examples above.
19983 \begin_inset Flex Code
19986 \begin_layout Plain Layout
19997 \begin_layout Description
20000 \begin_inset Flex Code
20003 \begin_layout Plain Layout
20012 \begin_inset Flex Code
20015 \begin_layout Plain Layout
20023 ] Attributes for the item tag.
20025 \begin_inset Quotes eld
20029 \begin_inset Flex Code
20032 \begin_layout Plain Layout
20035 class=`layoutname_item'
20041 \begin_inset Quotes erd
20049 contain any style information.
20051 \begin_inset Flex Code
20054 \begin_layout Plain Layout
20065 \begin_layout Description
20068 \begin_inset Flex Code
20071 \begin_layout Plain Layout
20080 \begin_inset Flex Code
20083 \begin_layout Plain Layout
20091 ] The tag to be used for paragraph and item labels, replacing
20092 \begin_inset Flex Code
20095 \begin_layout Plain Layout
20103 in the examples above.
20105 \begin_inset Flex Code
20108 \begin_layout Plain Layout
20117 \begin_inset Flex Code
20120 \begin_layout Plain Layout
20129 \begin_inset Flex Code
20132 \begin_layout Plain Layout
20141 \begin_inset Flex Code
20144 \begin_layout Plain Layout
20147 Centered_Top_Environment
20152 , in which case it defaults to
20153 \begin_inset Flex Code
20156 \begin_layout Plain Layout
20167 \begin_layout Description
20170 \begin_inset Flex Code
20173 \begin_layout Plain Layout
20182 \begin_inset Flex Code
20185 \begin_layout Plain Layout
20193 ] Attributes for the label tag.
20195 \begin_inset Quotes eld
20199 \begin_inset Flex Code
20202 \begin_layout Plain Layout
20205 class=`layoutname_label'
20211 \begin_inset Quotes erd
20219 contain any style information.
20221 \begin_inset Flex Code
20224 \begin_layout Plain Layout
20235 \begin_layout Description
20238 \begin_inset Flex Code
20241 \begin_layout Plain Layout
20250 \begin_inset Flex Code
20253 \begin_layout Plain Layout
20263 \begin_inset space \thinspace{}
20267 \begin_inset Flex Code
20270 \begin_layout Plain Layout
20278 ] Meaningful only for list-like environments, this tag controls whether
20279 the label tag is output before or inside the item tag.
20280 This is used, for example, in the description environment, where we want
20282 \begin_inset Flex Code
20285 \begin_layout Plain Layout
20288 <dt>\SpecialChar ldots
20289 </dt><dd>\SpecialChar ldots
20297 \begin_inset Flex Code
20300 \begin_layout Plain Layout
20308 : The label tag is output inside the item tag.
20311 \begin_layout Description
20314 \begin_inset Flex Code
20317 \begin_layout Plain Layout
20325 Information to be output in the
20326 \begin_inset Flex Code
20329 \begin_layout Plain Layout
20337 section when this style is used.
20338 This might, for example, be used to include a
20339 \begin_inset Flex Code
20342 \begin_layout Plain Layout
20351 \begin_inset Flex Code
20354 \begin_layout Plain Layout
20365 \begin_layout Description
20368 \begin_inset Flex Code
20371 \begin_layout Plain Layout
20379 CSS style information to be included when this style is used.
20380 Note that this will automatically be wrapped in a layout-generated
20381 \begin_inset Flex Code
20384 \begin_layout Plain Layout
20392 block, so only the CSS itself need be included.
20394 \begin_inset Flex Code
20397 \begin_layout Plain Layout
20408 \begin_layout Description
20411 \begin_inset Flex Code
20414 \begin_layout Plain Layout
20423 \begin_inset Flex Code
20426 \begin_layout Plain Layout
20434 ] The tag to be used for the main label, replacing
20435 \begin_inset Flex Code
20438 \begin_layout Plain Layout
20446 in the examples above.
20448 \begin_inset Flex Code
20451 \begin_layout Plain Layout
20462 \begin_layout Description
20465 \begin_inset Flex Code
20468 \begin_layout Plain Layout
20477 \begin_inset Flex Code
20480 \begin_layout Plain Layout
20490 \begin_inset space \thinspace{}
20494 \begin_inset Flex Code
20497 \begin_layout Plain Layout
20505 ] Marks this style as the one to be used to generate the
20506 \begin_inset Flex Code
20509 \begin_layout Plain Layout
20517 tag for the XHTML file.
20518 By default, it is false.
20520 \begin_inset Flex Code
20523 \begin_layout Plain Layout
20531 file sets it to true for the
20532 \begin_inset Flex Code
20535 \begin_layout Plain Layout
20547 \begin_layout Subsection
20553 \begin_layout Standard
20556 The XHTML output of insets can also be controlled by information in layout
20561 \begin_layout Plain Layout
20564 At present, this is true only for
20565 \begin_inset Quotes eld
20569 \begin_inset Quotes erd
20572 insets (insets you can type into) and is not true for
20573 \begin_inset Quotes eld
20577 \begin_inset Quotes erd
20580 insets (insets that are associated with dialog boxes).
20585 Here, too, \SpecialChar LyX
20586 tries to provide sensible defaults, and it constructs default
20588 But everything can be customized.
20591 \begin_layout Standard
20594 The XHTML \SpecialChar LyX
20595 outputs for an inset has the following form:
20598 \begin_layout LyX-Code
20602 \begin_inset Quotes erd
20606 \begin_inset Quotes erd
20612 \begin_layout LyX-Code
20615 <labeltag>Label</labeltag>
20618 \begin_layout LyX-Code
20622 \begin_inset Quotes erd
20626 \begin_inset Quotes erd
20629 >Contents of the inset.</innertag>
20632 \begin_layout LyX-Code
20638 \begin_layout Standard
20641 If the inset permits multiple paragraphs—that is, if
20642 \begin_inset Flex Code
20645 \begin_layout Plain Layout
20653 is true—then the contents of the inset will itself be output as paragraphs
20654 formatted according to the styles used for those paragraphs (standard,
20655 quote, and the like).
20656 The label tag is of course omitted if the paragraph does not have a label
20657 and, at present, is always
20658 \begin_inset Flex Code
20661 \begin_layout Plain Layout
20670 The inner tag is optional and, by default, does not appear.
20673 \begin_layout Standard
20676 The specific tags and attributes output for each inset can be controlled
20677 by means of the following layout tags.
20680 \begin_layout Description
20683 \begin_inset Flex Code
20686 \begin_layout Plain Layout
20695 \begin_inset Flex Code
20698 \begin_layout Plain Layout
20706 ] Specifies attribute information to be output with the main tag.
20708 \begin_inset Quotes eld
20712 \begin_inset Flex Code
20715 \begin_layout Plain Layout
20718 class=`myinset' onclick=`\SpecialChar ldots
20725 \begin_inset Quotes erd
20729 By default, \SpecialChar LyX
20731 \begin_inset Quotes eld
20735 \begin_inset Flex Code
20738 \begin_layout Plain Layout
20747 \begin_inset Quotes erd
20751 \begin_inset Flex Code
20754 \begin_layout Plain Layout
20762 is the \SpecialChar LyX
20763 name of the inset, made lowercase and with non-alphanumeric characters
20764 converted to underscores, for example: footnote.
20767 \begin_layout Description
20770 \begin_inset Flex Code
20773 \begin_layout Plain Layout
20782 \begin_inset Flex Code
20785 \begin_layout Plain Layout
20795 \begin_inset space \thinspace{}
20799 \begin_inset Flex Code
20802 \begin_layout Plain Layout
20810 ] Whether to output the default CSS information \SpecialChar LyX
20811 generates for this layout,
20812 even if additional information is explicitly provided via
20813 \begin_inset Flex Code
20816 \begin_layout Plain Layout
20826 \begin_inset Flex Code
20829 \begin_layout Plain Layout
20837 allows you to alter or augment the generated CSS, rather than to override
20842 \begin_layout Description
20845 \begin_inset Flex Code
20848 \begin_layout Plain Layout
20857 \begin_inset Flex Code
20860 \begin_layout Plain Layout
20868 ] Attributes for the inner tag.
20870 \begin_inset Quotes eld
20874 \begin_inset Flex Code
20877 \begin_layout Plain Layout
20880 class=`insetname_inner'
20886 \begin_inset Quotes erd
20892 \begin_layout Description
20895 \begin_inset Flex Code
20898 \begin_layout Plain Layout
20907 \begin_inset Flex Code
20910 \begin_layout Plain Layout
20918 ] The inner tag, replacing
20919 \begin_inset Flex Code
20922 \begin_layout Plain Layout
20930 in the examples above.
20931 By default, there is none.
20934 \begin_layout Description
20937 \begin_inset Flex Code
20940 \begin_layout Plain Layout
20949 \begin_inset Flex Code
20952 \begin_layout Plain Layout
20961 \begin_inset space \thinspace{}
20965 \begin_inset Flex Code
20968 \begin_layout Plain Layout
20977 ] Whether this inset represents a standalone block of text (such as a footnote)
20978 or instead represents material that is included in the surrounding text
20979 (such as a branch).
20983 \begin_layout Description
20986 \begin_inset Flex Code
20989 \begin_layout Plain Layout
20998 \begin_inset Flex Code
21001 \begin_layout Plain Layout
21009 ] A label for this inset, possibly including a reference to a counter.
21010 For example, for footnote, it might be:
21011 \begin_inset Flex Code
21014 \begin_layout Plain Layout
21025 This is optional, and there is no default.
21028 \begin_layout Description
21031 \begin_inset Flex Code
21034 \begin_layout Plain Layout
21042 Information to be output in the
21043 \begin_inset Flex Code
21046 \begin_layout Plain Layout
21054 section when this style is used.
21055 This might, for example, be used to include a
21056 \begin_inset Flex Code
21059 \begin_layout Plain Layout
21068 \begin_inset Flex Code
21071 \begin_layout Plain Layout
21082 \begin_layout Description
21085 \begin_inset Flex Code
21088 \begin_layout Plain Layout
21096 CSS style information to be included when this style is used.
21097 Note that this will automatically be wrapped in a layout-generated
21098 \begin_inset Flex Code
21101 \begin_layout Plain Layout
21109 block, so only the CSS itself need be included.
21112 \begin_layout Description
21115 \begin_inset Flex Code
21118 \begin_layout Plain Layout
21127 \begin_inset Flex Code
21130 \begin_layout Plain Layout
21138 ] The tag to be used for the main label, replacing
21139 \begin_inset Flex Code
21142 \begin_layout Plain Layout
21150 in the examples above.
21151 The default depends upon the setting of
21152 \begin_inset Flex Code
21155 \begin_layout Plain Layout
21164 \begin_inset Flex Code
21167 \begin_layout Plain Layout
21175 is true, the default is
21176 \begin_inset Flex Code
21179 \begin_layout Plain Layout
21187 ; if it is false, the default is
21188 \begin_inset Flex Code
21191 \begin_layout Plain Layout
21202 \begin_layout Subsection
21208 \begin_layout Standard
21211 The XHTML output for floats too can be controlled by layout information.
21212 The output has the following form:
21215 \begin_layout LyX-Code
21219 \begin_inset Quotes erd
21223 \begin_inset Quotes erd
21229 \begin_layout LyX-Code
21232 Contents of the float.
21235 \begin_layout LyX-Code
21241 \begin_layout Standard
21244 The caption, if there is one, is a separate inset and will be output as
21246 Its appearance can be controlled via the InsetLayout for caption insets.
21250 \begin_layout Description
21253 \begin_inset Flex Code
21256 \begin_layout Plain Layout
21265 \begin_inset Flex Code
21268 \begin_layout Plain Layout
21276 ] Specifies attribute information to be output with the main tag.
21278 \begin_inset Quotes eld
21282 \begin_inset Flex Code
21285 \begin_layout Plain Layout
21288 class=`myfloat' onclick=`\SpecialChar ldots
21295 \begin_inset Quotes erd
21299 By default, \SpecialChar LyX
21301 \begin_inset Quotes eld
21305 \begin_inset Flex Code
21308 \begin_layout Plain Layout
21311 class=`float float-floattype'
21317 \begin_inset Quotes erd
21321 \begin_inset Flex Code
21324 \begin_layout Plain Layout
21332 is \SpecialChar LyX
21333 's name for this type of float, as determined by the float declaration
21337 \begin_inset CommandInset ref
21339 reference "subsec:Gleitobjekte"
21345 ), though made lowercase and with non-alphanumeric characters converted
21346 to underscores, for example: float-table.
21349 \begin_layout Description
21352 \begin_inset Flex Code
21355 \begin_layout Plain Layout
21363 CSS style information to be included when this float is used.
21364 Note that this will automatically be wrapped in a layout-generated
21365 \begin_inset Flex Code
21368 \begin_layout Plain Layout
21376 block, so only the CSS itself need be included.
21379 \begin_layout Description
21382 \begin_inset Flex Code
21385 \begin_layout Plain Layout
21394 \begin_inset Flex Code
21397 \begin_layout Plain Layout
21405 ] The tag to be used for this float, replacing
21406 \begin_inset Quotes eld
21410 \begin_inset Flex Code
21413 \begin_layout Plain Layout
21422 \begin_inset Quotes erd
21425 in the example above.
21427 \begin_inset Flex Code
21430 \begin_layout Plain Layout
21438 and will rarely need changing.
21441 \begin_layout Subsection
21444 Bibliography formatting
21447 \begin_layout Standard
21450 The bibliography can be formatted using
21451 \begin_inset Flex Code
21454 \begin_layout Plain Layout
21466 \begin_inset CommandInset ref
21468 reference "subsec:Citation-format-description"
21477 \begin_layout Subsection
21484 \begin_layout Standard
21487 We have several times mentioned that \SpecialChar LyX
21488 will generate default CSS style rules
21489 for both insets and paragraph styles, based upon the other layout information
21491 In this section, we shall say a word about which layout information \SpecialChar LyX
21496 \begin_layout Standard
21499 At present, \SpecialChar LyX
21500 auto-generates CSS only for font information, making use of
21502 \begin_inset Flex Code
21505 \begin_layout Plain Layout
21514 \begin_inset Flex Code
21517 \begin_layout Plain Layout
21526 \begin_inset Flex Code
21529 \begin_layout Plain Layout
21538 \begin_inset Flex Code
21541 \begin_layout Plain Layout
21550 \begin_inset Flex Code
21553 \begin_layout Plain Layout
21564 \begin_inset CommandInset ref
21566 reference "subsec:Beschreibung-des-Zeichensatzes"
21573 The translation is mostly straightforward and obvious.
21575 \begin_inset Quotes eld
21579 \begin_inset Flex Code
21582 \begin_layout Plain Layout
21591 \begin_inset Quotes erd
21595 \begin_inset Quotes eld
21599 \begin_inset Flex Code
21602 \begin_layout Plain Layout
21605 font-family: sans-serif;
21611 \begin_inset Quotes erd
21615 The correspondence of \SpecialChar LyX
21616 sizes and CSS sizes is a little less obvious but
21617 nonetheless intuitive.
21619 \begin_inset Flex Code
21622 \begin_layout Plain Layout
21631 \begin_inset Flex URL
21634 \begin_layout Plain Layout
21644 \begin_layout Chapter
21645 Externes Material einfügen
21646 \begin_inset CommandInset label
21648 name "cha:Externes-Material-einfügen"
21655 \begin_layout Standard
21658 \begin_inset Box Shadowbox
21668 height_special "totalheight"
21673 backgroundcolor "none"
21676 \begin_layout Plain Layout
21679 This portion of the documentation has not been updated for some time.
21680 We certainly hope that it is still accurate, but there are no guarantees.
21688 \begin_layout Standard
21691 The use of material from sources external to \SpecialChar LyX
21692 is covered in detail in the
21698 This part of the manual covers what needs to happen behind the scenes for
21699 new sorts of material to be included.
21702 \begin_layout Section
21703 Wie funktioniert das?
21706 \begin_layout Standard
21710 \begin_inset space \space{}
21715 basiert auf dem Konzept der Vorlage.
21716 Eine solche Vorlage ist eine Spezifikation, wie \SpecialChar LyX
21717 mit einer bestimmten Sorte
21718 von Material umgehen soll.
21719 Derzeit gehören zu \SpecialChar LyX
21720 derartige Vorlagen für XFig-Abbildungen, Dia-Diagramme,
21721 diverse Abbildungen im Rasterformat, Gnuplot und noch ein paar mehr.
21722 Die vollständige Liste sehen Sie in
21724 Einfügen\SpecialChar menuseparator
21725 Datei\SpecialChar menuseparator
21727 \begin_inset space \space{}
21735 \begin_layout Standard
21736 Darüberhinaus ist es möglich, durch eigene Vorlagen beliebige andere Formate
21738 Wir werden weiter unten beschreiben, was genau Sie dazu machen müssen und
21739 hoffen, dass Sie derartig erstellte Vorlagen an das \SpecialChar LyX
21740 -Team schicken, damit
21741 sie in kommenden \SpecialChar LyX
21742 -Versionen integriert werden können.
21745 \begin_layout Standard
21746 Ein weiteres Merkmal der Idee der externen Einfügung ist die Unterscheidung
21747 zwischen der ursprünglichen Datei, die als Grundlage für das eingefügte
21748 Material dient, und der erzeugten Datei, die dann letztendlich in Ihr Dokument
21750 Wir wollen dies am Beispiel einer XFig-Abbildung erläutern.
21753 \begin_layout Standard
21754 Das Programm XFig bearbeitet eine speziell formatierte Datei mit der Endung
21760 In XFig können Sie Ihre Abbildung editieren und ändern, und zum Schluss
21761 speichern Sie diese
21766 Wenn Sie nun eine derartige Abbildung in \SpecialChar LyX
21767 einbinden wollen, müssen Sie
21772 starten, um eine PostScript-Datei zu erzeugen, die von \SpecialChar LaTeX
21775 In diesem Fall ist also die
21779 -Datei die oben erwähnte Originaldatei, und die
21783 Datei die tatsächlich eingebundene Datei.
21786 \begin_layout Standard
21787 Diese Unterscheidung ist wichtig, denn Sie erlaubt das einfache Ändern und
21788 Aktualisieren des Materials, während Sie an Ihrem Text schreiben.
21789 Außerdem ist erst so die Flexibilität gegeben, die benötigt wird, um unterschie
21790 dliche Exportformate für die \SpecialChar LyX
21791 -Datei zu ermöglichen.
21794 \begin_layout Standard
21795 So ist es im Falle einer Ausgabe als reiner (ASCII) Text sicher nicht sinnvoll,
21796 eine PostScript-Datei im Rohformat einzubinden.
21797 In diesem Fall wird dann entweder nur eine Referenz auf die Bilddatei angegeben
21798 , oder aber es wird ein Konverter gestartet, der eine ASCII-Darstellung
21799 erzeugt, die in etwa so aussieht wie die ursprüngliche Grafik.
21800 Genau dies ist mit der Einfügung
21804 möglich, denn sie kennt all die notwendigen Befehle für derartige Konvertierung
21805 en (sofern sie von \SpecialChar LyX
21806 unterstützt werden).
21809 \begin_layout Standard
21810 Darüberhinaus erlaubt die Einfügung
21814 aber auch die einfache Integration mit externen Betrachtern und Editoren.
21815 So sind Sie bei einer XFig-Abbildung in der Lage, mit einem einigen Klick
21816 XFig zu starten, um die Abbildung zu bearbeiten oder die erstellte PostScript-D
21822 Kein langes Herumsuchen mit Dateimanagern nach den Original- und Grafikdateien
21823 mehr, und Sie müssen sich nicht mehr an die unterschiedlichen Parameter
21824 erinnern, die vielleicht für diese Abbildung notwendig sind, um sie in
21825 der richtigen Größe zu erstellen.
21826 Sie haben ohne viel Aufwand Zugriff auf eine Vielzahl von Applikationen
21827 und können so Ihre Produktivität ungemein steigern.
21830 \begin_layout Standard
21832 besitzt also die Information über eine Vielzahl von externen Programmen,
21833 um diese von Ihnen unbemerkt nutzen zu können und Ihnen so den größtmöglichen
21835 Und genau diese Information ist in den oben erwähnten Vorlagen gespeichert.
21836 Jede dieser Vorlagen enthält eine Liste von Befehlen und Optionen, um externe
21837 Programme zu starten, Formate zu konvertieren usw\SpecialChar endofsentence
21841 \begin_layout Standard
21842 Ein fortgeschrittener Anwender kann mit derartigen selbst erstellten Vorlagen
21843 die Möglichkeiten von \SpecialChar LyX
21844 stark erweitern, ohne dazu den eigentlichen Quellcode
21845 verändern zu müssen.
21846 Zwar ist dazu einiges an Arbeit notwendig, um all diese Befehle festzulegen,
21847 aber zum Glück hat das \SpecialChar LyX
21848 -Team das in einigen Fällen ja schon getan.
21851 \begin_layout Standard
21852 Eine kleine Einschränkung gibt es aber doch: Da es wie erwähnt eine Vielzahl
21853 möglicher Exportformate für das eingefügte Material gibt, wäre es zu vermuten,
21854 dass man von \SpecialChar LyX
21855 aus auch alle diese Formate als Vorschau ansehen kann.
21856 Das \SpecialChar LyX
21857 -Team hat sich entschlossen, das nicht zu tun, um die Benutzerschnittstelle
21858 so einfach wie möglich zu halten.
21859 Anstatt im Dialog für jedes mögliche Exportformat einen eigenen Knopf für
21860 die Vorschau zu haben, wurde das Konzept des primären Formats eingeführt,
21861 und es gibt nur einen Schalter
21864 \begin_inset space ~
21868 \begin_inset space ~
21873 , der die Datei in genau diesem primären Format anzeigt.
21876 \begin_layout Standard
21877 Dieses Format wird durch die verwendete Dokumentenklasse festgelegt.
21878 So ist es für die meisten Klassen \SpecialChar LaTeX
21879 , für die DocBook-Klassen ist es aber
21881 Denken Sie also daran, dass Ihnen die Vorschau lediglich das Aussehen in
21882 diesem Hauptformat anzeigt; wenn Sie sehen wollen, wie das Ergebnis in
21883 anderen Formaten aussieht, müssen Sie wie gewohnt die Konvertierung manuell
21887 \begin_layout Section
21890 The external template configuration file
21893 \begin_layout Standard
21896 It is relatively easy to add custom external template definitions to \SpecialChar LyX
21898 However, be aware that doing this in a careless manner most probably
21902 introduce an easily exploitable security hole.
21903 So before you do this, please read the discussion about security in
21906 \begin_inset CommandInset ref
21908 reference "sec:Sicherheitshinweise"
21915 \begin_layout Standard
21918 Having said that, we encourage you to submit any interesting templates that
21923 \begin_layout Standard
21926 The external templates are defined in the
21927 \begin_inset Flex Code
21930 \begin_layout Plain Layout
21936 Dir/lib/external_templates
21942 You can place your own version in
21943 \begin_inset Flex Code
21946 \begin_layout Plain Layout
21949 UserDir/external_templates
21957 \begin_layout Standard
21960 A typical template looks like this:
21963 \begin_layout LyX-Code
21969 \begin_layout LyX-Code
21972 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
21975 \begin_layout LyX-Code
21981 \begin_layout LyX-Code
21987 \begin_layout LyX-Code
21993 \begin_layout LyX-Code
21999 \begin_layout LyX-Code
22005 \begin_layout LyX-Code
22008 AutomaticProduction true
22011 \begin_layout LyX-Code
22017 \begin_layout LyX-Code
22023 \begin_layout LyX-Code
22026 Format \SpecialChar LaTeX
22030 \begin_layout LyX-Code
22033 TransformCommand Rotate RotationLatexCommand
22036 \begin_layout LyX-Code
22039 TransformCommand Resize ResizeLatexCommand
22042 \begin_layout LyX-Code
22045 Product "$$RotateFront$$ResizeFront
22048 \begin_layout LyX-Code
22055 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22058 \begin_layout LyX-Code
22061 $$ResizeBack$$RotateBack"
22064 \begin_layout LyX-Code
22070 \begin_layout LyX-Code
22073 UpdateResult "$$AbsPath$$Basename.pstex_t"
22076 \begin_layout LyX-Code
22079 Requirement "graphicx"
22082 \begin_layout LyX-Code
22085 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22088 \begin_layout LyX-Code
22091 ReferencedFile latex "$$AbsPath$$Basename.eps"
22094 \begin_layout LyX-Code
22097 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22100 \begin_layout LyX-Code
22106 \begin_layout LyX-Code
22109 Format PDF\SpecialChar LaTeX
22113 \begin_layout LyX-Code
22116 TransformCommand Rotate RotationLatexCommand
22119 \begin_layout LyX-Code
22122 TransformCommand Resize ResizeLatexCommand
22125 \begin_layout LyX-Code
22128 Product "$$RotateFront$$ResizeFront
22131 \begin_layout LyX-Code
22138 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22141 \begin_layout LyX-Code
22144 $$ResizeBack$$RotateBack"
22147 \begin_layout LyX-Code
22150 UpdateFormat pdftex
22153 \begin_layout LyX-Code
22156 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22159 \begin_layout LyX-Code
22162 Requirement "graphicx"
22165 \begin_layout LyX-Code
22168 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22171 \begin_layout LyX-Code
22174 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22177 \begin_layout LyX-Code
22183 \begin_layout LyX-Code
22189 \begin_layout LyX-Code
22192 Product "[XFig: $$FName]"
22195 \begin_layout LyX-Code
22201 \begin_layout LyX-Code
22207 \begin_layout LyX-Code
22210 Product "<graphic fileref=
22212 "$$AbsOrRelPathMaster$$Basename.eps
22217 \begin_layout LyX-Code
22223 \begin_layout LyX-Code
22229 \begin_layout LyX-Code
22232 UpdateResult "$$AbsPath$$Basename.eps"
22235 \begin_layout LyX-Code
22238 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22241 \begin_layout LyX-Code
22244 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22247 \begin_layout LyX-Code
22253 \begin_layout LyX-Code
22259 \begin_layout Standard
22262 As you can see, the template is enclosed in
22263 \begin_inset Flex Code
22266 \begin_layout Plain Layout
22276 \begin_inset Flex Code
22279 \begin_layout Plain Layout
22288 It contains a header specifying some general settings and, for each supported
22289 primary document file format, a section
22290 \begin_inset Flex Code
22293 \begin_layout Plain Layout
22303 \begin_inset Flex Code
22306 \begin_layout Plain Layout
22317 \begin_layout Subsection
22320 The template header
22323 \begin_layout Description
22326 \begin_inset Flex Code
22329 \begin_layout Plain Layout
22332 AutomaticProduction
22333 \begin_inset space ~
22341 Whether the file represented by the template must be generated by \SpecialChar LyX
22343 This command must occur exactly once.
22346 \begin_layout Description
22349 \begin_inset Flex Code
22352 \begin_layout Plain Layout
22356 \begin_inset space ~
22364 A glob pattern that is used in the file dialog to filter out the desired
22366 If there is more than one possible file extension (e.
22367 \begin_inset space \thinspace{}
22371 \begin_inset space \space{}
22375 \begin_inset Flex Code
22378 \begin_layout Plain Layout
22387 \begin_inset Flex Code
22390 \begin_layout Plain Layout
22398 ), use something like
22399 \begin_inset Flex Code
22402 \begin_layout Plain Layout
22411 This command must occur exactly once.
22414 \begin_layout Description
22417 \begin_inset Flex Code
22420 \begin_layout Plain Layout
22424 \begin_inset space ~
22432 The text that is displayed on the button.
22433 This command must occur exactly once.
22436 \begin_layout Description
22439 \begin_inset Flex Code
22442 \begin_layout Plain Layout
22446 \begin_inset space ~
22450 \begin_inset space ~
22458 The help text that is used in the External dialog.
22459 Provide enough information to explain to the user just what the template
22460 can provide him with.
22461 This command must occur exactly once.
22464 \begin_layout Description
22467 \begin_inset Flex Code
22470 \begin_layout Plain Layout
22474 \begin_inset space ~
22482 The file format of the original file.
22483 This must be the name of a format that is known to \SpecialChar LyX
22487 \begin_inset CommandInset ref
22489 reference "sec:Formate"
22497 \begin_inset Quotes eld
22501 \begin_inset Flex Code
22504 \begin_layout Plain Layout
22513 \begin_inset Quotes erd
22516 if the template can handle original files of more than one format.
22518 will attempt to interrogate the file itself in order to deduce its format
22520 This command must occur exactly once.
22523 \begin_layout Description
22526 \begin_inset Flex Code
22529 \begin_layout Plain Layout
22533 \begin_inset space ~
22541 A unique name for the template.
22542 It must not contain substitution macros (see below).
22545 \begin_layout Description
22548 \begin_inset Flex Code
22551 \begin_layout Plain Layout
22555 \begin_inset space ~
22558 Rotate|Resize|Clip|Extra
22563 This command specifies which transformations are supported by this template.
22564 It may occur zero or more times.
22565 This command enables the corresponding tabs in the external dialog.
22567 \begin_inset Flex Code
22570 \begin_layout Plain Layout
22578 command must have either a corresponding
22579 \begin_inset Flex Code
22582 \begin_layout Plain Layout
22591 \begin_inset Flex Code
22594 \begin_layout Plain Layout
22603 \begin_inset Flex Code
22606 \begin_layout Plain Layout
22615 Otherwise the transformation will not be supported by that format.
22618 \begin_layout Subsection
22624 \begin_layout Description
22627 \begin_inset Flex Code
22630 \begin_layout Plain Layout
22634 \begin_inset space ~
22638 |PDF\SpecialChar LaTeX
22644 The primary document file format that this format definition is for.
22645 Not every template has a sensible representation in all document file formats.
22646 Please define nevertheless a
22647 \begin_inset Flex Code
22650 \begin_layout Plain Layout
22658 section for all templates.
22659 Use a dummy text when no representation is available.
22660 Then you can at least see a reference to the external material in the exported
22664 \begin_layout Description
22667 \begin_inset Flex Code
22670 \begin_layout Plain Layout
22674 \begin_inset space ~
22678 \begin_inset space ~
22686 This command defines an additional macro
22687 \begin_inset Flex Code
22690 \begin_layout Plain Layout
22698 for substitution in
22699 \begin_inset Flex Code
22702 \begin_layout Plain Layout
22712 \begin_inset Flex Code
22715 \begin_layout Plain Layout
22723 itself may contain substitution macros.
22724 The advantage over using
22725 \begin_inset Flex Code
22728 \begin_layout Plain Layout
22737 \begin_inset Flex Code
22740 \begin_layout Plain Layout
22748 is that the substituted value of
22749 \begin_inset Flex Code
22752 \begin_layout Plain Layout
22760 is sanitized so that it is a valid optional argument in the document format.
22761 This command may occur zero or more times.
22764 \begin_layout Description
22767 \begin_inset Flex Code
22770 \begin_layout Plain Layout
22774 \begin_inset space ~
22782 The text that is inserted in the exported document.
22783 This is actually the most important command and can be quite complex.
22784 This command must occur exactly once.
22787 \begin_layout Description
22790 \begin_inset Flex Code
22793 \begin_layout Plain Layout
22797 \begin_inset space ~
22805 This command specifies a preamble snippet that will be included in the
22808 It has to be defined using
22809 \begin_inset Flex Code
22812 \begin_layout Plain Layout
22822 \begin_inset Flex Code
22825 \begin_layout Plain Layout
22834 This command may occur zero or more times.
22837 \begin_layout Description
22840 \begin_inset Flex Code
22843 \begin_layout Plain Layout
22847 \begin_inset space ~
22851 \begin_inset space ~
22859 This command denotes files that are created by the conversion process and
22860 are needed for a particular export format.
22861 If the filename is relative, it is interpreted relative to the master document.
22862 This command may be given zero or more times.
22865 \begin_layout Description
22868 \begin_inset Flex Code
22871 \begin_layout Plain Layout
22875 \begin_inset space ~
22883 The name of a required \SpecialChar LaTeX
22885 The package is included via
22886 \begin_inset Flex Code
22889 \begin_layout Plain Layout
22899 in the \SpecialChar LaTeX
22901 This command may occur zero or more times.
22904 \begin_layout Description
22907 \begin_inset Flex Code
22910 \begin_layout Plain Layout
22914 \begin_inset space ~
22918 \begin_inset space ~
22921 RotationLatexCommand
22926 This command specifies that the built in \SpecialChar LaTeX
22927 command should be used for rotation.
22928 This command may occur once or not at all.
22931 \begin_layout Description
22934 \begin_inset Flex Code
22937 \begin_layout Plain Layout
22941 \begin_inset space ~
22945 \begin_inset space ~
22953 This command specifies that the built in \SpecialChar LaTeX
22954 command should be used for resizing.
22955 This command may occur once or not at all.
22958 \begin_layout Description
22961 \begin_inset Flex Code
22964 \begin_layout Plain Layout
22968 \begin_inset space ~
22972 \begin_inset space ~
22975 RotationLatexOption
22980 This command specifies that rotation is done via an optional argument.
22981 This command may occur once or not at all.
22984 \begin_layout Description
22987 \begin_inset Flex Code
22990 \begin_layout Plain Layout
22994 \begin_inset space ~
22998 \begin_inset space ~
23006 This command specifies that resizing is done via an optional argument.
23007 This command may occur once or not at all.
23010 \begin_layout Description
23013 \begin_inset Flex Code
23016 \begin_layout Plain Layout
23020 \begin_inset space ~
23024 \begin_inset space ~
23032 This command specifies that clipping is done via an optional argument.
23033 This command may occur once or not at all.
23036 \begin_layout Description
23039 \begin_inset Flex Code
23042 \begin_layout Plain Layout
23046 \begin_inset space ~
23050 \begin_inset space ~
23058 This command specifies that an extra optional argument is used.
23059 This command may occur once or not at all.
23062 \begin_layout Description
23065 \begin_inset Flex Code
23068 \begin_layout Plain Layout
23072 \begin_inset space ~
23080 The file format of the converted file.
23081 This must be the name of a format that is known to \SpecialChar LyX
23083 \begin_inset Flex Noun
23086 \begin_layout Plain Layout
23089 Tools\SpecialChar menuseparator
23090 Preferences\SpecialChar menuseparator
23091 File Handling\SpecialChar menuseparator
23098 This command must occur exactly once.
23099 If the resulting file format is PDF, you need to specify the format
23100 \begin_inset Flex Code
23103 \begin_layout Plain Layout
23112 This is the PDF format used for including graphics.
23113 The other defined PDF formats are for document export.
23116 \begin_layout Description
23119 \begin_inset Flex Code
23122 \begin_layout Plain Layout
23126 \begin_inset space ~
23134 The file name of the converted file.
23135 The file name must be absolute.
23136 This command must occur exactly once.
23139 \begin_layout Subsection
23142 Preamble definitions
23145 \begin_layout Standard
23148 The external template configuration file may contain additional preamble
23149 definitions enclosed by
23150 \begin_inset Flex Code
23153 \begin_layout Plain Layout
23163 \begin_inset Flex Code
23166 \begin_layout Plain Layout
23175 They can be used by the templates in the
23176 \begin_inset Flex Code
23179 \begin_layout Plain Layout
23190 \begin_layout Section
23191 Der Ersetzungsmechanismus
23194 \begin_layout Standard
23195 Wenn über die externe Einfügung ein externes Programm gestartet wird, geschieht
23196 dies anhand eines Befehls, der in der Vorlage festgelegt wurde.
23197 Ein solcher Befehl kann diverse Makros enthalten, die vor dem eigentlichen
23198 Aufruf ausgewertet werden.
23199 Die Ausführung erfolgt dabei immer in demjenigen Verzeichnis, das auch
23200 das \SpecialChar LyX
23204 \begin_layout Standard
23207 Also, whenever external material is to be displayed, the name will be produced
23208 by the substitution mechanism, and most other commands in the template
23209 definition support substitution as well.
23212 \begin_layout Standard
23213 Hier finden Sie eine Liste dieser Makros:
23216 \begin_layout Description
23219 \begin_inset Flex Code
23222 \begin_layout Plain Layout
23225 $$AbsOrRelPathMaster
23230 The file path, absolute or relative to the master \SpecialChar LyX
23234 \begin_layout Description
23237 \begin_inset Flex Code
23240 \begin_layout Plain Layout
23243 $$AbsOrRelPathParent
23248 The file path, absolute or relative to the \SpecialChar LyX
23252 \begin_layout Description
23255 \begin_inset Flex Code
23258 \begin_layout Plain Layout
23266 The absolute file path.
23269 \begin_layout Description
23272 \begin_inset Flex Code
23275 \begin_layout Plain Layout
23283 The filename without path and without the extension.
23286 \begin_layout Description
23289 \begin_inset Flex Code
23292 \begin_layout Plain Layout
23296 \begin_inset Quotes eld
23300 \begin_inset Quotes erd
23308 This macro will expand to the contents of the file with the name
23309 \begin_inset Flex Code
23312 \begin_layout Plain Layout
23323 \begin_layout Description
23326 \begin_inset Flex Code
23329 \begin_layout Plain Layout
23337 The file extension (including the dot).
23340 \begin_layout Description
23343 \begin_inset Flex Code
23346 \begin_layout Plain Layout
23354 This will be the string
23355 \begin_inset Quotes eld
23359 \begin_inset Quotes erd
23362 if the file is in JPEG format, otherwise it will be the string
23363 \begin_inset Quotes eld
23367 \begin_inset Quotes erd
23371 This is useful to avoid uneeded conversions for output formats that support
23372 both PNG and JPEG fomats.
23373 The predefined RasterImage template uses this macro for the pdf\SpecialChar TeX
23378 \begin_layout Description
23381 \begin_inset Flex Code
23384 \begin_layout Plain Layout
23392 The filename of the file specified in the external material dialog.
23393 This is either an absolute name, or it is relative to the \SpecialChar LyX
23397 \begin_layout Description
23400 \begin_inset Flex Code
23403 \begin_layout Plain Layout
23412 \begin_inset Flex Code
23415 \begin_layout Plain Layout
23423 (absolute name or relative to the \SpecialChar LyX
23427 \begin_layout Description
23430 \begin_inset Flex Code
23433 \begin_layout Plain Layout
23441 The file path, relative to the master \SpecialChar LyX
23445 \begin_layout Description
23448 \begin_inset Flex Code
23451 \begin_layout Plain Layout
23459 The file path, relative to the \SpecialChar LyX
23463 \begin_layout Description
23466 \begin_inset Flex Code
23469 \begin_layout Plain Layout
23477 This macro will expand to the absolute path of the system directory.
23478 This is typically used to point to the various helper scripts that are
23479 bundled with \SpecialChar LyX
23483 \begin_layout Description
23486 \begin_inset Flex Code
23489 \begin_layout Plain Layout
23497 A name and full path to a temporary file which will be automatically deleted
23498 whenever the containing document is closed, or the external material insertion
23502 \begin_layout Standard
23505 All path macros contain a trailing directory separator, so you can construct
23507 \begin_inset space \thinspace{}
23511 \begin_inset space \space{}
23514 the absolute filename with
23515 \begin_inset Flex Code
23518 \begin_layout Plain Layout
23521 $$AbsPath$$Basename$$Extension
23529 \begin_layout Standard
23532 The macros above are substituted in all commands unless otherwise noted.
23534 \begin_inset Flex Code
23537 \begin_layout Plain Layout
23545 supports additionally the following substitutions if they are enabled by
23547 \begin_inset Flex Code
23550 \begin_layout Plain Layout
23559 \begin_inset Flex Code
23562 \begin_layout Plain Layout
23573 \begin_layout Description
23576 \begin_inset Flex Code
23579 \begin_layout Plain Layout
23587 The front part of the resize command.
23590 \begin_layout Description
23593 \begin_inset Flex Code
23596 \begin_layout Plain Layout
23604 The back part of the resize command.
23607 \begin_layout Description
23610 \begin_inset Flex Code
23613 \begin_layout Plain Layout
23621 The front part of the rotation command.
23624 \begin_layout Description
23627 \begin_inset Flex Code
23630 \begin_layout Plain Layout
23638 The back part of the rotation command.
23641 \begin_layout Standard
23644 The value string of the
23645 \begin_inset Flex Code
23648 \begin_layout Plain Layout
23656 command supports additionally the following substitutions if they are enabled
23658 \begin_inset Flex Code
23661 \begin_layout Plain Layout
23670 \begin_inset Flex Code
23673 \begin_layout Plain Layout
23684 \begin_layout Description
23687 \begin_inset Flex Code
23690 \begin_layout Plain Layout
23701 \begin_layout Description
23704 \begin_inset Flex Code
23707 \begin_layout Plain Layout
23718 \begin_layout Description
23721 \begin_inset Flex Code
23724 \begin_layout Plain Layout
23735 \begin_layout Description
23738 \begin_inset Flex Code
23741 \begin_layout Plain Layout
23749 The rotation option.
23752 \begin_layout Standard
23755 You may ask why there are so many path macros.
23756 There are mainly two reasons:
23759 \begin_layout Enumerate
23762 Relative and absolute file names should remain relative or absolute, respectivel
23764 Users may have reasons to prefer either form.
23765 Relative names are useful for portable documents that should work on different
23766 machines, for example.
23767 Absolute names may be required by some programs.
23770 \begin_layout Enumerate
23774 treats relative file names differently than \SpecialChar LyX
23775 and other programs in nested
23777 For \SpecialChar LyX
23778 , a relative file name is always relative to the document that contains
23780 For \SpecialChar LaTeX
23781 , it is always relative to the master document.
23782 These two definitions are identical if you have only one document, but
23783 differ if you have a master document that includes part documents.
23784 That means that relative filenames must be transformed when presented to
23787 Fortunately \SpecialChar LyX
23788 does this automatically for you if you choose the right macros.
23791 \begin_layout Standard
23794 So which path macro should be used in new template definitions? The rule
23798 \begin_layout Itemize
23802 \begin_inset Flex Code
23805 \begin_layout Plain Layout
23813 if an absolute path is required.
23816 \begin_layout Itemize
23820 \begin_inset Flex Code
23823 \begin_layout Plain Layout
23826 $$AbsOrRelPathMaster
23831 if the substituted string is some kind of \SpecialChar LaTeX
23835 \begin_layout Itemize
23839 \begin_inset Flex Code
23842 \begin_layout Plain Layout
23845 $$AbsOrRelPathParent
23850 in order to preserve the user's choice.
23853 \begin_layout Standard
23856 There are special cases where this rule does not work and e.
23857 \begin_inset space \thinspace{}
23861 \begin_inset space \space{}
23864 relative names are needed, but normally it will work just fine.
23865 One example for such a case is the command
23866 \begin_inset Flex Code
23869 \begin_layout Plain Layout
23872 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23877 in the XFig template above: We can't use the absolute name because the
23879 \begin_inset Flex Code
23882 \begin_layout Plain Layout
23890 files needs the relative name in order to rewrite the file content.
23893 \begin_layout Section
23894 Sicherheitshinweise
23895 \begin_inset CommandInset label
23897 name "sec:Sicherheitshinweise"
23904 \begin_layout Standard
23907 The external material feature interfaces with a lot of external programs
23908 and does so automatically, so we have to consider the security implications
23910 In particular, since you have the option of including your own filenames
23911 and/or parameter strings and those are expanded into a command, it seems
23912 that it would be possible to create a malicious document which executes
23913 arbitrary commands when a user views or prints the document.
23914 This is something we definitely want to avoid.
23917 \begin_layout Standard
23920 However, since the external program commands are specified in the template
23921 configuration file only, there are no security issues if \SpecialChar LyX
23922 is properly configure
23923 d with safe templates only.
23924 This is so because the external programs are invoked with the
23925 \begin_inset Flex Code
23928 \begin_layout Plain Layout
23936 -system call rather than the
23937 \begin_inset Flex Code
23940 \begin_layout Plain Layout
23948 system-call, so it's not possible to execute arbitrary commands from the
23949 filename or parameter section via the shell.
23952 \begin_layout Standard
23955 This also implies that you are restricted in what command strings you can
23956 use in the external material templates.
23957 In particular, pipes and redirection are not readily available.
23958 This has to be so if \SpecialChar LyX
23959 should remain safe.
23960 If you want to use some of the shell features, you should write a safe
23961 script to do this in a controlled manner, and then invoke the script from
23962 the command string.
23966 \begin_layout Standard
23969 It is possible to design a template that interacts directly with the shell,
23970 but since this would allow a malicious user to execute arbitrary commands
23971 by writing clever filenames and/or parameters, we generally recommend that
23972 you only use safe scripts that work with the
23973 \begin_inset Flex Code
23976 \begin_layout Plain Layout
23984 system call in a controlled manner.
23985 Of course, for use in a controlled environment, it can be tempting to just
23986 fall back to use ordinary shell scripts.
23987 If you do so, be aware that you
23991 provide an easily exploitable security hole in your system.
23992 Of course it stands to reason that such unsafe templates will never be
23993 included in the standard \SpecialChar LyX
23994 distribution, although we do encourage people
23995 to submit new templates in the open source tradition.
23996 But \SpecialChar LyX
23997 as shipped from the official distribution channels will never have
24001 \begin_layout Standard
24004 Including external material provides a lot of power, and you have to be
24005 careful not to introduce security hazards with this power.
24006 A subtle error in a single line in an innocent looking script can open
24007 the door to huge security problems.
24008 So if you do not fully understand the issues, we recommend that you consult
24009 a knowledgeable security professional or the \SpecialChar LyX
24010 development team if you have
24011 any questions about whether a given template is safe or not.
24012 And do this before you use it in an uncontrolled environment.
24015 \begin_layout Chapter
24017 Liste der Funktionen für die Verwendung in Layout-Dateien
24018 \begin_inset CommandInset label
24020 name "chap:Liste-von-Funktionen"
24027 \begin_layout Standard
24029 \begin_inset Tabular
24030 <lyxtabular version="3" rows="11" columns="8">
24031 <features tabularvalignment="middle">
24032 <column alignment="left" valignment="top">
24033 <column alignment="left" valignment="top">
24034 <column alignment="left" valignment="top">
24035 <column alignment="left" valignment="top">
24036 <column alignment="left" valignment="top">
24037 <column alignment="left" valignment="top">
24038 <column alignment="left" valignment="top">
24039 <column alignment="left" valignment="top">
24041 <cell alignment="left" valignment="top" usebox="none">
24044 \begin_layout Plain Layout
24050 <cell alignment="left" valignment="top" usebox="none">
24053 \begin_layout Plain Layout
24059 <cell alignment="left" valignment="top" usebox="none">
24062 \begin_layout Plain Layout
24068 <cell alignment="left" valignment="top" usebox="none">
24071 \begin_layout Plain Layout
24077 <cell alignment="center" valignment="top" usebox="none">
24080 \begin_layout Plain Layout
24086 <cell alignment="center" valignment="top" usebox="none">
24089 \begin_layout Plain Layout
24095 <cell alignment="center" valignment="top" usebox="none">
24098 \begin_layout Plain Layout
24104 <cell alignment="center" valignment="top" usebox="none">
24107 \begin_layout Plain Layout
24115 <cell alignment="left" valignment="top" usebox="none">
24118 \begin_layout Plain Layout
24124 <cell alignment="left" valignment="top" usebox="none">
24127 \begin_layout Plain Layout
24133 <cell alignment="left" valignment="top" usebox="none">
24136 \begin_layout Plain Layout
24142 <cell alignment="left" valignment="top" usebox="none">
24145 \begin_layout Plain Layout
24151 <cell alignment="center" valignment="top" usebox="none">
24154 \begin_layout Plain Layout
24160 <cell alignment="center" valignment="top" usebox="none">
24163 \begin_layout Plain Layout
24169 <cell alignment="center" valignment="top" usebox="none">
24172 \begin_layout Plain Layout
24178 <cell alignment="center" valignment="top" usebox="none">
24181 \begin_layout Plain Layout
24189 <cell alignment="left" valignment="top" usebox="none">
24192 \begin_layout Plain Layout
24198 <cell alignment="left" valignment="top" usebox="none">
24201 \begin_layout Plain Layout
24207 <cell alignment="left" valignment="top" usebox="none">
24210 \begin_layout Plain Layout
24216 <cell alignment="left" valignment="top" usebox="none">
24219 \begin_layout Plain Layout
24225 <cell alignment="center" valignment="top" usebox="none">
24228 \begin_layout Plain Layout
24234 <cell alignment="center" valignment="top" usebox="none">
24237 \begin_layout Plain Layout
24243 <cell alignment="center" valignment="top" usebox="none">
24246 \begin_layout Plain Layout
24252 <cell alignment="center" valignment="top" usebox="none">
24255 \begin_layout Plain Layout
24263 <cell alignment="left" valignment="top" usebox="none">
24266 \begin_layout Plain Layout
24272 <cell alignment="left" valignment="top" usebox="none">
24275 \begin_layout Plain Layout
24281 <cell alignment="left" valignment="top" usebox="none">
24284 \begin_layout Plain Layout
24290 <cell alignment="left" valignment="top" usebox="none">
24293 \begin_layout Plain Layout
24299 <cell alignment="center" valignment="top" usebox="none">
24302 \begin_layout Plain Layout
24308 <cell alignment="center" valignment="top" usebox="none">
24311 \begin_layout Plain Layout
24317 <cell alignment="center" valignment="top" usebox="none">
24320 \begin_layout Plain Layout
24326 <cell alignment="center" valignment="top" usebox="none">
24329 \begin_layout Plain Layout
24337 <cell alignment="left" valignment="top" usebox="none">
24340 \begin_layout Plain Layout
24346 <cell alignment="left" valignment="top" usebox="none">
24349 \begin_layout Plain Layout
24355 <cell alignment="left" valignment="top" usebox="none">
24358 \begin_layout Plain Layout
24364 <cell alignment="left" valignment="top" usebox="none">
24367 \begin_layout Plain Layout
24373 <cell alignment="center" valignment="top" usebox="none">
24376 \begin_layout Plain Layout
24382 <cell alignment="center" valignment="top" usebox="none">
24385 \begin_layout Plain Layout
24391 <cell alignment="center" valignment="top" usebox="none">
24394 \begin_layout Plain Layout
24400 <cell alignment="center" valignment="top" usebox="none">
24403 \begin_layout Plain Layout
24411 <cell alignment="left" valignment="top" usebox="none">
24414 \begin_layout Plain Layout
24420 <cell alignment="left" valignment="top" usebox="none">
24423 \begin_layout Plain Layout
24429 <cell alignment="left" valignment="top" usebox="none">
24432 \begin_layout Plain Layout
24438 <cell alignment="left" valignment="top" usebox="none">
24441 \begin_layout Plain Layout
24447 <cell alignment="center" valignment="top" usebox="none">
24450 \begin_layout Plain Layout
24456 <cell alignment="center" valignment="top" usebox="none">
24459 \begin_layout Plain Layout
24465 <cell alignment="center" valignment="top" usebox="none">
24468 \begin_layout Plain Layout
24474 <cell alignment="center" valignment="top" usebox="none">
24477 \begin_layout Plain Layout
24485 <cell alignment="left" valignment="top" usebox="none">
24488 \begin_layout Plain Layout
24494 <cell alignment="left" valignment="top" usebox="none">
24497 \begin_layout Plain Layout
24503 <cell alignment="left" valignment="top" usebox="none">
24506 \begin_layout Plain Layout
24512 <cell alignment="left" valignment="top" usebox="none">
24515 \begin_layout Plain Layout
24521 <cell alignment="center" valignment="top" usebox="none">
24524 \begin_layout Plain Layout
24530 <cell alignment="center" valignment="top" usebox="none">
24533 \begin_layout Plain Layout
24539 <cell alignment="center" valignment="top" usebox="none">
24542 \begin_layout Plain Layout
24548 <cell alignment="center" valignment="top" usebox="none">
24551 \begin_layout Plain Layout
24559 <cell alignment="left" valignment="top" usebox="none">
24562 \begin_layout Plain Layout
24568 <cell alignment="left" valignment="top" usebox="none">
24571 \begin_layout Plain Layout
24577 <cell alignment="left" valignment="top" usebox="none">
24580 \begin_layout Plain Layout
24586 <cell alignment="left" valignment="top" usebox="none">
24589 \begin_layout Plain Layout
24595 <cell alignment="center" valignment="top" usebox="none">
24598 \begin_layout Plain Layout
24604 <cell alignment="center" valignment="top" usebox="none">
24607 \begin_layout Plain Layout
24613 <cell alignment="center" valignment="top" usebox="none">
24616 \begin_layout Plain Layout
24622 <cell alignment="center" valignment="top" usebox="none">
24625 \begin_layout Plain Layout
24633 <cell alignment="left" valignment="top" usebox="none">
24636 \begin_layout Plain Layout
24642 <cell alignment="left" valignment="top" usebox="none">
24645 \begin_layout Plain Layout
24651 <cell alignment="left" valignment="top" usebox="none">
24654 \begin_layout Plain Layout
24660 <cell alignment="left" valignment="top" usebox="none">
24663 \begin_layout Plain Layout
24669 <cell alignment="center" valignment="top" usebox="none">
24672 \begin_layout Plain Layout
24678 <cell alignment="center" valignment="top" usebox="none">
24681 \begin_layout Plain Layout
24687 <cell alignment="center" valignment="top" usebox="none">
24690 \begin_layout Plain Layout
24696 <cell alignment="center" valignment="top" usebox="none">
24699 \begin_layout Plain Layout
24707 <cell alignment="left" valignment="top" usebox="none">
24710 \begin_layout Plain Layout
24716 <cell alignment="left" valignment="top" usebox="none">
24719 \begin_layout Plain Layout
24725 <cell alignment="left" valignment="top" usebox="none">
24728 \begin_layout Plain Layout
24734 <cell alignment="left" valignment="top" usebox="none">
24737 \begin_layout Plain Layout
24743 <cell alignment="center" valignment="top" usebox="none">
24746 \begin_layout Plain Layout
24752 <cell alignment="center" valignment="top" usebox="none">
24755 \begin_layout Plain Layout
24761 <cell alignment="center" valignment="top" usebox="none">
24764 \begin_layout Plain Layout
24770 <cell alignment="center" valignment="top" usebox="none">
24773 \begin_layout Plain Layout
24781 <cell alignment="center" valignment="top" usebox="none">
24784 \begin_layout Plain Layout
24790 <cell alignment="center" valignment="top" usebox="none">
24793 \begin_layout Plain Layout
24799 <cell alignment="center" valignment="top" usebox="none">
24802 \begin_layout Plain Layout
24808 <cell alignment="center" valignment="top" usebox="none">
24811 \begin_layout Plain Layout
24817 <cell alignment="center" valignment="top" usebox="none">
24820 \begin_layout Plain Layout
24826 <cell alignment="center" valignment="top" usebox="none">
24829 \begin_layout Plain Layout
24835 <cell alignment="center" valignment="top" usebox="none">
24838 \begin_layout Plain Layout
24844 <cell alignment="center" valignment="top" usebox="none">
24847 \begin_layout Plain Layout
24861 \begin_layout Chapter
24862 Namen von verfügbaren Farben für die Verwendung in Layout-Dateien
24863 \begin_inset CommandInset label
24865 name "chap:Namen-von-Farben"
24872 \begin_layout Standard
24873 Die hier aufgelisteten Farben sind die Standardfarben und die, die man in
24874 den \SpecialChar LyX
24875 -Voreinstellungen festlegen kann.
24878 \begin_layout Description
24883 Keine spezielle Farbe – entfernt Farbe oder setzt Farbe auf Voreinstellung
24886 \begin_layout Description
24892 \begin_layout Description
24898 \begin_layout Description
24904 \begin_layout Description
24910 \begin_layout Description
24916 \begin_layout Description
24922 \begin_layout Description
24928 \begin_layout Description
24934 \begin_layout Description
24937 added_space Added space marker color
24940 \begin_layout Description
24943 addedtext Added text color
24946 \begin_layout Description
24949 appendix Appendix marker color
24952 \begin_layout Description
24960 \begin_layout Description
24963 bottomarea Bottom area color
24966 \begin_layout Description
24969 branchlabel Label color for branches
24972 \begin_layout Description
24975 buttonbg Color used for bottom background
24978 \begin_layout Description
24981 buttonhoverbg Color used for button background under focus
24984 \begin_layout Description
24987 buttonframe Color for inset button frames
24990 \begin_layout Description
24993 changebar Changebar color
24996 \begin_layout Description
25001 Geänderter Text des 1.
25002 \begin_inset space \space{}
25008 \begin_layout Description
25013 Geänderter Text des 2.
25014 \begin_inset space \space{}
25020 \begin_layout Description
25025 Geänderter Text des 3.
25026 \begin_inset space \space{}
25032 \begin_layout Description
25037 Geänderter Text des 4.
25038 \begin_inset space \space{}
25044 \begin_layout Description
25049 Geänderter Text des 5.
25050 \begin_inset space \space{}
25056 \begin_layout Description
25059 collapsable_inset_frame Collapsable insets framecolor
25062 \begin_layout Description
25065 collapsable_inset_text Collapsable insets text color
25068 \begin_layout Description
25071 command Text color for command insets
25074 \begin_layout Description
25077 commandbg Background color for command insets
25080 \begin_layout Description
25083 commandframe Frame color for command insets
25086 \begin_layout Description
25089 comment color for comments
25092 \begin_layout Description
25095 commentbg Background color of comments
25098 \begin_layout Description
25106 \begin_layout Description
25109 deletedtext Deleted text color
25112 \begin_layout Description
25115 deletedtextmodifier Deleted text modifying color
25118 \begin_layout Description
25121 depthbar Color for the depth bars in the margin
25124 \begin_layout Description
25127 eolmarker End of line marker color
25130 \begin_layout Description
25133 error Color of the \SpecialChar LaTeX
25137 \begin_layout Description
25140 footlabel Label color for footnotes
25143 \begin_layout Description
25146 graphicsbg Graphics inset background color
25149 \begin_layout Description
25152 greyedout Label color for greyedout insets
25155 \begin_layout Description
25158 greyedoutbg Background color of greyedout inset
25161 \begin_layout Description
25164 greyedouttext Color for greyedout inset text
25167 \begin_layout Description
25170 indexlabel Label color for index insets
25173 \begin_layout Description
25176 ignore The color is ignored
25179 \begin_layout Description
25182 inherit The color is inherited
25185 \begin_layout Description
25188 inlinecompletion Inline completion color
25191 \begin_layout Description
25194 insetbg Inset marker background color
25197 \begin_layout Description
25200 insetframe Inset marker frame color
25203 \begin_layout Description
25206 language Color for marking foreign language words
25209 \begin_layout Description
25212 latex Text color in \SpecialChar LaTeX
25216 \begin_layout Description
25219 listingsbg Background color of listings inset
25222 \begin_layout Description
25225 marginlabel Label color for margin notes
25228 \begin_layout Description
25231 math Math inset text color
25234 \begin_layout Description
25237 mathbg Math inset background color
25240 \begin_layout Description
25243 mathcorners Math inset frame color not under focus
25246 \begin_layout Description
25249 mathframe Math inset frame color under focus
25252 \begin_layout Description
25255 mathline Math line color
25258 \begin_layout Description
25261 mathmacrobg Macro math inset background color
25264 \begin_layout Description
25267 mathmacroblend Macro math blended color
25270 \begin_layout Description
25273 mathmacroframe Macro math frame color
25276 \begin_layout Description
25279 mathmacrohoverbg Macro math inset background color hovered
25282 \begin_layout Description
25285 mathmacrolabel Macro math label color
25288 \begin_layout Description
25291 mathmacronewarg Macro template color for new parameters
25294 \begin_layout Description
25297 mathmacrooldarg Macro template color for old parameters
25300 \begin_layout Description
25303 newpage New page color
25306 \begin_layout Description
25309 nonunique_inlinecompletion Inline completion color for the non-unique part
25312 \begin_layout Description
25315 notebg Background color of notes
25318 \begin_layout Description
25321 notelabel Label color for notes
25324 \begin_layout Description
25327 pagebreak Page break/line break color
25330 \begin_layout Description
25333 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25336 \begin_layout Description
25339 phantomtext Text color for phantom insets
25342 \begin_layout Description
25345 preview The color used for previews
25348 \begin_layout Description
25351 previewframe Preview frame color
25354 \begin_layout Description
25357 regexpframe Color for regexp frame
25360 \begin_layout Description
25365 Hintergrundfarbe des ausgewählten Texts
25368 \begin_layout Description
25373 Vordergrundfarbe des ausgewählten Texts
25376 \begin_layout Description
25379 shadedbg Background color of shaded box
25382 \begin_layout Description
25385 special Special chars text color
25388 \begin_layout Description
25391 tabularline Table line color
25394 \begin_layout Description
25397 tabularonoffline Table line color
25400 \begin_layout Description
25403 urllabel Label color for URL insets
25406 \begin_layout Description
25409 urltext Color for URL inset text