1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
7 % Präambel nicht verändern!!!
9 % Die Präambel stellt sicher, dass das Benutzerhandbuch korrekt
10 % in die Formate pdf, ps und dvi exportiert werden kann.
11 % Wenn Probleme beim Exportieren auftreten, können Sie sich
12 % an das LyX-Dokumentationsteam wenden.
13 % EMail: lyx-docs@lists.lyx.org
15 % wenn pdflatex benutzt wird:
19 % Schrift für hübschere PDF-Ansichten
20 \IfFileExists{lmodern.sty}
21 {\usepackage{lmodern}}{}
23 \fi % Ende von: wenn pdflatex benutzt wird
25 % Setzt den Link für Spruenge zu Gleitabbildungen
26 % auf den Anfang des Gelitobjekts und nicht aufs Ende
27 \usepackage[figure]{hypcap}
29 % Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
30 % ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
31 \let\myTOC\tableofcontents
32 \renewcommand\tableofcontents{%
34 \pdfbookmark[1]{\contentsname}{}
38 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
43 \maintain_unincluded_children false
46 InsetLayout CharStyle:MenuItem
55 \newcommand*{\menuitem}[1]{{\sffamily #1}}
58 # In case we need to do with sans...
59 #InsetLayout CharStyle:Code
64 #\renewcommand{\code}[1]{{\sffamily #1}}
69 \language_package default
74 \font_typewriter default
75 \font_default_family default
76 \use_non_tex_fonts false
83 \default_output_format default
85 \bibtex_command default
86 \index_command default
90 \pdf_title "LyX-Anpassung: Möglichkeiten für fortgeschrittene Benutzer"
91 \pdf_author "LyX Team, deutsche Übersetzung: Peter Sütterlin, Leif Albers und Hartmut Haase"
92 \pdf_subject "LyX-Dokumentation, Anpassung"
93 \pdf_keywords "LyX, Dokumentation"
95 \pdf_bookmarksnumbered true
96 \pdf_bookmarksopen true
97 \pdf_bookmarksopenlevel 1
102 \pdf_pdfusetitle false
103 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
113 \paperorientation portrait
121 \index Stichwortverzeichnis
127 \paragraph_separation indent
128 \paragraph_indentation default
129 \quotes_language german
132 \paperpagestyle headings
133 \tracking_changes false
134 \output_changes false
137 \html_be_strict false
144 \begin_inset Newline newline
147 Möglichkeiten für fortgeschrittene Benutzer
155 \begin_layout Plain Layout
182 \begin_inset Newline newline
186 \begin_inset Newline newline
192 \begin_layout Standard
193 \begin_inset CommandInset toc
194 LatexCommand tableofcontents
201 \begin_layout Chapter
205 \begin_layout Standard
206 In diesem Teil der Dokumentation wird beschrieben, welche Möglichkeiten
207 LyX bietet, um es den eigenen Wünschen anzupassen.
208 Es werden Dinge wie Tastaturkürzel, Vorschau am Bildschirm, Optionen zum
209 Drucken, das Senden von Befehlen an LyX durch den LyX-Server, Internationalisie
210 rung, Installation neuer LaTeX-Klassen und LyX-Layouts usw.
211 \begin_inset space \space{}
215 Es kann hier nicht alles beschrieben werden, das an LyX individuell eingestellt
216 und verändert werden kann --- die Entwickler fügen Neuerungen schneller
217 ein, als wir sie dokumentieren können --- doch werden die grundlegenden
218 Fähigkeiten von LyX dokumentiert sowie für einige der etwas obskuren Hinweise
222 \begin_layout Standard
223 Mit der Version 1.1.6 von LyX wurde eine neue Schnittstelle zu den konfigurierbare
224 n Eigenschaften eingeführt, die Sie über den Menüpunkt
226 Werkzeuge\SpecialChar \menuseparator
229 \SpecialChar \ldots{}
231 Diese macht die weiter unten aufgeführten Erläuterungen zu den Konfigurationsda
232 teien von LyX nicht überflüssig, aber es vereinfacht doch den Prozess, LyX
237 Bedürfnisse anzupassen.
240 \begin_layout Chapter
241 Die Konfigurationsdateien von LyX
244 \begin_layout Standard
245 Dieses Kapitel soll Ihnen dabei helfen, sich mit den Konfigurationsdateien
246 von LyX vertraut zu machen.
247 Bevor Sie jedoch weiterlesen, sollten Sie herausfinden, wo sich das Systemverze
248 ichnis von LyX auf Ihrem Rechner befindet.
249 Sie erfahren dies über den Menüpunkt
251 Hilfe\SpecialChar \menuseparator
260 \begin_layout Plain Layout
270 In diesem Verzeichnis speichert LyX alle systemweiten Konfigurationsdateien,
271 wir werden es im weiteren
277 \begin_layout Plain Layout
289 \begin_layout Section
296 \begin_layout Plain Layout
308 \begin_layout Standard
315 \begin_layout Plain Layout
324 sowie seine Unterverzeichnisse enthalten eine Anzahl Dateien, mit denen
325 das Verhalten von LyX beeinflusst werden kann.
326 Diese Dateien können direkt von LyX aus über den Dialog
328 Werkzeuge\SpecialChar \menuseparator
331 \SpecialChar \ldots{}
332 gelesen und geändert werden.
333 Fast alles, was Sie möglicherweise an LyX ändern wollen, können Sie hier
335 Jedoch können auch viele interne Dinge in LyX angepasst werden, indem man
336 diverse andere Dateien in
342 \begin_layout Plain Layout
352 Sie sind in verschiedene Kategorien unterteilt, die in den folgenden Unterabsch
353 nitten behandelt werden.
356 \begin_layout Subsection
357 Automatisch erzeugte Dateien
360 \begin_layout Standard
361 Diese Dateien werden automatisch bei der Konfiguration von LyX erzeugt.
362 Sie enthalten verschiedene Standardwerte, die durch Untersuchung des Systems
364 Normalerweise sollte man sie nicht verändern, da sie jederzeit von LyX
365 überschrieben werden können.
368 \begin_layout Labeling
369 \labelwidthstring 00.00.0000
376 enthält Standardwerte für diverse Befehle.
377 Einstellungen, die Ihnen nicht zusagen, können einfach über
379 Werkzeuge\SpecialChar \menuseparator
382 \SpecialChar \ldots{}
386 \begin_layout Labeling
387 \labelwidthstring 00.00.0000
394 enthält eine Auf\SpecialChar \textcompwordmark{}
395 listung aller LaTeX-Pakete, die von LyX erkannt wurden.
396 Derzeit wird diese Liste von LyX selber nicht benutzt, jedoch ist die Informati
397 on, zusammen mit einigem anderen, über den Menüpunkt
399 Hilfe\SpecialChar \menuseparator
406 \begin_layout Plain Layout
416 \begin_inset space \space{}
424 \begin_layout Labeling
425 \labelwidthstring 00.00.0000
432 ist eine Liste mit den im Verzeichnis
436 gefundenen Textklassen, zusammen mit den entsprechenden LaTeX-Dokumentenklassen
437 und einer kurzen Beschreibung.
440 \begin_layout Labeling
441 \labelwidthstring 00.00.0000
448 \begin_layout Plain Layout
457 wird bei der Konfiguration aus der Datei
463 \begin_layout Plain Layout
471 \begin_inset Newline linebreak
477 Jeder Eintrag der Form
489 ersetzt, je nachdem, ob das Paket
496 \begin_layout Subsection
500 \begin_layout Labeling
501 \labelwidthstring 00.00.0000
508 Dieses Verzeichnis enthält Dateien mit der Endung
513 In ihnen werden die Tastenkombinationen festgelegt, mit denen Sie Menüs
514 öffnen und Bearbeitungsoperationen direkt starten können.
519 mit einer an die internationalisierte Version von LyX angepassten Tastenbelegun
520 g existiert, wird diese bevorzugt geladen.
521 Näheres dazu finden Sie in Kapitel
522 \begin_inset space \space{}
526 \begin_inset CommandInset ref
528 reference "cha:Internationales-LyX"
535 \begin_layout Labeling
536 \labelwidthstring 00.00.0000
543 Hier sind einige PostScript-Bilder gespeichert, die Sie in Ihre Dokumente
548 \begin_layout Labeling
549 \labelwidthstring 00.00.0000
556 Enthält die Dateien der LyX-Dokumentation (einschließlich der, die Sie
558 Eine kleine Ausnahmestellung hat die bereits beschriebene Datei
564 \begin_layout Plain Layout
574 Auch hier wird eine übersetzte Version mit dem Vorsatz
578 vor dem Dateinamen zuerst gesucht und, falls vorhanden, geladen.
584 \begin_inset CommandInset ref
586 reference "cha:Internationales-LyX"
593 \begin_layout Labeling
594 \labelwidthstring 00.00.0000
601 Enthält Beispieldateien, die erläutern, wie Sie die unterschiedlichen Möglichke
602 iten von LyX nutzen können.
603 Verwenden Sie die Schaltfläche
607 im Dateiauswahlmenü, um in dieses Verzeichnis zu gelangen.
610 \begin_layout Labeling
611 \labelwidthstring 00.00.0000
616 Enthält Bilddateien, die von der Dialogbox
626 \SpecialChar \menuseparator
632 Außerdem finden Sie hier die unterschiedlichen Icons für die Werkzeugleiste
633 und das Bild für den Startbildschirm.
636 \begin_layout Labeling
637 \labelwidthstring 00.00.0000
644 Hier sind die Definitionsdateien für die Tastaturbelegung gespeichert.
645 Näheres dazu finden Sie im Abschnitt
646 \begin_inset space \space{}
650 \begin_inset CommandInset ref
652 reference "sec:Internationale-Tastaturtabellen"
659 \begin_layout Labeling
660 \labelwidthstring 00.00.0000
667 Hier werden die in Abschnitt
668 \begin_inset space \space{}
672 \begin_inset CommandInset ref
674 reference "cha:Installieren-neuer-Textklassen"
678 beschriebenen Layoutdateien für die unterschiedlichen Dokumentenklassen
682 \begin_layout Labeling
683 \labelwidthstring 00.00.0000
688 / Enthält Dateien, die für die Konvertierung zwischen verschiedenen LyX
692 \begin_layout Plain Layout
699 Versionen benötigt werden.
702 \begin_layout Labeling
703 \labelwidthstring 00.00.0000
711 \begin_layout Labeling
712 \labelwidthstring 00.00.0000
717 / Enthält die Vorlagendateien, die Ihnen bei
719 Datei\SpecialChar \menuseparator
721 \begin_inset space \space{}
725 \begin_inset space \space{}
730 präsentiert werden, siehe Abschnitt
735 \begin_inset CommandInset ref
737 reference "sub:Vorlagen-erstellen"
744 \begin_layout Labeling
745 \labelwidthstring 00.00.0000
750 Einige LyX-spezifische LaTeX-Textklassen- (
755 \begin_inset Newline linebreak
765 \begin_layout Labeling
766 \labelwidthstring 00.00.0000
771 Hier finden Sie Dateien mit der Endung
775 , die die Benutzerschnitt\SpecialChar \-
777 le von LyX festlegen, also welche Einträge
778 in welchen Menüs sind, und wie die Werkzeugleiste zusammengesetzt ist.
781 \begin_layout Subsection
782 Dateien, die Sie nicht verändern sollten
785 \begin_layout Standard
786 Die folgenden Dateien werden intern von LyX verwendet.
787 Sie sollten im Normalfall nur von den Entwicklern editiert werden.
790 \begin_layout Labeling
791 \labelwidthstring 00.00.0000
798 Diese Datei enthält eine Liste der Entwickler.
799 Ihr Inhalt wird über die Menüauswahl
801 Hilfe\SpecialChar \menuseparator
803 \begin_inset space \space{}
812 \begin_layout Plain Layout
826 \begin_layout Labeling
827 \labelwidthstring 00.00.0000
834 ist ein LaTeX-Skript, das bei der Konfiguration verwendet wird.
835 Starten Sie es nie direkt.
838 \begin_layout Labeling
839 \labelwidthstring 00.00.0000
846 ist das eigentliche Skript, das zur Neukonfiguration von LyX verwendet
848 Es erzeugt die Konfigurationsdateien in dem Verzeichnis, von dem aus es
852 \begin_layout Subsection
856 \begin_layout Labeling
857 \labelwidthstring 00.00.0000
862 Die hier enthaltene Tabelle beschreibt, wie die unterschiedlichen Zeichenkodier
863 ungen in Unicode dargestellt werden.
866 \begin_layout Labeling
867 \labelwidthstring 00.00.0000
872 Diese Datei enthält die Vorlagen für das neue
875 \begin_inset space \space{}
882 \begin_inset space \space{}
886 \begin_inset CommandInset ref
888 reference "cha:Externes-Material-einfügen"
895 \begin_layout Labeling
896 \labelwidthstring 00.00.0000
901 Eine Liste mit allen derzeit von LyX unterstützten Sprachen.
904 \begin_layout Labeling
905 \labelwidthstring 00.00.0000
913 \begin_layout Section
914 Das lokale Konfigurationsverzeichnis
917 \begin_layout Standard
918 Eventuell benutzen Sie LyX als normaler Benutzer und wollen dennoch einige
919 Einstellungen der Konfiguration ändern.
920 Zu diesem Zweck gibt es ein benutzereigenes Verzeichnis
924 , in dem Ihre gesamte persönliche Konfiguration gespeichert wird.
925 Der Name dieses Verzeichnisses wird als
931 Hilfe\SpecialChar \menuseparator
933 \begin_inset space \space{}
940 \begin_layout Plain Layout
950 Dieses Verzeichnis wird als Spiegelung des systemweiten Verzeichnisses
952 Das bedeutet, dass jede Datei, die Sie dort speichern, die entsprechende
953 Datei im Systemverzeichnis ersetzt.
954 Jede der im vorigen Abschnitt beschriebenen Konfigurationsdateien kann
955 sich entweder im Systemverzeichnis
961 \begin_layout Plain Layout
970 oder aber in Ihrem privaten Verzeichnis befinden.
971 Im ersten Fall gelten die Einstellungen für alle Benutzer, im zweiten Fall
975 \begin_layout Standard
976 Dies lässt sich an einigen Beispielen leichter erklären:
979 \begin_layout Itemize
980 Um eine LyX Version älter als 1.1.6 umzukonfigurieren, musste der Benutzer
982 \begin_inset Flex URL
985 \begin_layout Plain Layout
993 \begin_inset Note Note
996 \begin_layout Plain Layout
997 HHa: wie bereits im Benutzerhandbuch erwähnt, ist URL eine einfache Möglichkeit,
998 um Schreibmaschinenformat umzubrechen.
1007 kopieren und diese dann manuell editieren.
1008 Neuere Versionen von LyX lesen diese Datei zwar noch, wenn sie in
1012 gefunden wird, aber alle Änderungen, die über den neuen Dialog
1014 Werkzeuge\SpecialChar \menuseparator
1017 \SpecialChar \ldots{}
1018 gemacht werden, werden in der Datei
1023 Danach (das heißt wenn
1027 gefunden wird) wird die alte
1031 nicht mehr eingelesen und kann gelöscht werden.
1035 \begin_layout Itemize
1036 Wenn Sie mit dem Menüpunkt
1038 Werkzeuge\SpecialChar \menuseparator
1040 \begin_inset space \space{}
1045 eine Neukonfiguration von LyX durchführen, werden die dabei erzeugten Dateien
1046 in Ihrem privaten Konfigurationsverzeichnis
1051 Das bedeutet, dass ab sofort etwaige neue Dokumentenklassen, die Sie in
1056 gespeichert haben, im Feld
1064 \SpecialChar \menuseparator
1069 \SpecialChar \ldots{}
1073 \begin_layout Itemize
1074 Falls Sie irgendwelche Dateien für neue LaTeX-Dokumentenklassen in einem
1075 Verzeichnis installiert haben, das LaTeX über die Umgebungsvariable
1081 findet, können auch diese in LyX verwendet werden.
1085 \begin_layout Plain Layout
1086 vorausgesetzt, es gibt auch eine
1098 \begin_layout Itemize
1099 Wenn Sie sich von einem LyX-FTP-Server eine aktuellere Version (oder zum
1100 Beispiel diese deutsche Version) der Dokumentation besorgt haben, sie aber
1105 installieren können, da Sie keine Systemadministratorrechte haben, können
1106 Sie diese Dateien einfach nach
1110 kopieren, und sie werden automatisch über das
1117 \begin_layout Section
1118 LyX mit mehreren Konfigurationen
1121 \begin_layout Standard
1122 Die hochgradige Konfigurierbarkeit von LyX durch das lokale Verzeichnis
1123 wird für diejenigen nicht ausreichend sein, die parallel mehrere unterschiedlic
1124 he Konfigurationen verwenden wollen, zum Beispiel unterschiedliche Tastaturkürze
1125 l und/oder Druckerkonfigurationen.
1126 Sie können dies durch das Anlegen von mehreren Konfigurationsverzeichnissen
1127 erreichen und LyX jeweils beim Start mitteilen, welches davon verwendet
1131 \begin_layout Standard
1132 Indem Sie LyX mit der Option
1142 starten, erreichen Sie, dass die Konfiguration aus diesem Verzeichnis anstelle
1143 des Standardverzeichnisses gelesen wird (das Standardverzeichnis ermitteln
1144 Sie, indem Sie LyX ohne diese Option starten).
1145 Falls das so angegebene Verzeichnis noch nicht existiert, fragt LyX genau
1146 wie beim ersten Start nach, ob es angelegt werden soll.
1147 Die Konfiguration in diesem Verzeichnis können Sie dann wie im Normalfall
1148 in LyX verändern, die Einstellungen im Standardverzeichnis werden aber
1149 nicht verändert -- beide Verzeichnisse sind völlig unabhängig.
1150 Anstelle der Kommandozeilenoption können Sie übrigens auch die Umgebungsvariabl
1155 auf das zu verwendende Verzeichnis setzen.
1158 \begin_layout Standard
1159 Unterschiedliche Konfigurationsverzeichnisse bedeuten aber auch zusätzlichen
1160 Aufwand: Wenn Sie etwa eine neue Layoutdatei in
1164 hinzufügen und diese für alle Konfigurationen sichtbar sein soll, müssen
1169 Verzeichnissen separat hinzufügen.
1170 Sie können das jedoch mit einem Trick umgehen: Nachdem LyX das neue UserDir
1171 angelegt hat, sind praktisch alle Unterverzeichnisse (siehe oben) leer.
1172 Sie können also all diese Verzeichnis durch einen symbolischen Link auf
1173 das entsprechende Verzeichnis im originalen
1178 Lediglich mit dem Verzeichnis
1182 müssen Sie vorsichtig sein, denn dort wird eine Datei durch das Konfigurationss
1185 Werkzeuge\SpecialChar \menuseparator
1187 \begin_inset space \space{}
1192 ) abgelegt, die konfigurationsabhängig ist.
1195 \begin_layout Chapter
1196 Der Dialog Werkzeuge
1198 \SpecialChar \menuseparator
1206 \begin_layout Section
1208 \begin_inset CommandInset label
1217 \begin_layout Standard
1218 Als ersten Schritt müssen Sie Ihre Dateiformate definieren, wenn das nicht
1219 bereits passiert ist.
1222 Werkzeuge\SpecialChar \menuseparator
1223 Einstellungen\SpecialChar \menuseparator
1224 Datei-Handhabung\SpecialChar \menuseparator
1236 -Feld enthält den Namen, unter dem das Format im GUI identifiziert wird.
1240 \begin_inset space \space{}
1245 steht der Name, mit dem das Format intern identifiziert wird.
1251 Diese drei Felder sind erforderlich.
1257 Zum Beispiel bedeutet
1263 Ansicht\SpecialChar \menuseparator
1269 \begin_layout Standard
1272 Bearbeitungsprogramm
1279 Am Beispiel von JPEG-Dateien steht bei mir in beiden Feldern
1284 Was bei Ihnen steht, hängt von der Software-Ausstattung Ihres PCs ab.
1285 Zum Definieren des Befehls können auch die vier Variablen aus dem nächsten
1286 Abschnitt benutzt werden.
1289 Bearbeitungsprogramm
1291 wird aufgerufen, wenn Sie nach einem Rechtsklick auf ein Bild
1294 \begin_inset space \space{}
1298 \begin_inset space \space{}
1307 \begin_layout Standard
1312 angekreuzt ist, weiß LyX, dass das Format für den Dokumentexport geeignet
1314 Wenn dann auch noch ein geeigneter Konverter existiert (siehe Abschnitt
1315 \begin_inset space ~
1319 \begin_inset CommandInset ref
1321 reference "Konverter"
1325 ), wird das Format unter
1327 Datei\SpecialChar \menuseparator
1335 -Menü erscheinen, wenn ein
1340 Reine Grafikformate wie
1344 sollten diese Option nicht benutzen, dagegen aber Formate, die sowohl Vektorgra
1345 fiken als auch Dokumente repräsentieren wie
1352 \begin_layout Standard
1357 sagt LyX, dass ein Format Vektorgrafiken ent\SpecialChar \-
1359 Diese Information wird dazu benutzt, um ein Zielformat für eingefügte Grafiken
1364 -Export zu bestimmen.
1365 Eingefügte Grafiken müs\SpecialChar \-
1378 konvertiert werden, weil
1382 keine anderen Grafikformate handhaben kann.
1383 Hat eine eingefügte Grafik bereits eines der Formate, wird sie nach pdf
1388 angekreuzt ist, sonst nach
1395 \begin_layout Section
1399 \begin_layout Standard
1400 Weil alle Konvertierungen im temporären Verzeichnis von LyX stattfinden,
1401 muss eine Datei manchmal geändert werden bevor sie ins temporäre Verzeichnis
1402 kopiert wird, damit die Konvertierung durchgeführt werden kann.
1406 \begin_layout Plain Layout
1407 Wenn die Datei beispielsweise auf andere Dateien mit relativen Pfaden verweist
1408 -- vielleicht Bilder -- und diese Pfade beim Kopieren ungültig werden.
1413 Das macht ein Kopierer: er kopiert eine Datei ins (oder vom) temporären
1414 Verzeichnis und ändert sie dabei.
1417 \begin_layout Standard
1418 Die Definitionen der Kopierer können vier Variablen benutzen:
1421 \begin_layout Labeling
1422 \labelwidthstring 00.00.0000
1427 ist das Systemverzeichnis von LyX (zum Beispiel
1430 \begin_inset Newline linebreak
1438 \begin_layout Labeling
1439 \labelwidthstring 00.00.0000
1444 ist die Eingabedatei.
1447 \begin_layout Labeling
1448 \labelwidthstring 00.00.0000
1453 ist die Ausgabedatei.
1456 \begin_layout Labeling
1457 \labelwidthstring 00.00.0000
1467 Dies sollte der Dateiname sein, den LaTeX im
1474 Er ist nur dann relevant, wenn die expor\SpecialChar \-
1476 ten Dateien für den Befehl
1480 \begin_layout Standard
1481 Kopierer können benutzt werden, um
1485 alles mit Ausgabedateien zu machen.
1486 Wenn Sie zum Beispiel
1490 -Dateien in ein spezielles Verzeichnis kopieren wollen, können Sie ein Shell-Skr
1491 ipt wie folgt schreiben:
1494 \begin_layout LyX-Code
1498 \begin_layout LyX-Code
1502 \begin_layout LyX-Code
1503 TOFILE=`basename $2`
1506 \begin_layout LyX-Code
1507 cp $FROMFILE /home/you/pdf/$TOFILE
1510 \begin_layout Standard
1511 Speichern Sie das Skript ausführbar in Ihrem lokalen LyX-Verzeichnis --
1514 /home/you/lyx/scripts/pdfkopierer.sh
1519 Werkzeuge\SpecialChar \menuseparator
1523 gen\SpecialChar \menuseparator
1524 Datei-Handhabung\SpecialChar \menuseparator
1530 \begin_inset space \space{}
1535 und tragen im Kopierer-Feld
1537 pdfkopierer.sh $$i $$o
1542 \begin_layout Standard
1543 Kopierer werden von LyX in vielen eigenen Konvertierungen benutzt.
1544 Wenn auf dem PC geeignete Programme installiert sind, wird LyX automatisch
1552 \begin_inset space \space{}
1556 \begin_inset space \space{}
1562 Wenn diese Formate exportiert werden,
1566 der Kopierer, dass nicht nur die Haupt-HTML-Datei, sondern auch verschiedene
1567 zugehörige Dateien (Stildateien, Bilder usw.) kopiert werden müssen.
1568 All diese Dateien werden in ein Unterverzeichnis des Verzeichnisses geschrieben
1569 , in dem die LyX-Datei steht.
1573 \begin_layout Plain Layout
1574 Kopierer können angepasst werden.
1575 Der optionale Parameter
1579 kann eine durch Kommata getrennte Liste von Erweiterungen enthalten, die
1580 mitkopiert werden sollen.
1581 Wenn es fehlt, werden alle Dateien kopiert.
1586 bestimmt die Namenserweiterung, die an den erzeugten Verzeichnisnamen angehängt
1588 Standardmäßig ist es
1594 \begin_layout Plain Layout
1607 erzeugte HTML-Datei im Unterverzeichnis
1613 \begin_layout Plain Layout
1630 \begin_layout Section
1632 \begin_inset CommandInset label
1641 \begin_layout Standard
1642 Sie können eigene Konverter in
1644 Werkzeuge\SpecialChar \menuseparator
1648 gen\SpecialChar \menuseparator
1649 Datei-Handhabung\SpecialChar \menuseparator
1657 \begin_inset space \space{}
1665 \begin_inset space \space{}
1670 jeweils eins aus, schreiben den benötigten Befehl ins Feld
1679 Sie können im Befehl mehrere Variablen benutzen:
1682 \begin_layout Labeling
1683 \labelwidthstring 00.00.0000
1688 ist das Systemverzeichnis von LyX (zum Beispiel
1691 \begin_inset Newline linebreak
1699 \begin_layout Labeling
1700 \labelwidthstring 00.00.0000
1705 ist die Eingabedatei.
1708 \begin_layout Labeling
1709 \labelwidthstring 00.00.0000
1714 ist die Ausgabedatei.
1717 \begin_layout Labeling
1718 \labelwidthstring 00.00.0000
1723 ist der Dateiname ohne Erweiterung (siehe Linux-Befehl
1730 \begin_layout Labeling
1731 \labelwidthstring 00.00.0000
1736 ist der Pfad zur Eingabedatei.
1739 \begin_layout Labeling
1740 \labelwidthstring 00.00.0000
1745 ist der Pfad zur ursprünglichen Eingabedatei.
1746 Wenn eine Kette von Konvertern aufgerufen wird, weicht er von
1753 \begin_layout Standard
1754 Ins Feld Zusatz-Flag können Sie folgende, durch Kommata getrennte, Flags
1755 schrei\SpecialChar \-
1759 \begin_layout Labeling
1760 \labelwidthstring 00.00.0000
1765 Damit ein besonderer LaTeX-Lauf gestartet, der die LaTeX-Fehlermel\SpecialChar \-
1768 von LyX verfügbar macht.
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1777 benötigt die LaTeX-Datei
1784 \begin_layout Labeling
1785 \labelwidthstring 00.00.0000
1790 Damit wird die Ausgabe im XML-Format gespeichert.
1793 \begin_layout Standard
1794 Die folgenden Flags sind keine richtigen, weil sie ein Argument der Form
1802 \begin_layout Labeling
1803 \labelwidthstring 00.00.0000
1808 Wenn das gesetzt ist, wird der Standardfehler des Konverters in die Datei
1813 umgeleitet, und das Skript wird so ausgeführt:
1816 \begin_inset space \space{}
1820 \begin_inset space \space{}
1824 \begin_inset space \space{}
1828 \begin_inset space \space{}
1842 \begin_layout Labeling
1843 \labelwidthstring 00.00.0000
1848 ist der Name des Verzeichnisses, in dem der Konverter die erzeugten Dateien
1850 LyX wird das Verzeichnis nicht anlegen und auch nichts hineinkopieren,
1851 aber dieses Verzeichnis an seinen Bestimmungs\SpecialChar \-
1857 enthalten, was durch die Basisnamen von Ein- oder Ausgabedatei ersetzt
1858 wird, wenn das Verzeichnis kopiert wird.
1859 \begin_inset Newline newline
1870 zusammen keinen Sinn machen.
1871 Wenn das erste definiert wurde, wird das zweite ignoriert.
1874 \begin_layout Labeling
1875 \labelwidthstring 00.00.0000
1880 ist der Name der Ausgabedatei und darf
1885 Er wird nur zusammen mit
1889 benutzt und ist auch da nur optional.
1890 Wenn er nicht angegeben wird, wird
1897 \begin_layout Standard
1898 Keines dieser Flags wird zur Zeit in einem Konverter benutzt, der zusammen
1899 mit LyX installiert wird.
1902 \begin_layout Standard
1903 Sie müssen nicht für alle Formate, zwischen denen Sie konvertieren wollen,
1904 Konverter definieren.
1905 Zum Beispiel gibt es keinen Konverter von LyX nach PostScript, aber LyX
1906 wird PostScript exportieren.
1907 Dies geschieht, indem zunächst eine LaTeX-Datei erzeugt wird -- dafür wird
1908 auch kein Konverter benötigt --, die dann mit dem Konverter von LyX nach
1909 DVI in eine DVI-Datei konvertiert wird, die schließlich nach PostScript
1911 LyX findet solche Konverter-Ketten automatisch und wird immer die kürzeste
1915 \begin_layout Standard
1916 Trotzdem können Sie Mehrfachkonversionen zwischen Dateiformaten definieren.
1917 Zum Beispiel liefert die Standardkonfiguration von LyX drei Möglichkeiten,
1918 um von LaTeX nach PDF zu konvertieren:
1921 \begin_layout Enumerate
1927 \begin_layout Enumerate
1932 über DVI und PostScript
1935 \begin_layout Enumerate
1943 \begin_layout Standard
1944 Um andere Ketten zu definieren, müssen Sie andere Ziel-
1948 definieren, wie in Abschnitt
1949 \begin_inset space \space{}
1953 \begin_inset CommandInset ref
1955 reference "sec:Formate"
1960 Zum Beispiel enthält die Standardkonfiguration drei Formate für pdf-Dateien,
1988 \begin_layout Chapter
1990 \begin_inset CommandInset label
1992 name "cha:Internationales-LyX"
1999 \begin_layout Standard
2002 Anmerkung des Übersetzers: Dieses Kapitel behandelt zwei Themenbereiche.
2004 \begin_inset space \space{}
2008 \begin_inset CommandInset ref
2010 reference "sec:Eine-andere-Sprache"
2015 \begin_inset space \space{}
2019 \begin_inset CommandInset ref
2021 reference "sec:Tastaturkürzel-für-andere"
2025 erklärt, wie man LyX mitteilt, dass man in einer fremdsprachlichen Umgebung
2027 Der überwiegende Rest des Kapitels erläutert, wie man LyX an eine neue
2028 Sprache anpasst, das heißt wie man es übersetzt.
2029 Da diese Arbeiten für eine deutsche Umgebung bereits erledigt wurden, dürfte
2030 dieser Teil des Kapitels für die Leser dieser Übersetzung weitgehend uninteress
2032 Die letzten beiden Abschnitte,
2033 \begin_inset CommandInset ref
2035 reference "sec:Internationale-Tastaturbelegung"
2040 \begin_inset CommandInset ref
2042 reference "sec:Internationale-Tastaturtabellen"
2046 , waren bei der Übersetzung noch nicht ganz up to date.
2050 \begin_layout Standard
2051 LyX kann mit übersetzten Versionen seiner Benutzerschnittstelle arbeiten.
2052 Als dieser Text erstellt wurde, waren über den normalen englischen Text
2053 Anpassungen für 23 Sprachen Bestandteil der LyX-Distribution.
2054 Die von Ihnen benutze Sprache zeigt Ihnen der Befehl
2059 (Für weitere Informationen über
2063 -Definitionen ist die Manpage
2067 ein guter Startpunkt.)
2070 \begin_layout Standard
2071 Bitte beachten Sie, dass diese Übersetzungen zwar funktionieren, aber oft
2072 ein paar Einschränkungen unterliegen.
2073 Insbesondere wurde das Design der Popup-Menüs auf den englischen Text zugeschni
2075 Das bedeutet, dass der übersetzte Text an einigen Stellen mehr Platz benötigt
2076 als dort zur Verfügung steht.
2077 Dies ist natürlich nur ein Darstellungsproblem und schränkt nicht die Funktions
2079 Sie werden auch feststellen, dass einige Übersetzungen nicht für alle Menüpunkt
2080 e Tastenkürzel definieren.
2081 Manchmal stehen einfach nicht genügend freie Buchstaben zur Verfügung,
2082 manchmal hatte der Übersetzer einfach bisher keine Zeit, sich darum zu
2086 \begin_layout Standard
2087 Wir werden versuchen, diese Dinge in einer späteren Version zu korrigieren.
2090 \begin_layout Section
2091 Eine andere Sprache für die Schnittstelle auswählen
2092 \begin_inset CommandInset label
2094 name "sec:Eine-andere-Sprache"
2101 \begin_layout Standard
2102 Normalerweise erfolgt die gesamte Benutzerführung in der Sprache, die in
2103 der Umgebungsvariablen
2108 Um eine andere Sprache auszuwählen, müssen Sie die Umgebungsvariable
2117 in csh-kompatiblen und
2121 in sh-kompatiblen Shells.
2126 durch den Zwei-Buchstaben-Code der Sprache, die Sie verwenden möchten --
2135 \begin_layout Plain Layout
2136 Noch besser wäre es,
2140 auf den Wert de_DE zu setzen, da andere Programme (zum Beispiel KDE) nach
2141 DE suchen, oder sogar den vollständigen Wert de_DE.iso88591
2149 \begin_layout Standard
2150 Normalerweise werden Sie den passenden Befehl in eine der Startdateien einfügen,
2151 also zum Beispiel in
2163 , damit die übersetzte Schnittstelle automatisch benutzt wird.
2167 \begin_layout Standard
2168 Beachten Sie, dass all dies
2172 funktioniert, wenn Sie LyX mit der Option
2174 --disable\SpecialChar \-
2180 \begin_layout Section
2181 Tastaturkürzel für andere Sprachen anpassen
2182 \begin_inset CommandInset label
2184 name "sec:Tastaturkürzel-für-andere"
2191 \begin_layout Standard
2192 Ein Hauptgrund für Inkonsistenzen in übersetzten LyX-Versionen ist die Tatsache,
2193 dass alle Tastaturkürzel für die Menüfunktionen ursprünglich auf den englischen
2194 Text zugeschnitten wurden.
2195 Das heißt, unabhängig vom tatsächlichen Menüeintrag wird das Kürzel
2201 new-file-from-template
2205 \begin_layout Plain Layout
2208 new-file-from-template
2210 ist der LyX-interne Befehl, der das Menü
2212 Datei\SpecialChar \menuseparator
2214 \begin_inset space ~
2218 \begin_inset space ~
2223 \SpecialChar \ldots{}
2234 \begin_layout Standard
2235 Es ist allerdings einfach, dies zu ändern, da alle Tastenkürzel für die
2236 Menüfunktionen in einer einzigen Datei definiert werden, in
2242 \begin_layout Plain Layout
2249 XDir/bind/menus.bind
2252 Jeder Anwender kann eine eigene Version dieser Datei in sein privates LyX-Verze
2257 ) kopieren und verändern.
2258 Diese wird anstelle der systemweiten Datei eingelesen.
2261 \begin_layout Standard
2262 In diesem privaten Verzeichnis kann man die Definitionen einfach ändern,
2273 Datei\SpecialChar \menuseparator
2275 \begin_inset space ~
2279 \begin_inset space ~
2284 \SpecialChar \ldots{}
2286 Für einige Sprachen existieren schon angepasste Versionen
2292 \begin_layout Plain Layout
2312 bezeichnet den Code der Sprache).
2313 Diese werden von LyX automatisch benutzt, sofern sie existieren (und Ihre
2328 \begin_layout Standard
2329 Sie müssen darauf achten, dass neue Definitionen nicht mit anderen, vorangehende
2330 n Definitionen kollidieren.
2331 Beispielsweise würde die oben genannte Definition von
2339 verwenden, eine Fehlermeldung erzeugen, denn in
2353 \begin_layout Plain Layout
2358 löscht das Wort rechts vom Cursor.
2369 \begin_layout Standard
2370 In LyX Version 1.0 werden die übersetzten Namen der Hauptmenüs (die in den
2375 -Dateien stehen) für den Tastendefinitions-Mechanismus verwendet -- deshalb
2384 Menünamen verwendet werden.
2387 \begin_layout Section
2391 \begin_layout Subsection
2392 Die Benutzerschnittstelle übersetzen (Textmeldungen)
2395 \begin_layout Standard
2396 LyX verwendet die GNU-gettext-Bibliothek, um die Internationalisierung der
2397 Benutzerschnittstelle zu verwalten.
2398 Um LyX dazu zu bringen, in allen Menüs und Dialog-Boxen Ihre Lieblingssprache
2399 zu verwenden, müssen Sie eine
2403 -Datei für diese Sprache erstellen.
2404 Anschließend müssen Sie daraus eine
2408 -Datei erzeugen und diese installieren.
2409 Eine umfassende Anleitung dazu finden Sie in der Dokumentation für GNU
2414 \begin_layout Plain Layout
2415 Natürlich nur auf englisch.
2416 Die Veränderungen, die an der
2420 -Datei durchgeführt werden müssen, sind allerdings recht intuitiv.
2426 Kurz gesagt müssen folgende Veränderungen durchgeführt werden (
2432 bezeichnet den Sprachencode der neuen Sprache):
2435 \begin_layout Itemize
2436 Kopieren Sie die Datei
2440 in das Verzeichnis der .po-Dateien.
2441 Benennen Sie anschließend die Datei in
2453 nicht existiert, kann sie mit dem Befehl
2456 \begin_inset space \space{}
2461 neu erzeugt werden.)
2464 \begin_layout Itemize
2471 \begin_layout Plain Layout
2472 Für diese Aufgabe gibt es spezielle Programme, wie
2476 (für alle Plattformen) oder
2485 hat ebenfalls einen Modus, der Sie bei dieser Arbeit unterstützt.
2493 Für einige Menü- und Widgetfunktionen gibt es Tastenkürzel, die ebenfalls
2494 übersetzt werden sollten.
2495 Diese Tasten werden mit '
2499 ' markiert und sollten passend mitübersetzt werden.
2500 Es gibt ein Prolog-Programm namens
2504 , das sich im Quellverzeichnis in
2507 SOURCE\SpecialChar \-
2508 DIR/development/tools/
2511 Vielleicht hilft es Ihnen bei der Bestimmung der Tastenkürzel.
2512 Beachten Sie, dass XForms (zumindest die Version 0.86) nur 7-Bit-Zeichen
2513 als Tastenkürzel verarbeiten kann.
2514 \begin_inset Newline newline
2517 Sie sollten auch das Informationsfeld am Anfang der neuen po-Datei ausfüllen
2518 (mit Ihrer EMail-Adresse, usw.), damit Sie für andere Leute erreichbar sind,
2519 die Ihnen Vorschläge oder unterhaltsame Flames schicken möchten.
2522 \begin_layout Itemize
2524 \begin_inset Flex URL
2527 \begin_layout Plain Layout
2529 LYX-SOURCE-DIR/po/lyx.pot
2536 make up\SpecialChar \-
2549 \begin_layout Itemize
2550 Installieren Sie die
2554 -Datei mit dem Befehl
2556 su -c 'make install'
2561 \begin_layout Standard
2570 hinzuzufügen, müssen eine Reihe von Dateien (Konfigurations-Skripts und
2571 mehr) verändert werden.
2572 Aber dank der gettext-Bibliothek ist ein Einbinden in den LyX-Quellcode
2573 für den Anwender unnötig.
2576 \begin_layout Standard
2577 Wenn Sie eine Übersetzung für eine Sprache erstellt haben, die LyX zur Zeit
2578 noch nicht unterstützt, sollten Sie uns ruhig ein Patch mit Ihrer Datei
2580 Wie man ein Patch erstellt, erfahren Sie in der README-Datei im Verzeichnis
2588 \begin_layout Subsection
2589 Die Dokumentation übersetzen
2592 \begin_layout Standard
2595 [Anmerkung des Übersetzers:
2599 Sie die Dokumentation übersetzen wollen, benutzen Sie als Vorlage auf jeden
2600 Fall das englische Original.
2601 Übersetzungen -- diese eingeschlossen -- sind oft nicht ganz auf dem neuesten
2606 \begin_layout Standard
2607 Auch die Online-Dokumentation (im
2611 -Menü) kann (und sollte!) übersetzt werden.
2612 Wenn übersetzte Versionen verfügbar sind
2616 \begin_layout Plain Layout
2617 Derzeit (November 2006) sind praktisch alle Texte bis auf
2623 \begin_layout Plain Layout
2632 ins Deutsche übersetzt.
2633 Andere Sprachen sind in Arbeit.
2634 Die Bibliothek an übersetzten Texten wächst ständig.
2643 entsprechend gesetzt wurde, werden diese automatisch von LyX benutzt.
2644 Zur Zeit sind Übersetzungen in etwa 20 Sprachen vorhanden.
2645 LyX sucht nach übersetzten Versionen in
2651 \begin_layout Plain Layout
2670 für das entsprechende Sprach\SpecialChar \-
2672 zel steht, das in der Umgebungsvariablen
2680 \begin_layout Standard
2681 Falls solche Dateien nicht existieren, wird die englische Version verwendet.
2682 Auch die übersetzten Versionen müssen (bis auf das
2689 ) den gleichen (englischen) Dateinamen (im Beispiel oben
2693 ) tragen wie die englischen Originale.
2694 Wenn Sie gerne die Dokumentation übersetzen möchten (übrigens ein guter
2695 Weg, um die Originale Korrektur zu lesen!), hier ein paar Tipps, die Ihnen
2696 möglicherweise etwas Arbeit ersparen:
2699 \begin_layout Itemize
2700 Werfen Sie einen Blick auf die Seiten des Übersetzungsteams auf der Homepage
2701 des LyX-Entwickler-Teams:
2702 \begin_inset Flex URL
2705 \begin_layout Plain Layout
2707 http://www.devel.lyx.org
2713 Dort erfahren Sie, welche Texte bereits in Ihre Sprache übersetzt sind,
2714 auch sehen Sie, ob jemand (und wenn ja, wer) die Übersetzungsaktivitäten
2718 \begin_layout Standard
2719 Wenn Sie dann mit der eigentlichen Übersetzungsarbeit beginnen, sind hier
2720 einige Tipps, die Ihnen vielleicht helfen, einige Schwierigkeiten zu überwinden
2724 \begin_layout Itemize
2725 Machen Sie im Dokumentationsteam mit! Informationen dazu gibt es in
2727 Hilfe\SpecialChar \menuseparator
2731 Dies ist übrigens das erste Dokument, das Sie übersetzen sollten.
2734 \begin_layout Itemize
2735 Machen Sie sich mit den typographischen Konventionen der Sprache vertraut,
2736 in die Sie übersetzen möchten.
2737 Typographie ist eine alte Kunst, und in vielen Teilen der Welt wurden verschied
2738 ene Konventionen eingeführt.
2739 Auch sollten Sie die typographische Terminologie in Ihrem Land lernen.
2740 Eine eigene Terminologie würde nur die Leser verwirren.
2743 (Warnung: Typographie macht süchtig!)
2746 \begin_layout Itemize
2747 Legen Sie eine Kopie des Originaldokumentes an.
2748 Von Zeit zu Zeit wird die Originalversion erneuert.
2749 Sie können beispielsweise CVSweb auf der LyX-Entwickler-Seite im WWW verwenden
2750 um zu sehen, was sich verändert hat.
2754 \begin_layout Plain Layout
2755 Alternativ können Sie auch lokal eine Kopie des (englischen) Ausgangstextes
2756 aufbewahren und diese dann mit der neuen Version vergleichen (zum Beispiel
2769 \begin_layout Itemize
2770 Wann immer Sie einen Fehler im Originaltext entdecken, korrigieren Sie ihn
2771 und teilen dem Rest des Dokumentationsteams Ihre Veränderungen mit.
2772 (Sie haben nicht vergessen, dem Dokumentationsteam beizutreten, oder?)
2775 Auch die Originaldokumentation ist nicht komplett.
2778 \begin_layout Section
2779 Internationale Tastaturbelegung
2780 \begin_inset CommandInset label
2782 name "sec:Internationale-Tastaturbelegung"
2789 \begin_layout Subsection
2790 Eigene Tastaturtabellen definieren: das
2797 \begin_layout Standard
2798 Sehen wir uns einmal die
2802 -Datei ein wenig näher an.
2803 Es handelt sich um eine ASCII-Datei, in der folgendes definiert wird:
2806 \begin_layout Itemize
2807 Taste-Taste- oder Taste-String-Transformationen
2810 \begin_layout Itemize
2815 Tasten -- sogenannte
2820 \begin_layout Itemize
2821 Ausnahmen für tote Tasten.
2824 \begin_layout Standard
2825 Zur Definition einer Taste-Taste- oder Taste-String-Transformation dient
2829 \begin_layout Quotation
2837 \begin_layout Standard
2842 die zu übersetzende Taste bezeichnet und
2846 die Taste oder den String, der dafür in das Dokument eingefügt werden soll.
2847 Eine tote Taste definiert man mit:
2848 \begin_inset space ~
2854 \begin_layout Quotation
2866 \begin_layout Standard
2871 wieder eine Taste auf der Tastatur bezeichnet und
2875 der Name einer toten Taste ist.
2876 LyX unterstützt folgende toten Tasten (Abkürzungen in Klammern):
2879 \begin_layout Quotation
2883 \begin_inset space \hfill{}
2889 \begin_layout Quotation
2891 \begin_inset space \hfill{}
2897 \begin_layout Quotation
2899 \begin_inset space \hfill{}
2905 \begin_layout Quotation
2907 \begin_inset space \hfill{}
2913 \begin_layout Quotation
2915 \begin_inset space \hfill{}
2921 \begin_layout Quotation
2923 \begin_inset space \hfill{}
2930 \begin_layout Plain Layout
2942 \begin_layout Quotation
2944 \begin_inset space \hfill{}
2950 \begin_layout Quotation
2952 \begin_inset space \hfill{}
2959 \begin_layout Plain Layout
2971 \begin_layout Quotation
2973 \begin_inset space \hfill{}
2979 \begin_layout Quotation
2981 \begin_inset space \hfill{}
2987 \begin_layout Quotation
2989 \begin_inset space \hfill{}
2996 \begin_layout Plain Layout
3008 \begin_layout Quotation
3010 \begin_inset space \hfill{}
3017 \begin_layout Plain Layout
3029 \begin_layout Quotation
3031 \begin_inset space \hfill{}
3037 \begin_layout Quotation
3038 hungarian umlaut (hug)
3039 \begin_inset space \hfill{}
3045 \begin_layout Quotation
3047 \begin_inset space \hfill{}
3053 \begin_layout Quotation
3055 \begin_inset space \hfill{}
3062 \begin_layout Plain Layout
3074 \begin_layout Standard
3075 Da es auf vielen internationalen Tastaturen Ausnahmen dafür gibt, wie eine
3076 bestimmte tote Taste das folgende Zeichen verändern soll, können diese
3077 definiert werden, und zwar mit:
3080 \begin_layout Quotation
3089 Tote-Taste Taste Ausgabe
3092 \begin_layout Standard
3093 Zum Beispiel soll caron-o auf einer slowakischen Tastatur ein circumflex-o
3095 Dies erreicht man mit:
3098 \begin_layout Quotation
3112 \begin_layout Standard
3113 Auch müssen für die Buchstaben i und j Ausnahmen definiert werden, um den
3114 Punkt zu löschen, bevor ein Akzent eingefügt wird.
3115 Ich werde dies beizeiten ändern, hatte aber bisher noch keine Zeit dazu.
3118 \begin_layout Standard
3119 Ach so, zur Definition der Ausgabe: Der Backslash
3120 \begin_inset Quotes gld
3130 \begin_inset Quotes grd
3133 ist ein Sonderzeichen.
3134 Um ihn einzugeben, muss man einen doppelten Backslash
3135 \begin_inset Quotes gld
3147 \begin_inset Quotes grd
3151 Auch das Anführungszeichen
3152 \begin_inset Quotes gld
3156 \begin_inset Quotes grd
3160 \begin_inset Quotes gld
3168 \begin_inset Quotes grd
3171 haben eine andere Bedeutung.
3176 bezeichnet einen Kommentar, Anführungszeichen markieren den Anfang und
3177 das Ende eines Strings (das heißt einer LaTeX-Befehlssequenz).
3178 Um diese Zeichen einzugeben, muss ein Backslash vorangestellt werden (also:
3192 Wenn Sie eine funktionierende Keymap-Datei für eine neue Sprache angefertigt
3193 haben, mailen Sie diese bitte an das Entwickler-Team, damit sie in die
3194 nächste Distribution integriert werden kann.
3197 \begin_layout Standard
3198 In Zukunft werden auch noch folgende Befehle unterstützt:
3201 \begin_layout Itemize
3210 \begin_inset space \hfill{}
3215 bindet eine andere Datei ein
3218 \begin_layout Itemize
3231 \begin_inset space \hfill{}
3236 definiert ein externes Keymap-Programm
3239 \begin_layout Standard
3244 atei nach Voreinstellungen durchsuchen (zum Beispiel nach einer Option
3250 , um eine Standardtastatur zu verwenden).
3253 \begin_layout Section
3254 Internationale Tastaturtabellen:
3259 \begin_inset CommandInset label
3261 name "sec:Internationale-Tastaturtabellen"
3268 \begin_layout Standard
3269 Die nächsten beiden Abschnitte beschreiben detailliert die Syntax der
3278 Diese Abschnitte sollten Ihnen dabei helfen, Ihre eigene Tastaturtabelle
3279 zu entwerfen, wenn die vorhandenen nicht ganz Ihren Bedürfnissen entsprechen.
3282 \begin_layout Subsection
3288 \begin_inset CommandInset label
3290 name "sub:Die-.kmap-Datei"
3297 \begin_layout Standard
3306 -Datei transformiert gedrückte Tasten zu Buchstaben oder Strings (Zeichenketten)
3312 Im Folgenden werden die Schlüsselwörter
3331 \begin_layout Labeling
3332 \labelwidthstring 00.00.0000
3339 Transformiere einen Buchstaben zu einem String
3342 \begin_layout LyX-Code
3351 \begin_layout Standard
3352 Dieser Ausdruck definiert, dass
3360 transformiert werden soll.
3365 die Zeichen Backslash
3366 \begin_inset Quotes gld
3376 \begin_inset Quotes grd
3379 und Anführungszeichen
3380 \begin_inset Quotes gld
3388 \begin_inset Quotes grd
3391 mit einem vorangehenden Backslash versehen werden.
3395 \begin_layout Standard
3396 Als Beispiel ein Ausdruck, der das Zeichen
3397 \begin_inset Quotes gld
3405 \begin_inset Quotes grd
3408 ausgibt, wenn die Taste
3409 \begin_inset Quotes gld
3417 \begin_inset Quotes grd
3423 \begin_layout LyX-Code
3429 \begin_layout Labeling
3430 \labelwidthstring 00.00.0000
3437 Spezifiziere ein Akzentzeichen
3440 \begin_layout LyX-Code
3446 Zeichen Akzent erlaubt
3449 \begin_layout Standard
3450 Dieser Ausdruck wird dafür sorgen, dass
3458 interpretiert wird, und zwar bei allen Zeichen, die in
3463 Dies ist der Mechanismus toter Tasten
3469 \begin_layout Plain Layout
3478 kommt daher, dass diese Taste allein kein Zeichen erzeugt, aber, gefolgt
3479 von einer anderen Taste, akzentuierte Zeichen erzeugt.
3480 Zum Beispiel kann auf diese Weise é
3481 \begin_inset Quotes grd
3495 drücken, gefolgt von einem Zeichen, das
3503 aufgeführt wurde, werden einfach beide Zeichen einzeln ausgegeben.
3506 \begin_layout Standard
3507 Der folgende Ausdruck definiert, dass die Taste
3508 \begin_inset Quotes gld
3516 \begin_inset Quotes grd
3519 der circumflex-Akzent wird, wenn er von einem der Buchstaben a, e, i, o,
3520 u, A, E, I ,O oder U gefolgt wird:
3523 \begin_layout LyX-Code
3526 kmod ^ circumflex aeiouAEIOU
3529 \begin_layout Labeling
3530 \labelwidthstring 00.00.0000
3535 Definiere eine Ausnahme zu einem Akzentzeichen
3538 \begin_layout LyX-Code
3544 Akzent Zeichen Ausgabe
3547 \begin_layout Standard
3548 Dieser Ausdruck definiert eine Ausnahme für die Wirkung, die
3552 in Verbin\SpecialChar \-
3562 vorher mit Hilfe einer
3568 -Zeile einer Taste zugewiesen worden sein.
3569 Wenn Sie die Sequenz
3578 Falls solch eine Definition
3586 eingeben, erhalten Sie das
3593 \begin_layout Standard
3594 Der folgende Ausdruck sorgt dafür, dass LaTeX bei einem
3595 \begin_inset Quotes gld
3599 \begin_inset Quotes grd
3602 mit circumflex den I-Punkt entfernt, bevor das Akzentsymbol eingefügt wird:
3605 \begin_layout LyX-Code
3608 kxmod circumflex i "
3619 \begin_layout Labeling
3620 \labelwidthstring 00.00.0000
3625 Kombiniere zwei Akzentsymbole
3628 \begin_layout LyX-Code
3634 Akzent1 Akzent2 erlaubt
3637 \begin_layout Standard
3638 Hier wird es ziemlich esoterisch.
3639 Dieser Ausdruck erlaubt die Kombination der Effekte von
3647 (in dieser Reihenfolge!) bei allen
3661 müssen zuvor mit Hilfe von
3667 definiert worden sein.
3670 \begin_layout Standard
3671 Folgendes Beispiel aus der Datei
3678 \begin_layout LyX-Code
3681 kmod ; acute aeioyvhAEIOYVH
3684 \begin_layout LyX-Code
3690 \begin_layout LyX-Code
3693 kcomb acute umlaut iyIY
3696 \begin_layout Standard
3697 Diese Zeilen erlauben es,
3698 \begin_inset Quotes gld
3706 \begin_inset Quotes grd
3709 einzugeben und auf diese Weise
3710 \begin_inset Quotes gld
3722 \begin_inset Quotes grd
3729 \begin_layout Plain Layout
3741 In diesem Fall löscht die Backspace-Taste das letzte gedrückte Zei\SpecialChar \-
3755 eingeben, erhalten Sie
3756 \begin_inset Quotes gld
3766 \begin_inset Quotes grd
3773 \begin_layout Plain Layout
3786 \begin_layout Subsection
3794 \begin_layout Standard
3799 -Datei verarbeitet hat, erklärt eine
3803 -Datei, wie die einzelnen Symbole im gegenwärtigen Zeichensatz dargestellt
3805 Die LyX-Dis\SpecialChar \-
3808 tion enthält wenigstens die Dateien
3809 \begin_inset Flex URL
3812 \begin_layout Plain Layout
3823 \begin_inset Newline linebreak
3832 \begin_layout Standard
3833 Generell besteht eine
3840 -Datei aus einer Reihe von Deklarationen der folgenden Form:
3843 \begin_layout LyX-Code
3847 Position_im_Zeichensatz String
3850 \begin_layout Standard
3851 Um beispielsweise dem String (
3855 im vorigen Abschnitt)
3856 \begin_inset Quotes gld
3864 \begin_inset Quotes grd
3867 das ent\SpecialChar \-
3870 de Zeichen im ISO-8859-1 Zeichensatz (233) zuzuweisen, benutzt
3871 man folgenden Ausdruck:
3874 \begin_layout LyX-Code
3882 \begin_layout Standard
3883 Wieder müssen den Zeichen
3884 \begin_inset Quotes gld
3894 \begin_inset Quotes grd
3898 \begin_inset Quotes gld
3906 \begin_inset Quotes grd
3909 ein Backslash vorangestellt werden.
3910 Beachten Sie, dass es durchaus möglich ist, dass dasselbe Zeichen (sinnvoll)
3911 zwei verschiedene Strings repräsentieren kann.
3922 \begin_layout LyX-Code
3934 \begin_inset Newline newline
3950 \begin_layout Standard
3951 Wenn LyX kein passendes Zeichen für einen String finden kann, der durch
3952 eine Tastensequenz erzeugt wurde, wird es versuchen, falls der String wie
3953 ein akzentuierter Buchstabe aussieht, auf dem Bildschirm den Buchstaben
3954 mit Akzent selbst zu zeichnen.
3957 \begin_layout Subsection
3958 Tote Tasten definieren
3961 \begin_layout Standard
3964 Anmerkung des Übersetzers: An dieser Stelle weiche ich krass vom Original
3966 Der englische Text ist hier viel zu weitschweifig und ein bisschen konfus.
3970 \begin_layout Standard
3971 Es gibt noch eine zweite Möglichkeit, internationale Buchstaben mit Hilfe
3980 zu erzeugen -- nämlich direkt in der
3985 Dazu ein einfaches Beispiel:
3988 \begin_layout Standard
3989 Nehmen wir an, Sie benötigen eine Zirkumflex-Taste.
3990 Diese können Sie definieren, indem Sie in der
3994 atei folgende Zeile einfügen:
3997 \begin_layout Standard
4002 bind "asciicircum" "accent-circumflex"
4005 \begin_layout Standard
4010 die Bezeichnung, die das X11-System für die
4011 \begin_inset Quotes gld
4019 \begin_inset Quotes grd
4026 \begin_layout Plain Layout
4027 Die Bezeichnungen anderer Symbole lassen sich ganz gut aus einer c-Include-Datei
4033 Meist findet man sie in
4035 /usr/X11/include/X11/
4044 accent-circum\SpecialChar \-
4047 ist ein LyX-Befehl, der den Zirkumflex-Akzent erzeugt.
4050 \begin_layout Standard
4051 Leider unterscheidet sich die Wirkungsweise der toten Tasten, die in
4055 definiert wurden, merklich von der, die in Abschnitt
4056 \begin_inset space ~
4060 \begin_inset CommandInset ref
4062 reference "sub:Die-.kmap-Datei"
4069 \begin_layout Subsection
4070 Ihre Sprachkonfiguration einstellen
4073 \begin_layout Standard
4078 atei so verändern, dass Ihre gewünschte Sprachumgebung automatisch geladen
4079 wird, wenn LyX gestartet wird.
4080 Dieser Abschnitt beschreibt Befehle, die folgendes spezifizieren:
4083 \begin_layout Itemize
4084 Standard-, erste und zweite Tastaturbelegung
4087 \begin_layout Itemize
4088 Zeichensatzkodierung
4091 \begin_layout Standard
4096 atei finden Sie verschiedene Beispiele, wie man sie konfigurieren kann.
4097 Zum Beispiel können Sie einen Eintrag für eine Tastaturbelegung folgendermaßen
4101 \begin_layout LyX-Code
4104 bind "american" "keymap-primary"
4107 \begin_layout Standard
4115 \begin_layout LyX-Code
4118 bind "Alt+," "accent-cedilla"
4121 \begin_layout Standard
4122 oder eine Zeichensatzkodierung festlegen:
4125 \begin_layout LyX-Code
4126 # Die Norm für die Bildschirmzeichensätze
4129 \begin_layout LyX-Code
4130 # Voreinstellung ist iso8859-1.
4133 \begin_layout LyX-Code
4139 \begin_layout Chapter
4140 Installieren neuer Textklassen, Layouts und Vorlagen
4141 \begin_inset CommandInset label
4143 name "cha:Installieren-neuer-Textklassen"
4150 \begin_layout Standard
4151 In diesem Abschnitt wird beschrieben, wie Sie beim Installieren neuer Layout-
4152 und Vorlagedateien vorgehen müssen, außerdem auch eine kleine Auf\SpecialChar \textcompwordmark{}
4154 wie man neue Dokumentenklassen für LaTeX korrekt installiert.
4155 Zunächst ein paar Definitionen:
4158 \begin_layout Standard
4163 ist eine LaTeX-Datei (normalerweise mit der Endung
4171 ), die das Format einer speziellen Art von Dokument beschreibt, etwa Artikel,
4172 Brief usw., und auch alle dazu notwendigen Befehle definiert.
4175 \begin_layout Standard
4180 ist eine LyX-Datei, die einer LaTeX-Dokumentenklasse ent\SpecialChar \-
4182 mitteilt, wie die diversen Formatelemente am Bildschirm dar\SpecialChar \-
4185 sollen, damit der Eindruck möglichst gut dem späteren Druckbild entspricht.
4186 Genauer gesagt beschreibt eine Layoutdatei eine
4190 , das interne Konstrukt, welches LyX verwendet, um den Text am Bildschirm
4194 \begin_layout Standard
4203 sind somit in gewisser Weise äquivalent, aber es ist besser, die Datei
4204 als Layout zu bezeichnen und die interne Realisation im Speicher von LyX
4206 Eine Vorlage ist einfach ein LyX-Dokument, welches bereits einige vordefinierte
4207 Einträge für eine bestimmte Textklasse enthält.
4208 Derartige Vorlagen sind beispielsweise für Briefe oder Artikel für Zeitschrifte
4212 \begin_layout Section
4213 Installation eines neuen LaTeX-Paketes
4216 \begin_layout Standard
4217 Bei manchen TeX-Installationen fehlt möglicherweise das eine oder andere
4218 Paket, das Sie gerne mit LyX verwenden würden.
4219 Zum Beispiel wollen Sie FoilTeX verwenden, ein Paket zur Erstellung von
4220 Dias und Folien für Overheadprojektoren.
4221 Moderne LaTeX-Distributionen wie TeXLive (2008 oder neuer) oder MiKTeX
4222 besitzen ein grafisches Programm um solche Pakete zu installieren.
4224 \begin_inset space \thinspace{}
4228 bei MiKTeX starten Sie das Programm
4229 \begin_inset Quotes gld
4233 \begin_inset space ~
4237 \begin_inset Quotes grd
4240 um eine Liste mit den verfügbaren Paketen zu bekommen.
4241 Um eines davon zu installieren, rechts-klicken Sie oder benutzen den entspreche
4242 nden Werkzeugleistenknopf.
4245 \begin_layout Standard
4246 Falls Ihre LaTeX-Distribution keinen Paketmanager besitzt, oder falls das
4247 Paket nicht direkt über Ihre Distribution verfügbar ist, folgen Sie diesen
4248 Schritten um es manuell zu installieren:
4251 \begin_layout Enumerate
4252 Besorgen Sie sich das Paket von
4253 \begin_inset CommandInset href
4256 target "http://www.ctan.org/"
4260 oder einer anderen Quelle.
4263 \begin_layout Enumerate
4264 Falls das Paket eine Datei mit der Endung
4265 \begin_inset Quotes gld
4269 \begin_inset Flex Code
4272 \begin_layout Plain Layout
4279 \begin_inset Quotes grd
4282 enthält (was bei FoilTeX der Fall ist), dann öffnen sie eine Kommandozeile
4283 wechseln in das Verzeichnis der Datei und führen den Befehl
4284 \begin_inset Newline newline
4292 \begin_inset Newline newline
4296 Sie haben damit dass Paket entpackt und haben alle Dateien um es zu installiere
4298 Die meisten LaTeX-Pakete sind nicht gepackt und man kann direkt mit der
4299 Installation beginnen:
4302 \begin_layout Enumerate
4303 Nun müssen Sie entscheiden, ob das Paket für alle Nutzer oder nur für Sie
4304 verfügbar sein soll.
4308 \begin_layout Enumerate
4309 Bei *nix Systemen (Linux, OSX, etc.), wenn Sie das Paket für alle Nutzer
4310 installieren möchten, installieren Sie es in den lokalen TeX Ordner; anderenfal
4311 ls installieren Sie es in dein eigenen
4312 \begin_inset Quotes gld
4316 \begin_inset Quotes grd
4320 Wo man diese Ordner anlegt, sofern sie nicht schon existieren, hängt von
4322 Dazu schauen Sie in die Datei
4323 \begin_inset Flex Code
4326 \begin_layout Plain Layout
4336 \begin_layout Plain Layout
4337 Diese befindet sich normalerweise im Ordner
4342 Falls nicht, führen Sie den Befehl
4343 \begin_inset Flex Code
4346 \begin_layout Plain Layout
4352 aus, um sie zu lokalisieren.
4357 Der Ort des lokalen TeX Ordners ist in der Variable
4358 \begin_inset Flex Code
4361 \begin_layout Plain Layout
4367 definiert; es ist üblicherweise der Pfad
4369 /usr/local/share/texmf/
4372 Der Ort des Benutzer-TeX Ordners ist in der Variable
4373 \begin_inset Flex Code
4376 \begin_layout Plain Layout
4382 definiert und ist üblicherweise der Pfad
4387 (Wenn diese Variablen nicht vordefiniert sind, müssen Sie diese selbst
4388 definieren.) Sie brauchen wahrscheinlich Root-Rechte um in den lokalen TeX
4389 Ordner zu schreiben, beim Benutzer-TeX Ordner ist die nicht nötig.
4390 \begin_inset Newline newline
4393 Allgemein empfiehlt es sich, Pakete in den Benutzer-TeX Ordner zu installieren,
4394 da dieser nicht verändert oder gar überschrieben wird, wenn Sie ihr System
4396 Des Weiteren wird er zusammen mit Ihren Nutzerdaten gesichert, wenn Sie
4397 ein Backup machen (was Sie natürlich regelmäßig tun).
4400 \begin_layout Enumerate
4401 Bei Windows, wenn Sie das Paket für alle Nutzer installieren möchten, gehen
4402 Sie in den Ordner, in dem LaTeX installiert ist und wechseln dort in das
4410 (Verwendet man MiKTeX, wäre es standardmäßig der Ordner
4422 .) Legen Sie dort einen neuen Ordner mit dem Namen
4423 \begin_inset Quotes gld
4427 \begin_inset Quotes grd
4430 an und kopieren Sie alle Dateien das Pakets hinein.
4431 Wenn das Paket nur für den aktuellen Benutzer verfügbar sein soll bzw.
4432 Sie keine Administrator-Rechte haben, tun Sie dasselbe, aber im lokalen
4435 \begin_inset space \thinspace{}
4440 \begin_inset space ~
4443 2.8 wäre das unter WinXP der Ordner
4444 \begin_inset Newline newline
4451 Dokumente und Einstellungen
4458 \begin_inset Newline newline
4462 \begin_inset Phantom HPhantom
4465 \begin_layout Plain Layout
4484 \begin_inset Newline newline
4487 , unter WinVista wäre es der Ordner
4488 \begin_inset Newline newline
4515 \begin_layout Enumerate
4516 Jetzt muss man LaTeX nur noch mitteilen, dass es neue Dateien gibt.
4517 Die ist je nach LaTeX-Distribution anders:
4521 \begin_layout Enumerate
4522 Bei TeXLive führen Sie von einer Kommandozeile den Befehl
4523 \begin_inset Flex Code
4526 \begin_layout Plain Layout
4533 Wenn Sie das Paket für alle Nutzer installiert haben, brauchen sie dazu
4534 wahrscheinlich Root-Rechte.
4537 \begin_layout Enumerate
4538 Bei MiKTeX, wenn Sie das Paket für alle Nutzer installiert haben, starten
4540 \begin_inset Quotes gld
4544 \begin_inset space ~
4548 \begin_inset Quotes grd
4551 und drücken dann auf den Kopf
4552 \begin_inset Quotes gld
4556 \begin_inset Quotes grd
4560 Anderenfalls starten Sie das Programm
4561 \begin_inset Quotes gld
4565 \begin_inset Quotes grd
4568 und machen dasselbe.
4572 \begin_layout Enumerate
4573 Nun muss man LyX noch mitteilen, dass es neue Pakete gibt.
4574 Verwenden Sie dazu in LyX das Menü
4576 Werkzeuge\SpecialChar \menuseparator
4578 \begin_inset space \space{}
4583 und starten LyX danach neu.
4586 \begin_layout Standard
4587 Nun ist das Paket installiert.
4588 In unserem Beispiel wird nun die Dokumentklasse
4589 \begin_inset Flex Code
4592 \begin_layout Plain Layout
4594 \begin_inset space ~
4601 \begin_layout Plain Layout
4615 Dokument\SpecialChar \menuseparator
4616 Einstellungen\SpecialChar \menuseparator
4622 \begin_layout Standard
4623 Möchten sie eine LaTeX-Dokumentklasse verwenden, die generell nicht im Menü
4626 Dokument\SpecialChar \menuseparator
4627 Einstellungen\SpecialChar \menuseparator
4630 gelistet ist, müssen Sie dafür selbst ein
4631 \begin_inset Quotes gld
4635 \begin_inset Quotes grd
4639 Dies ist das Thema des nächsten Abschnitts.
4642 \begin_layout Section
4646 \begin_layout Standard
4649 This section describes the various sorts of LyX files that contain layout
4651 These files describe various paragraph and character styles, determining
4652 how LyX should display them and how they should be translated into LaTeX,
4653 DocBook, XHTML, or whatever output format is being used.
4657 \begin_layout Standard
4660 We shall try to provide a thorough description of the process of writing
4662 However, there are so many different types of documents supported even
4663 by just LaTeX that we can't hope to cover every different possibility or
4664 problem you might encounter.
4665 The LyX users' list is frequented by people with lots of experience with
4666 layout design who are willing to share what they've learned, so please
4667 feel free to ask questions there.
4670 \begin_layout Standard
4673 As you prepare to write a new layout, it is extremely helpful to look at
4674 the layouts distributed with LyX.
4675 If you write a LyX layout for a LaTeX document class that might also be
4676 used by others, or write a module that might be useful to others, then
4677 you should consider posting your layout to the
4678 \begin_inset CommandInset href
4680 name "layout section on the LyX wiki"
4681 target "http://wiki.lyx.org/Layouts/Layouts"
4685 or even to the LyX developers' list, so that it might be included in LyX
4690 \begin_layout Plain Layout
4693 Note that LyX is licensed under the General Public License, so any material
4694 that is contributed to LyX must be similarly licensed.
4702 \begin_layout Subsection
4704 \begin_inset CommandInset label
4706 name "sub:Layout-Module"
4713 \begin_layout Standard
4716 We have spoken to this point about `layout files'.
4717 But there are different sorts of files that contain layout information.
4718 Layout files, strictly so called, have the
4719 \begin_inset Flex Code
4722 \begin_layout Plain Layout
4730 extension and provide LyX with information about document classes.
4731 As of LyX 1.6, however, layout information can also be contained in layout
4737 \begin_inset Flex Code
4740 \begin_layout Plain Layout
4749 Modules are to LaTeX packages much as layouts are to LaTeX classes, and
4750 some modules—such as the
4751 \begin_inset Flex Code
4754 \begin_layout Plain Layout
4762 module—specifically provide support for one package.
4763 In a sense, layout modules are similar to included
4767 \begin_layout Plain Layout
4770 These can have any extension, but by convention have the
4771 \begin_inset Flex Code
4774 \begin_layout Plain Layout
4788 \begin_inset Flex Code
4791 \begin_layout Plain Layout
4799 —in that modules are not specific to a given document class but may be used
4800 with many different classes.
4801 The difference is that using an included file with
4802 \begin_inset Flex Code
4805 \begin_layout Plain Layout
4813 requires editing that file.
4814 Modules, by contrast, are selected in the
4815 \begin_inset Flex MenuItem
4818 \begin_layout Plain Layout
4821 Document\SpecialChar \menuseparator
4830 \begin_layout Standard
4833 Building modules is the easiest way to get started with layout editing,
4834 since it can be as simple as adding a single new paragraph style or flex
4836 But modules may, in principle, contain anything a layout file can contain.
4839 \begin_layout Standard
4842 After creating a new module and copying it to the
4843 \begin_inset Flex Code
4846 \begin_layout Plain Layout
4854 folder, you will need to reconfigure and then restart LyX for the module
4855 to appear in the menu.
4856 However, changes you make to the module will be seen immediately, if you
4858 \begin_inset Flex MenuItem
4861 \begin_layout Plain Layout
4864 Document\SpecialChar \menuseparator
4870 , highlight something, and then hit
4871 \begin_inset Quotes eld
4875 \begin_inset Quotes erd
4881 It is strongly recommended that you save your work before doing this
4886 it is strongly recommended that you not attempt to edit modules while simultaneo
4887 usly working on actual documents
4890 Though of course the developers strive to keep LyX stable in such situations,
4891 syntax errors and the like in your module file could cause strange behavior.
4894 \begin_layout Subsubsection
4898 \begin_layout Standard
4901 Modules are to LyX as packages are to LaTeX.
4902 Sometimes, however, you find yourself wanting a specific inset or character
4903 style just for one document and writing a module that will also be available
4904 to other documents makes little sense.
4905 What you need is LyX's
4906 \begin_inset Quotes eld
4910 \begin_inset Quotes erd
4916 \begin_layout Standard
4919 You will find it under
4921 Document\SpecialChar \menuseparator
4922 Settings\SpecialChar \menuseparator
4926 The large text box allows you to enter anything that you might enter in
4927 a layout file or module.
4928 You can think of a document's local layout, in fact, as a module that belongs
4930 So, in particular, you must enter a
4931 \begin_inset Flex Code
4934 \begin_layout Plain Layout
4943 Any format is acceptable, but one would normally use the format current
4945 (In LyX 2.0, the current layout format is 35.) You should be aware that local
4946 layout is not supported by versions of LyX prior to 1.6, so you should not
4947 use it if you want to be able to export your document to LyX 1.5 or earlier
4948 (without, that is, losing the local layout information).
4949 If you wish to be able to export to 1.6---local layout is supported in 1.6,
4950 though there is no UI for it---then you should use format 11 and, of course,
4951 use only layout constructs that were available in LyX 1.6.
4954 \begin_layout Standard
4957 When you have entered something in the
4958 \begin_inset Flex Code
4961 \begin_layout Plain Layout
4969 pane, LyX will enable the
4970 \begin_inset Quotes eld
4974 \begin_inset Quotes erd
4977 button at the bottom.
4978 Clicking this button will cause LyX to determine whether what you have
4979 entered is valid layout information for the chosen format.
4980 LyX will report the result but, unfortunately, will not tell you what errors
4981 there might have been.
4982 These will be written to the terminal, however, if LyX is started from
4984 You will not be permitted to save your local layout until you have entered
4988 \begin_layout Standard
4991 The warnings at the end of the previous section apply here, too.
4992 Do not play with local layout while you are actually working, especially
4993 if you have not saved your document.
4994 That said, using local layout with a test document can be a very convenient
4995 way to try out layout ideas, or even to start developing a module.
4998 \begin_layout Subsection
5000 \begin_inset Flex MenuItem
5003 \begin_layout Plain Layout
5012 \begin_layout Standard
5015 There are two situations you are likely to encounter when wanting to support
5016 a new LaTeX document class, involving style (
5017 \begin_inset Flex Code
5020 \begin_layout Plain Layout
5028 ) files and LaTeX2e class (
5029 \begin_inset Flex Code
5032 \begin_layout Plain Layout
5041 Supporting a style file is usually fairly easy.
5042 Supporting a new class file is a bit harder.
5043 We'll discuss the former in this section and the latter in the next.
5044 Similar remarks apply, of course, if you want to support a new DocBook
5048 \begin_layout Standard
5051 The easier case is the one in which your new document class is provided
5052 as a style file that is to be used in conjunction with an already supported
5054 For the sake of the example, we'll assume that the style file is called
5056 \begin_inset Flex MenuItem
5059 \begin_layout Plain Layout
5067 and that it is meant to be used with
5068 \begin_inset Flex MenuItem
5071 \begin_layout Plain Layout
5079 , which is a standard class.
5083 \begin_layout Standard
5086 Start by copying the existing class's layout file into your local directory:
5090 \begin_layout Plain Layout
5093 Of course, which directory is your local directory will vary by platform,
5094 and LyX allows you to specify your local directory on startup, too, using
5096 \begin_inset Flex Code
5099 \begin_layout Plain Layout
5115 \begin_layout LyX-Code
5116 cp report.layout ~/.lyx/layouts/myclass.layout
5119 \begin_layout Standard
5123 \begin_inset Flex Code
5126 \begin_layout Plain Layout
5134 and change the line:
5137 \begin_layout LyX-Code
5140 DeclareLaTeXClass{report}
5143 \begin_layout Standard
5149 \begin_layout LyX-Code
5152 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
5155 \begin_layout Standard
5161 \begin_layout LyX-Code
5163 \begin_inset Newline newline
5169 \begin_inset Newline newline
5175 \begin_layout Standard
5178 near the top of the file.
5181 \begin_layout Standard
5184 Start LyX and select
5185 \begin_inset Flex MenuItem
5188 \begin_layout Plain Layout
5191 Tools\SpecialChar \menuseparator
5198 Then restart LyX and try creating a new document.
5200 \begin_inset Flex MenuItem
5203 \begin_layout Plain Layout
5211 " as a document class option in the
5212 \begin_inset Flex MenuItem
5215 \begin_layout Plain Layout
5218 Document\SpecialChar \menuseparator
5225 It is likely that some of the sectioning commands and such in your new
5226 class will work differently from how they worked in the base class—
5227 \begin_inset Flex Code
5230 \begin_layout Plain Layout
5238 in this example—so you can fiddle around with the settings for the different
5239 sections if you wish.
5240 The layout information for sections is contained in
5241 \begin_inset Flex Code
5244 \begin_layout Plain Layout
5252 , but you do not need to copy and change this file.
5253 Instead, you can simply add your changes to your layout file, after the
5255 \begin_inset Flex Code
5258 \begin_layout Plain Layout
5266 , which itself includes
5267 \begin_inset Flex Code
5270 \begin_layout Plain Layout
5279 For example, you might add these lines:
5282 \begin_layout LyX-Code
5286 \begin_layout LyX-Code
5290 \begin_layout LyX-Code
5294 \begin_layout LyX-Code
5298 \begin_layout LyX-Code
5302 \begin_layout Standard
5305 to change the font for chapter headings to sans-serif.
5306 This will override (or, in this case, add to) the existing declaration
5307 for the Chapter style.
5311 \begin_layout Standard
5314 Your new package may also provide commands or environments not present in
5316 In this case, you will want to add these to the layout file.
5318 \begin_inset space ~
5322 \begin_inset CommandInset ref
5324 reference "sec:Das-Layout-Dateiformat"
5328 for information on how to do so.
5331 \begin_layout Standard
5335 \begin_inset Flex MenuItem
5338 \begin_layout Plain Layout
5346 can be used with several different document classes, and even if it cannot,
5347 you might find it easiest just to write a module that you can load with
5349 The simplest possible such module would be:
5352 \begin_layout LyX-Code
5355 DeclareLyXModule{My Package}
5358 \begin_layout LyX-Code
5362 \begin_layout LyX-Code
5363 #Support for mypkg.sty.
5366 \begin_layout LyX-Code
5368 \begin_inset Newline newline
5374 \begin_layout LyX-Code
5376 \begin_inset Newline newline
5382 \begin_layout LyX-Code
5384 \begin_inset Newline newline
5390 \begin_inset Newline newline
5396 \begin_layout Standard
5399 A more complex module might modify the behavior of some existing constructs
5400 or define some new ones.
5402 \begin_inset space ~
5406 \begin_inset CommandInset ref
5408 reference "sec:Das-Layout-Dateiformat"
5415 \begin_layout Subsection
5417 \begin_inset Flex MenuItem
5420 \begin_layout Plain Layout
5429 \begin_layout Standard
5432 There are two possibilities here.
5433 One is that the class file is itself based upon an existing document class.
5434 For example, many thesis classes are based upon
5435 \begin_inset Flex MenuItem
5438 \begin_layout Plain Layout
5447 To see whether yours is, look for a line like
5450 \begin_layout LyX-Code
5456 \begin_layout Standard
5460 If so, then you may proceed largely as in the previous section, though
5462 \begin_inset Flex Code
5465 \begin_layout Plain Layout
5473 line will be different.
5474 If your new class is
5475 \begin_inset Flex Code
5478 \begin_layout Plain Layout
5486 and it is based upon
5487 \begin_inset Flex Code
5490 \begin_layout Plain Layout
5498 , then the line should read:
5502 \begin_layout Plain Layout
5505 And it will be easiest if you save the file to
5506 \begin_inset Flex Code
5509 \begin_layout Plain Layout
5517 : LyX assumes that the document class has the same name as the layout file.
5526 \begin_layout LyX-Code
5529 DeclareLaTeXClass[thesis,book]{thesis}
5532 \begin_layout Standard
5535 If, on the other hand, the new class is not based upon an existing class,
5536 you will probably have to
5537 \begin_inset Quotes eld
5541 \begin_inset Quotes erd
5545 We strongly suggest copying an existing layout file which uses a similar
5546 LaTeX class and then modifying it, if you can do so.
5547 At least use an existing file as a starting point so you can find out what
5548 items you need to worry about.
5549 Again, the specifics are covered below.
5552 \begin_layout Subsection
5554 \begin_inset CommandInset label
5556 name "sub:Vorlagen-erstellen"
5563 \begin_layout Standard
5566 Once you have written a layout file for a new document class, you might
5567 want to consider writing a
5572 A template acts as a kind of tutorial for your layout, showing how it might
5573 be used, though containing dummy content.
5574 You can of course look at the various templates included with LyX for ideas.
5577 \begin_layout Standard
5580 Templates are created just like usual documents: using LyX.
5581 The only difference is that usual documents contain all possible settings,
5582 including the font scheme and the paper size.
5583 Usually a user doesn't want a template to overwrite his preferred settings
5584 for such parameters.
5585 For that reason, the designer of a template should remove the corresponding
5587 \begin_inset Flex Code
5590 \begin_layout Plain Layout
5601 \begin_inset Flex Code
5604 \begin_layout Plain Layout
5614 from the template LyX file.
5615 This can be done with any simple text-editor, for example
5616 \begin_inset Flex Code
5619 \begin_layout Plain Layout
5628 \begin_inset Flex Code
5631 \begin_layout Plain Layout
5642 \begin_layout Standard
5645 Put the edited template files you create in
5646 \begin_inset Flex Code
5649 \begin_layout Plain Layout
5657 , copy the ones you use from the global template directory in
5658 \begin_inset Flex Code
5661 \begin_layout Plain Layout
5669 to the same place, and redefine the template path in the
5670 \begin_inset Flex MenuItem
5673 \begin_layout Plain Layout
5676 Tools\SpecialChar \menuseparator
5677 Preferences\SpecialChar \menuseparator
5686 \begin_layout Standard
5689 Note, by the way, that there is a template which has a particular meaning:
5690 \begin_inset Newline newline
5694 \begin_inset Flex Code
5697 \begin_layout Plain Layout
5706 This template is loaded every time you create a new document with
5707 \begin_inset Flex MenuItem
5710 \begin_layout Plain Layout
5713 File\SpecialChar \menuseparator
5719 in order to provide useful defaults.
5720 To create this template from inside LyX, all you have to do is to open
5721 a document with the correct settings, and use the
5722 \begin_inset Flex MenuItem
5725 \begin_layout Plain Layout
5728 Save as Document Defaults
5736 \begin_layout Subsection
5737 Alte Layout-Dateien auf den neuesten Stand bringen
5740 \begin_layout Standard
5741 Das Format der Layout-Dateien ändert sich mit jeder LyX-Version.
5742 Daher müssen die Layout-Dateien in das neue Format konvertiert werden.
5743 Wenn LyX eine Layout-Datei eines älteren Formats liest, ruft es automatisch
5745 \begin_inset Flex Code
5748 \begin_layout Plain Layout
5754 auf um es in eine temporäre Datei im aktuellen Format zu konvertieren.
5755 Die Originaldatei wird nicht verändert.
5756 Wenn Sie die Layout-Datei öfter verwenden, dann können Sie sie permanent
5757 in das neue Format konvertieren, so dass LyX dies nicht jedes Mal tun muss.
5758 Um das zu tun, machen sie Folgendes:
5761 \begin_layout Enumerate
5763 \begin_inset Flex Code
5766 \begin_layout Plain Layout
5773 \begin_inset Flex Code
5776 \begin_layout Plain Layout
5785 \begin_layout Enumerate
5786 Rufen Sie den Befehl
5787 \begin_inset Newline newline
5791 \begin_inset Flex Code
5794 \begin_layout Plain Layout
5795 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
5801 \begin_inset Newline newline
5806 \begin_inset Flex Code
5809 \begin_layout Plain Layout
5815 der Name Ihres LyX Systemverzeichnisses ist.
5818 \begin_layout Standard
5819 Beachten Sie, das manuelle Konvertierungen keine eingefügten Dateien mit
5821 Diese müssen separat konvertiert werden.
5824 \begin_layout Section
5825 Das Layout-Dateiformat
5826 \begin_inset CommandInset label
5828 name "sec:Das-Layout-Dateiformat"
5835 \begin_layout Standard
5836 Die folgenden Abschnitte beschreiben wie Layout-Dateien aufgebaut sind und
5838 Wir empfehlen bei der Erstellung von Layouts langsam zu beginnen und sich
5839 Stück für Stück vorzuarbeiten.
5840 Es ist nicht wirklich schwer, jedoch sind die möglichen Optionen manchmal
5841 etwas erschlagend, besonders wenn man zu viele davon auf einmal ausprobiert.
5842 Am einfachsten ist es, wenn man bestehende Layout-Dateien von LyX als Beispiel
5843 nimmt oder diese umgestaltet.
5846 \begin_layout Standard
5847 Beachten Sie dass alle Tags in Layout-Dateien nicht durch Groß- und Kleinschreib
5848 ung zu unterscheiden sind.
5850 \begin_inset Flex Code
5853 \begin_layout Plain Layout
5860 \begin_inset Flex Code
5863 \begin_layout Plain Layout
5870 \begin_inset Flex Code
5873 \begin_layout Plain Layout
5880 Die möglichen Argumente für die Tags sind hinter ihnen in eckigen Klammern
5882 Das voreingestellte Argument ist
5883 \begin_inset Flex Code
5886 \begin_layout Plain Layout
5895 Wenn das Argument einen Datentyp hat wie
5896 \begin_inset Quotes gld
5900 \begin_inset Quotes grd
5904 \begin_inset Quotes gld
5908 \begin_inset Quotes grd
5911 , wird die Voreinstellung so angezeigt:
5912 \begin_inset Flex Code
5915 \begin_layout Plain Layout
5926 \begin_layout Subsection
5927 Deklaration einer neuen Textklasse
5930 \begin_layout Standard
5931 Zeilen, die mit einem
5935 beginnen, sind Kommentare.
5936 Mit einer Ausnahme: alle Textklassen sollten mit Zeilen ähnlich wie den
5940 \begin_layout LyX-Code
5943 #% Do not delete the line below; configure depends on this
5946 \begin_layout LyX-Code
5958 \begin_layout Plain Layout
5971 \begin_layout Standard
5972 Die zweite Zeile wird benötigt, wenn Sie LyX konfigurieren.
5973 Die Textklassen-Datei wird von dem LaTeX-Skript
5976 \begin_inset Flex URL
5979 \begin_layout Plain Layout
5988 gelesen, und zwar in einem speziellen Modus, in dem
5992 -Zeichen ignoriert werden.
5993 Die erste Zeile ist einfach ein LaTeX-Kommentar, in der zweiten wird die
5994 Textklasse deklariert.
5996 \begin_inset Newline newline
6003 , die mit diesen beiden Zeilen beginnt, definiert eine Textklasse mit dem
6008 und benutzt die LaTeX-Dokumentenklasse
6017 ist auch die Beschreibung, die später im Popup-Menü
6019 Dokument\SpecialChar \menuseparator
6026 \begin_layout Standard
6027 Angenommen, Sie möchten Ihre eigene Textklasse schreiben, welche die LaTeX-Doku\SpecialChar \-
6034 benutzt, in der Sie aber das Aussehen der Kopfzeile verändert haben.
6035 Wenn Sie dann Ihre Textklasse in eine Datei namens
6038 \begin_inset Newline linebreak
6043 schreiben, sollten die ersten beiden Zeilen der Datei etwa so aussehen:
6046 \begin_layout LyX-Code
6049 #% Do not delete the line below; configure depends on this
6052 \begin_layout LyX-Code
6064 \begin_layout Plain Layout
6074 XClass[article]{article (with my own headings)}
6077 \begin_layout Standard
6078 Auf diese Weise deklarieren Sie eine Textklasse
6086 \begin_layout Plain Layout
6097 verwendet und (im Popup-Menü) beschrieben wird mit:
6099 article (with my own headings)
6102 Falls Ihre Textklasse auch noch von weiteren Paketen abhängt, können Sie
6106 \begin_layout LyX-Code
6109 #% Do not delete the line below; configure depends on this
6112 \begin_layout LyX-Code
6124 \begin_layout Plain Layout
6134 XClass[article,foo.sty]{article (with my own head
6138 \begin_layout Plain Layout
6148 \begin_layout Standard
6149 Dadurch wird angezeigt, dass Ihre Klasse auch das Paket
6154 Schließlich können Sie auch Klassen für DocBook festlegen.
6155 Eine typische Deklaration sieht so aus:
6158 \begin_layout LyX-Code
6162 \begin_layout LyX-Code
6165 #% Do not delete the line below; configure depends on this
6168 \begin_layout LyX-Code
6173 DeclareDocBookClass[article]{SGML (DocBook article)}
6176 \begin_layout Standard
6177 Diesen Deklarationen kann außerdem ein optionaler Parameter zugefügt werden,
6178 der den Namen der Dokumentenklasse festlegt (hier ist aber keine Liste
6182 \begin_layout Standard
6183 Wenn Sie eine Textklasse nach Ihrem Geschmack erstellt haben, müssen Sie
6184 die Datei nur noch in das Verzeichnis
6190 \begin_layout Plain Layout
6203 kopieren und unter LyX den Menüpunkt
6205 Werkzeuge\SpecialChar \menuseparator
6207 \begin_inset space \space{}
6213 Nach dem Neustart von LyX sollte Ihre Textklasse im Popup-Menü
6215 Dokument\SpecialChar \menuseparator
6221 \begin_layout Subsection
6222 Die Modul-Deklaration
6225 \begin_layout Standard
6226 Ein Modul muss mit einer Zeile wie die folgende beginnen:
6229 \begin_layout LyX-Code
6232 DeclareLyXModule[endnotes.sty]{Endnotes}
6235 \begin_layout Standard
6236 Das benötigte Argument in geschweiften Klammern ist der Name des Moduls,
6238 \begin_inset Flex MenuItem
6241 \begin_layout Plain Layout
6242 Dokument\SpecialChar \menuseparator
6243 Einstellungen\SpecialChar \menuseparator
6250 Das Argument in eckigen Klammern ist optional: Es deklariert alle LaTeX-Pakete,
6251 die das Modul benötigt.
6252 Es ist außerdem möglich die Form
6253 \begin_inset Flex MenuItem
6256 \begin_layout Plain Layout
6262 als optionales Argument zu verwenden, das angibt, dass das Modul nur verwendet
6263 werden kann, wenn es eine Konvertierungsmöglichkeit zwischen den Formaten
6265 \begin_inset Quotes gld
6269 \begin_inset Flex Code
6272 \begin_layout Plain Layout
6279 \begin_inset Quotes grd
6283 \begin_inset Quotes gld
6287 \begin_inset Flex Code
6290 \begin_layout Plain Layout
6297 \begin_inset Quotes grd
6303 \begin_layout Standard
6304 Die Modul-Deklaration sollte gefolgt werden von Zeilen zur Beschreibung
6309 \begin_layout Plain Layout
6310 Vorzugsweise in Englisch wenn das Modul als Teil von LyX veröffentlicht
6312 Diese Beschreibung wird dann in LyXs Liste der zu übersetzenden Zeichenketten
6313 erscheinen und übersetzt werden.
6321 \begin_layout LyX-Code
6325 \begin_layout LyX-Code
6326 #Adds an endnote command, in addition to footnotes.
6330 \begin_layout LyX-Code
6331 #You will need to add
6333 theendnotes in TeX code where you
6336 \begin_layout LyX-Code
6337 #want the endnotes to appear.
6341 \begin_layout LyX-Code
6345 \begin_layout LyX-Code
6346 #Requires: somemodule | othermodule
6349 \begin_layout LyX-Code
6350 #Excludes: badmodule
6353 \begin_layout Standard
6354 Die Beschreibung wird in
6355 \begin_inset Flex MenuItem
6358 \begin_layout Plain Layout
6359 Dokument\SpecialChar \menuseparator
6360 Einstellungen\SpecialChar \menuseparator
6366 verwendet um dem Nutzer zu beschreiben was das Modul macht.
6368 \begin_inset Flex Code
6371 \begin_layout Plain Layout
6377 wird verwendet, um andere Module anzugeben, die dieses Modul verwenden
6379 \begin_inset Flex Code
6382 \begin_layout Plain Layout
6388 wird verwendet, um Module anzugeben, die mit diesem Modul nicht verwendet
6390 Beide Zeilen sind optional und, wie gezeigt, müssen mehrere Module mit
6392 \begin_inset Quotes gld
6396 \begin_inset Quotes grd
6400 Beachten Sie dass die benötigten Module disjunktiv behandelt werden:
6404 der benötigten Module muss verwendet werden.
6405 Dementsprechend darf
6409 der ausgeschlossenen Modul verwendet werden.
6410 Beachten Sie auch, dass Module durch ihren Dateinamen ohne die Dateiendung
6412 \begin_inset Flex Code
6415 \begin_layout Plain Layout
6423 \begin_inset Flex Code
6426 \begin_layout Plain Layout
6433 \begin_inset Flex Code
6436 \begin_layout Plain Layout
6445 \begin_layout Subsection
6449 \begin_layout Standard
6450 Die erste Zeile, die kein Kommentar ist, muss die Dateiformatnummer enthalten:
6453 \begin_layout Description
6454 \begin_inset Flex Code
6457 \begin_layout Plain Layout
6464 \begin_inset Flex Code
6467 \begin_layout Plain Layout
6473 ] Die Nummer des Formats der Layout-Datei.
6476 \begin_layout Standard
6477 Dieser Tag wurde mit LyX
6478 \begin_inset space ~
6482 Layout-Dateien älteren LyX-Versionen haben kein explizites Format und werden
6484 \begin_inset Flex Code
6487 \begin_layout Plain Layout
6489 \begin_inset space ~
6498 Das Format dieser LyX-Version ist 35.
6499 Aber jede LyX-Version kann ältere Versionen von Layout-Dateien lesen, so
6500 wie es ältere LyX-Dateien lesen kann.
6501 Es gibt jedoch keine Unterstützung in ältere Formate zu konvertieren.
6504 \begin_layout Subsection
6505 Allgemeine Parameter für Textklassen
6506 \begin_inset CommandInset label
6508 name "sub:Allgemeine-Parameter-für"
6515 \begin_layout Standard
6516 Nachfolgend allgemeine Parameter, die die Form der gesamten Dokumentklasse
6517 beschrei\SpecialChar \-
6524 \begin_inset Flex Code
6527 \begin_layout Plain Layout
6533 -Dateien und nicht in Modulen erscheinen müssen.
6534 Ein Modul kann jeden Layout-Tag enthalten.)
6537 \begin_layout Description
6540 \begin_inset Flex Code
6543 \begin_layout Plain Layout
6551 fügt Informationen hinzu, die im
6552 \begin_inset Flex Code
6555 \begin_layout Plain Layout
6561 -Block ausgegeben werden, wenn das Dokument als XHTML ausgegeben wird.
6562 Typischerweise wird dies verwendet werden, um CSS-Stilinformationen auszugeben,
6563 aber es kann auch für alles Andere verwendet werden, dass in
6564 \begin_inset Flex Code
6567 \begin_layout Plain Layout
6575 \begin_inset Quotes gld
6579 \begin_inset Flex Code
6582 \begin_layout Plain Layout
6589 \begin_inset Quotes grd
6595 \begin_layout Description
6596 \begin_inset Flex Code
6599 \begin_layout Plain Layout
6605 fügt Informationen zum LaTeX-Vorspann hinzu.
6607 \begin_inset Newline newline
6611 \begin_inset Quotes gld
6615 \begin_inset Flex Code
6618 \begin_layout Plain Layout
6625 \begin_inset Quotes grd
6631 \begin_layout Description
6634 \begin_inset Flex Code
6637 \begin_layout Plain Layout
6645 Definiert Formate die in der Anzeige von Bibliographie-Informationen verwendet
6648 \begin_inset space ~
6652 \begin_inset CommandInset ref
6654 reference "sub:Citation-format-description"
6660 \begin_inset Quotes gld
6664 \begin_inset Flex Code
6667 \begin_layout Plain Layout
6674 \begin_inset Quotes grd
6680 \begin_layout Description
6681 \begin_inset Flex Code
6684 \begin_layout Plain Layout
6690 Dieser Abschnitt beschreibt verschiedene globale Optionen, die von der
6691 Dokumentenklasse unterstützt werden.
6692 Eine detaillierte Beschreibung finden Sie in Abschnitt
6693 \begin_inset space ~
6697 \begin_inset CommandInset ref
6699 reference "sub:Der-Abschnitt-ClassOptions"
6705 \begin_inset Quotes gld
6709 \begin_inset Flex Code
6712 \begin_layout Plain Layout
6719 \begin_inset Quotes grd
6725 \begin_layout Description
6726 \begin_inset Flex Code
6729 \begin_layout Plain Layout
6736 \begin_inset Flex Code
6739 \begin_layout Plain Layout
6748 \begin_inset space \thinspace{}
6752 \begin_inset Flex Code
6755 \begin_layout Plain Layout
6761 ] Gibt an, ob die Textklasse standardmäßig ein- oder zweispaltig gesetzt
6764 \begin_inset Flex MenuItem
6767 \begin_layout Plain Layout
6768 Dokument\SpecialChar \menuseparator
6777 \begin_layout Description
6778 \begin_inset Flex Code
6781 \begin_layout Plain Layout
6788 \begin_inset Flex Code
6791 \begin_layout Plain Layout
6797 ] definiert die Eigenschaften für einen Zähler.
6798 Wenn der Zähler noch nicht existiert, wird er erstellt; wenn er bereits
6799 existiert, wird er modifiziert.
6801 \begin_inset Quotes gld
6805 \begin_inset Flex Code
6808 \begin_layout Plain Layout
6815 \begin_inset Quotes grd
6819 \begin_inset Newline newline
6823 \begin_inset space ~
6827 \begin_inset CommandInset ref
6829 reference "sub:Zähler"
6833 für Details zu Zählern.
6836 \begin_layout Description
6837 \begin_inset Flex Code
6840 \begin_layout Plain Layout
6846 Definiert den Standardzeichensatz für die Anzeige des Dokuments.
6847 Eine genauere Beschreibung finden Sie in Abschnitt
6848 \begin_inset space ~
6852 \begin_inset CommandInset ref
6854 reference "sub:Beschreibung-des-Zeichensatzes"
6860 \begin_inset Quotes gld
6864 \begin_inset Flex Code
6867 \begin_layout Plain Layout
6874 \begin_inset Quotes grd
6880 \begin_layout Description
6881 \begin_inset Flex Code
6884 \begin_layout Plain Layout
6891 \begin_inset Flex Code
6894 \begin_layout Plain Layout
6900 ] spezifiziert ein Modul, das standardmäßig zu dieser Dokumentklasse hinzugefügt
6902 <Modul> ist der Dateiname ohne die Dateiendung
6903 \begin_inset Flex Code
6906 \begin_layout Plain Layout
6913 Der Nutzer kann das Modul zwar immer noch entfernen, aber es bleibt von
6915 (Dies gilt nur für neue Dateien oder wenn diese Klasse für ein existierendes
6916 Dokument gewählt wird.)
6919 \begin_layout Description
6920 \begin_inset Flex Code
6923 \begin_layout Plain Layout
6930 \begin_inset Flex Code
6933 \begin_layout Plain Layout
6939 ] Dies ist das Layout bzw.
6940 \begin_inset space \space{}
6943 der Stil, der für neu angelegte Absätze verwendet wird.
6944 Normalerweise ist das
6945 \begin_inset Flex MenuItem
6948 \begin_layout Plain Layout
6955 Fehlt dieser Eintrag, wird das erste definierte Layout verwendet; dennoch
6957 \begin_inset Flex Code
6960 \begin_layout Plain Layout
6969 \begin_layout Description
6970 \begin_inset Flex Code
6973 \begin_layout Plain Layout
6980 \begin_inset Flex Code
6983 \begin_layout Plain Layout
6989 ] zeigt an, dass das genannte Modul (das durch den Dateinamen ohne die Endung
6991 \begin_inset Flex Code
6994 \begin_layout Plain Layout
7000 angegeben wird) in dieser Dokumentklasse nicht benutzt werden kann.
7001 Dies könnte in einem Journal-spezifischen Layout benutzt werden, um zum
7002 Beispiel die Verwendung des Moduls
7003 \begin_inset Flex Code
7006 \begin_layout Plain Layout
7012 zu verhindern, das Theoreme abschnittsweise nummeriert.
7017 in einem Modul benutzt werden.
7018 Module haben ihre eigene Methode andere Module auszuschließen (siehe Abschnitt
7019 \begin_inset space ~
7023 \begin_inset CommandInset ref
7025 reference "sub:Layout-Module"
7032 \begin_layout Description
7033 \begin_inset Flex Code
7036 \begin_layout Plain Layout
7042 definiert ein neues Gleitobjekt.
7044 \begin_inset space ~
7048 \begin_inset CommandInset ref
7050 reference "sub:Gleitobjekte"
7056 \begin_inset Quotes gld
7060 \begin_inset Flex Code
7063 \begin_layout Plain Layout
7070 \begin_inset Quotes grd
7076 \begin_layout Description
7077 \begin_inset Flex Code
7080 \begin_layout Plain Layout
7086 Informationen, die im
7087 \begin_inset Flex Code
7090 \begin_layout Plain Layout
7096 -Block ausgegeben werden, wenn das Dokument als XHTML ausgegeben wird.
7097 Beachten Sie, dass dies jede vorhergehende
7098 \begin_inset Flex Code
7101 \begin_layout Plain Layout
7108 \begin_inset Flex Code
7111 \begin_layout Plain Layout
7117 -Deklaration überschreibt.
7119 \begin_inset Flex Code
7122 \begin_layout Plain Layout
7128 wenn Sie Material zum Vorspann hinzufügen wollen.) Muss mit
7129 \begin_inset Quotes gld
7133 \begin_inset Flex Code
7136 \begin_layout Plain Layout
7143 \begin_inset Quotes grd
7149 \begin_layout Description
7150 \begin_inset Flex Code
7153 \begin_layout Plain Layout
7160 \begin_inset Flex Code
7163 \begin_layout Plain Layout
7170 \begin_inset space \space{}
7173 der Stil, der für das Inhaltsverzeichnis, das Literaturverzeichnis etc.
7174 \begin_inset space \space{}
7177 verwendet werden soll, wenn das Dokument als HTML exportiert wird.
7178 Für Artikel sollte dies normalerweise
7179 \begin_inset Flex Code
7182 \begin_layout Plain Layout
7189 \begin_inset Flex Code
7192 \begin_layout Plain Layout
7199 Wenn es nicht angegeben wird, wird LyX versuchen herauszufinden, welches
7200 Layout zu benutzen ist.
7203 \begin_layout Description
7204 \begin_inset Flex Code
7207 \begin_layout Plain Layout
7214 \begin_inset Flex Code
7217 \begin_layout Plain Layout
7223 ] Ändert die Eigenschaften des angegebenen Zählers.
7224 Wenn dieser nicht existiert, wird die Anweisung ignoriert.
7226 \begin_inset Quotes gld
7230 \begin_inset Flex Code
7233 \begin_layout Plain Layout
7240 \begin_inset Quotes grd
7244 \begin_inset Newline newline
7248 \begin_inset space ~
7252 \begin_inset CommandInset ref
7254 reference "sub:Zähler"
7258 für Details zu Zählern.
7261 \begin_layout Description
7262 \begin_inset Flex Code
7265 \begin_layout Plain Layout
7272 \begin_inset Flex Code
7275 \begin_layout Plain Layout
7281 ] Ändert die Eigenschaften des angegebenen Paragraphstils.
7282 Wenn dieser nicht existiert, wird die Anweisung ignoriert.
7284 \begin_inset Quotes gld
7288 \begin_inset Flex Code
7291 \begin_layout Plain Layout
7298 \begin_inset Quotes grd
7304 \begin_layout Description
7305 \begin_inset Flex Code
7308 \begin_layout Plain Layout
7315 \begin_inset Flex Code
7318 \begin_layout Plain Layout
7324 ] Hiermit können Sie andere Dateien einbinden, die Definitionen für Textklassen
7326 Damit können Sie unnötige Mehrfachdefinitionen vermeiden.
7327 Beispiele sind die Standard-Layout-Dateien, z.
7328 \begin_inset space \thinspace{}
7333 \begin_inset Flex Code
7336 \begin_layout Plain Layout
7342 , die ein Großteil der Standardlayouts enthalten.
7345 \begin_layout Description
7346 \begin_inset Flex Code
7349 \begin_layout Plain Layout
7356 \begin_inset Flex Code
7359 \begin_layout Plain Layout
7365 ] Dieser Abschnitt definiert das Layout einer Einfügung (neu).
7366 Es kann auf eine vorhandene Einfügung angewendet werden oder eine neue,
7367 benutzerdefinierte, zum Beispiel einen neuen Zeichenstil.
7369 \begin_inset Quotes gld
7373 \begin_inset Flex Code
7376 \begin_layout Plain Layout
7383 \begin_inset Quotes grd
7387 \begin_inset Newline newline
7391 \begin_inset space ~
7395 \begin_inset CommandInset ref
7397 reference "sub:Flexible-Einfügungen-und"
7401 enthält weitere Einzelheiten.
7404 \begin_layout Description
7405 \begin_inset Flex Code
7408 \begin_layout Plain Layout
7415 \begin_inset Flex Code
7418 \begin_layout Plain Layout
7424 ] ist ein String dessen Länge die Breite des linken Randes festlegt, zum
7426 \begin_inset Quotes gld
7430 \begin_inset Flex Code
7433 \begin_layout Plain Layout
7440 \begin_inset Quotes grd
7446 \begin_layout Description
7447 \begin_inset Flex Code
7450 \begin_layout Plain Layout
7457 \begin_inset Flex Code
7460 \begin_layout Plain Layout
7466 ] Löscht einen existierenden Zähler; üblicherweise einen, der in einer eingefügt
7467 en Datei definiert wurde.
7470 \begin_layout Description
7471 \begin_inset Flex Code
7474 \begin_layout Plain Layout
7481 \begin_inset Flex Code
7484 \begin_layout Plain Layout
7490 ] Löscht ein vorhandenes Gleitobjekt.
7491 Dies ist dann nützlich, wenn Sie ein Gleitobjekt, das in einer eingefügten
7492 Datei definiert wurde, nicht verwenden wollen.
7495 \begin_layout Description
7496 \begin_inset Flex Code
7499 \begin_layout Plain Layout
7506 \begin_inset Flex Code
7509 \begin_layout Plain Layout
7515 ] Löscht ein existierendes Layout bzw.
7516 \begin_inset space \space{}
7522 \begin_layout Description
7523 \begin_inset Flex Code
7526 \begin_layout Plain Layout
7533 \begin_inset Flex Code
7536 \begin_layout Plain Layout
7542 ] Das Dateiformat (wie es in den LyX-Voreinstellungen definiert ist) das
7543 von dieser Dokumentklasse erzeugt wird.
7544 Es ist hauptsächlich nützlich wenn
7545 \begin_inset Flex Code
7548 \begin_layout Plain Layout
7555 \begin_inset Flex Code
7558 \begin_layout Plain Layout
7564 gesetzt ist und man einen neuen Typ eines
7565 \begin_inset Quotes gld
7569 \begin_inset Quotes grd
7572 -Dokuments definieren will.
7574 \begin_inset Quotes gld
7578 \begin_inset Flex Code
7581 \begin_layout Plain Layout
7588 \begin_inset Quotes grd
7592 \begin_inset Quotes gld
7596 \begin_inset Flex Code
7599 \begin_layout Plain Layout
7606 \begin_inset Quotes grd
7609 zurückgesetzt wenn der entsprechende
7610 \begin_inset Flex Code
7613 \begin_layout Plain Layout
7619 -Parameter gefunden wird.
7622 \begin_layout Description
7623 \begin_inset Flex Code
7626 \begin_layout Plain Layout
7633 \begin_inset Flex Code
7636 \begin_layout Plain Layout
7647 \begin_inset Flex Code
7650 \begin_layout Plain Layout
7657 \begin_inset Flex Code
7660 \begin_layout Plain Layout
7666 ] Gibt an welche Dokumentart diese Klasse erzeugt.
7669 \begin_layout Description
7670 \begin_inset Flex Code
7673 \begin_layout Plain Layout
7680 \begin_inset Flex Code
7683 \begin_layout Plain Layout
7692 \begin_inset Flex Code
7695 \begin_layout Plain Layout
7702 \begin_inset Flex Code
7705 \begin_layout Plain Layout
7711 ] Der Standard-Seitenstil.
7713 \begin_inset Flex MenuItem
7716 \begin_layout Plain Layout
7717 Dokument\SpecialChar \menuseparator
7726 \begin_layout Description
7727 \begin_inset Flex Code
7730 \begin_layout Plain Layout
7736 Definiert den Vorspann für das LaTeX-Dokument.
7737 Beachten Sie, dass dies jede vorhergehende
7738 \begin_inset Flex Code
7741 \begin_layout Plain Layout
7748 \begin_inset Flex Code
7751 \begin_layout Plain Layout
7757 -Deklaration überschreibt.
7759 \begin_inset Flex Code
7762 \begin_layout Plain Layout
7768 wenn Sie Material zum Vorspann hinzufügen wollen.) Muss mit
7769 \begin_inset Quotes gld
7773 \begin_inset Flex Code
7776 \begin_layout Plain Layout
7783 \begin_inset Quotes grd
7789 \begin_layout Description
7790 \begin_inset Flex Code
7793 \begin_layout Plain Layout
7800 \begin_inset Flex Code
7803 \begin_layout Plain Layout
7810 \begin_inset Flex Code
7813 \begin_layout Plain Layout
7822 \begin_inset space \thinspace{}
7826 \begin_inset Flex Code
7829 \begin_layout Plain Layout
7835 ] zeigt an, ob die Klasse bereits die Funktion
7836 \begin_inset Flex Code
7839 \begin_layout Plain Layout
7846 Eine Funktion ist im Allgemeinen der Name eines Paketes (z.
7847 \begin_inset space \thinspace{}
7851 \begin_inset space \space{}
7855 \begin_inset Flex Code
7858 \begin_layout Plain Layout
7865 \begin_inset Flex Code
7868 \begin_layout Plain Layout
7874 ) oder ein Makro (z.
7875 \begin_inset space \thinspace{}
7879 \begin_inset space \space{}
7883 \begin_inset Flex Code
7886 \begin_layout Plain Layout
7893 \begin_inset Flex Code
7896 \begin_layout Plain Layout
7904 \begin_inset space ~
7908 \begin_inset CommandInset ref
7910 reference "chap:Liste-von-Funktionen"
7914 für eine Liste der Funktionen.
7917 \begin_layout Description
7918 \begin_inset Flex Code
7921 \begin_layout Plain Layout
7928 \begin_inset Flex Code
7931 \begin_layout Plain Layout
7937 ] zeigt an, dass dieses Layout die Funktionalität des Moduls
7938 \begin_inset Flex Code
7941 \begin_layout Plain Layout
7947 anbietet, das als Dateiname ohne die Erweiterung
7952 Dies wird typischerweise benutzt, wenn das Layout das Modul direkt benutzt
7954 \begin_inset Flex Code
7957 \begin_layout Plain Layout
7964 Es könnte auch in einem Modul benutzt werden, das eine andere Implementation
7965 derselben Funktion liefert.
7968 \begin_layout Description
7969 \begin_inset Flex Code
7972 \begin_layout Plain Layout
7979 \begin_inset Flex Code
7982 \begin_layout Plain Layout
7992 zeigt an, ob die Klasse die Funktion
7993 \begin_inset Flex Code
7996 \begin_layout Plain Layout
8003 Mehrfache Funktionen müssen durch Komma getrennt werden Beachten Sie, dass
8004 Sie nur unterstützte Funktionen anfordern können.
8006 \begin_inset space ~
8010 \begin_inset CommandInset ref
8012 reference "chap:Liste-von-Funktionen"
8016 für eine Liste der Funktionen.)
8019 \begin_layout Description
8020 \begin_inset Flex Code
8023 \begin_layout Plain Layout
8030 \begin_inset Flex Code
8033 \begin_layout Plain Layout
8039 ] ist ein String dessen Länge die Breite des rechten Randes festlegt, zum
8041 \begin_inset Quotes gld
8045 \begin_inset Flex Code
8048 \begin_layout Plain Layout
8055 \begin_inset Quotes grd
8061 \begin_layout Description
8062 \begin_inset Flex Code
8065 \begin_layout Plain Layout
8072 \begin_inset Flex Code
8075 \begin_layout Plain Layout
8081 ] legt die Nummerierungstiefe fest; korrespondiert mit dem LaTeX-Zähler
8083 \begin_inset Flex Code
8086 \begin_layout Plain Layout
8095 \begin_layout Description
8096 \begin_inset Flex Code
8099 \begin_layout Plain Layout
8106 \begin_inset Flex Code
8109 \begin_layout Plain Layout
8118 \begin_inset space \thinspace{}
8122 \begin_inset Flex Code
8125 \begin_layout Plain Layout
8131 ] Gibt an, ob der Text standardmäßig für ein- oder für zweiseitigen Druck
8134 \begin_inset Flex MenuItem
8137 \begin_layout Plain Layout
8138 Dokument\SpecialChar \menuseparator
8147 \begin_layout Description
8148 \begin_inset Flex Code
8151 \begin_layout Plain Layout
8158 \begin_inset Flex Code
8161 \begin_layout Plain Layout
8167 ] definiert einen neuen Absatzstil.
8168 Wenn er bereits existiert, werden stattdessen einige seiner Parameter neu
8171 \begin_inset Quotes gld
8175 \begin_inset Flex Code
8178 \begin_layout Plain Layout
8185 \begin_inset Quotes grd
8189 \begin_inset Newline newline
8193 \begin_inset space ~
8197 \begin_inset CommandInset ref
8199 reference "sub:Einzelne-Absatz-Layouts"
8203 für mehr über Absatzstile.
8206 \begin_layout Description
8207 \begin_inset Flex Code
8210 \begin_layout Plain Layout
8217 \begin_inset Flex Code
8220 \begin_layout Plain Layout
8226 ] ist der Name des Befehls oder der Umgebung, der für
8227 \begin_inset Flex Code
8230 \begin_layout Plain Layout
8236 benutzt werden soll.
8239 \begin_layout Description
8240 \begin_inset Flex Code
8243 \begin_layout Plain Layout
8250 \begin_inset Flex Code
8253 \begin_layout Plain Layout
8262 \begin_inset Flex Code
8265 \begin_layout Plain Layout
8271 ] gibt an, wie der Dokumenttitel aussehen soll.
8273 \begin_inset Flex Code
8276 \begin_layout Plain Layout
8282 bedeutet, dass das Makro namens
8283 \begin_inset Flex Code
8286 \begin_layout Plain Layout
8292 nach dem letzten Layout mit
8293 \begin_inset Quotes gld
8297 \begin_inset Flex Code
8300 \begin_layout Plain Layout
8302 \begin_inset space ~
8311 \begin_inset Quotes grd
8314 gesetzt werden soll.
8316 \begin_inset Flex Code
8319 \begin_layout Plain Layout
8325 ist für den Fall, dass alle Layouts mit
8326 \begin_inset Quotes gld
8330 \begin_inset Flex Code
8333 \begin_layout Plain Layout
8335 \begin_inset space ~
8344 \begin_inset Quotes grd
8348 \begin_inset Flex Code
8351 \begin_layout Plain Layout
8357 -Umgebung gesetzt werden sollen.
8360 \begin_layout Description
8361 \begin_inset Flex Code
8364 \begin_layout Plain Layout
8371 \begin_inset Flex Code
8374 \begin_layout Plain Layout
8380 ] legt fest, bis zu welcher Tiefe das Inhaltsverzeichnis gehen soll; korrespondi
8381 ert mit dem LaTeX-Zähler
8382 \begin_inset Flex Code
8385 \begin_layout Plain Layout
8394 \begin_layout Subsection
8400 \begin_inset CommandInset label
8402 name "sub:Der-Abschnitt-ClassOptions"
8409 \begin_layout Standard
8411 \begin_inset Flex Code
8414 \begin_layout Plain Layout
8420 kann folgende Einträge enthalten:
8423 \begin_layout Description
8424 \begin_inset Flex Code
8427 \begin_layout Plain Layout
8434 \begin_inset Flex Code
8437 \begin_layout Plain Layout
8443 ] Eine Liste verfügbarer Größen für den Hauptzeichensatz; die Einträge werden
8445 \begin_inset Quotes gld
8449 \begin_inset Flex Code
8452 \begin_layout Plain Layout
8459 \begin_inset Quotes grd
8465 \begin_layout Description
8466 \begin_inset Flex Code
8469 \begin_layout Plain Layout
8475 wird benutzt, um die DTD-Zeile mit XML-basierten Klassen zu setzen.
8477 \begin_inset Quotes gld
8480 -//OASIS//DTD DocBook V4.2//EN
8481 \begin_inset Quotes grd
8487 \begin_layout Description
8488 \begin_inset Flex Code
8491 \begin_layout Plain Layout
8498 \begin_inset Flex Code
8501 \begin_layout Plain Layout
8507 ] Sonstige Optionen für die Dokumentenklasse, die durch Komma getrennt werden.
8509 \begin_inset Flex Code
8512 \begin_layout Plain Layout
8524 Befehl als optionales Argument übergeben.
8527 \begin_layout Description
8528 \begin_inset Flex Code
8531 \begin_layout Plain Layout
8538 \begin_inset Flex Code
8541 \begin_layout Plain Layout
8542 string="empty|plain|headings|fancy"
8547 ] Eine Liste verfügbarer Seitenstile; die Einträge werden mit
8548 \begin_inset Quotes gld
8552 \begin_inset Flex Code
8555 \begin_layout Plain Layout
8562 \begin_inset Quotes grd
8568 \begin_layout Standard
8570 \begin_inset Flex Code
8573 \begin_layout Plain Layout
8580 \begin_inset Quotes gld
8584 \begin_inset Flex Code
8587 \begin_layout Plain Layout
8594 \begin_inset Quotes grd
8600 \begin_layout Subsection
8601 Einzelne Absatz-Layouts
8602 \begin_inset CommandInset label
8604 name "sub:Einzelne-Absatz-Layouts"
8611 \begin_layout Standard
8612 Eine Layoutbeschreibung für einen Absatz sieht wie folgt aus
8616 \begin_layout Plain Layout
8617 Sie können mit diesem Ausdruck entweder ein neues Layout definieren oder
8618 aber ein bereits definiertes umdefinieren.
8627 \begin_layout LyX-Code
8634 \begin_layout LyX-Code
8638 \begin_layout LyX-Code
8642 \begin_layout Standard
8643 Innerhalb des Blocks sind folgende Befehle erlaubt:
8646 \begin_layout Description
8647 \begin_inset Flex Code
8650 \begin_layout Plain Layout
8657 \begin_inset Flex Code
8660 \begin_layout Plain Layout
8665 , left, right, center
8670 ] Gibt an, ob der Text im Blocksatz linksbündig, rechtsbündig oder zentriert
8674 \begin_layout Description
8675 \begin_inset Flex Code
8678 \begin_layout Plain Layout
8685 \begin_inset Flex Code
8688 \begin_layout Plain Layout
8693 , left, right, center
8698 ] Eine Liste von möglichen Textausrichtungen, die durch Kommata voneinander
8700 (Einige LaTeX-Stile verbieten bestimmte Ausrichtungen, weil sie keinen
8702 Beispielsweise sollte in einer nummerierten Aufzählung der Text nicht rechtsbün
8703 dig oder zentriert gesetzt werden.)
8706 \begin_layout Description
8707 \begin_inset Flex Code
8710 \begin_layout Plain Layout
8716 Beachten Sie, dass dies alle vorhergehenden
8717 \begin_inset Flex Code
8720 \begin_layout Plain Layout
8726 -Dekla\SpecialChar \-
8727 ration für diesen Stil überschreibt.
8729 \begin_inset Quotes gld
8733 \begin_inset Flex Code
8736 \begin_layout Plain Layout
8743 \begin_inset Quotes grd
8748 \begin_inset space ~
8752 \begin_inset CommandInset ref
8754 reference "sub:I18n"
8758 für Details zur Verwendung.
8761 \begin_layout Description
8762 \begin_inset Flex Code
8765 \begin_layout Plain Layout
8772 \begin_inset Flex Code
8775 \begin_layout Plain Layout
8785 \begin_layout Plain Layout
8786 \begin_inset Quotes gld
8790 \begin_inset Quotes grd
8793 ist eine Gleitkommazahl, wie
8794 \begin_inset Quotes gld
8798 \begin_inset Quotes grd
8806 Der vertikale Abstand, der die letzte Serie von Absätzen vom folgenden
8808 Wenn der nächste Paragraph einen anderen Stil hat, werden die Abstände
8809 nicht einfach addiert, sondern das Maximum wird verwendet.
8812 \begin_layout Description
8813 \begin_inset Flex Code
8816 \begin_layout Plain Layout
8823 \begin_inset Flex Code
8826 \begin_layout Plain Layout
8832 ] ist die Kategorie für diesen Stil.
8833 Sie wird benutzt, um zugehörige Stile in der Layout-Kombobox der Werkzeugleiste
8835 Jeder beliebige String kann benutzt werden, aber es ist sinnvoll vorhandene
8838 gorien zusammen mit Ihren eigenen Stilen zu benutzen.
8841 \begin_layout Description
8842 \begin_inset Flex Code
8845 \begin_layout Plain Layout
8851 ist die Tiefe des XML-Befehls und wird nur für XML-Formate benutzt.
8854 \begin_layout Description
8855 \begin_inset Flex Code
8858 \begin_layout Plain Layout
8865 \begin_inset Flex Code
8868 \begin_layout Plain Layout
8874 ] Kopiert alle Eigenschaften eines bereits definierten Layouts in das aktuelle.
8877 \begin_layout Description
8878 \begin_inset Flex Code
8881 \begin_layout Plain Layout
8888 \begin_inset Flex Code
8891 \begin_layout Plain Layout
8897 ] ist der Name eines Stils, dessen Vorspann
8901 diesem ausgegeben werden soll.
8902 Dadurch wird eine Reihenfolge von Vorspannteilen bewirkt, wenn Makro-Definition
8903 en voneinander abhängen.
8907 \begin_layout Plain Layout
8908 Beachten Sie, dass es außer dieser Funktionalität keine andere Möglichkeit
8909 gibt, Vorspanne zu ordnen.
8910 Die Reihenfolge, die Sie in einer LyX-Version sehen, kann sich in späteren
8911 Versionen ohne Warnung ändern.
8919 \begin_layout Description
8920 \begin_inset Flex Code
8923 \begin_layout Plain Layout
8930 \begin_inset Flex Code
8933 \begin_layout Plain Layout
8938 , Box, Filled_Box, Static
8947 ist der Markentyp, der am Ende eines Absatzes steht (oder mehrerer Absätze,
8949 \begin_inset Flex Code
8952 \begin_layout Plain Layout
8959 \begin_inset Newline newline
8963 \begin_inset Flex Code
8966 \begin_layout Plain Layout
8973 \begin_inset Flex Code
8976 \begin_layout Plain Layout
8983 \begin_inset Flex Code
8986 \begin_layout Plain Layout
8993 \begin_inset Newline newline
8997 \begin_inset Flex Code
9000 \begin_layout Plain Layout
9007 \begin_inset Quotes gld
9011 \begin_inset Quotes grd
9015 \begin_inset Flex Code
9018 \begin_layout Plain Layout
9025 \begin_inset Flex Code
9028 \begin_layout Plain Layout
9034 ist ein weißes oder schwarzes Quadrat, das für das Markieren eines Beweisendes
9037 \begin_inset Flex Code
9040 \begin_layout Plain Layout
9046 ist eine explizite Zeichenkette.
9049 \begin_layout Description
9050 \begin_inset Flex Code
9053 \begin_layout Plain Layout
9060 \begin_inset Flex Code
9063 \begin_layout Plain Layout
9069 ] ist eine Zeichenkette, die für einen
9070 \begin_inset Flex Code
9073 \begin_layout Plain Layout
9080 \begin_inset Newline newline
9084 \begin_inset Flex Code
9087 \begin_layout Plain Layout
9096 \begin_layout Description
9097 \begin_inset Flex Code
9100 \begin_layout Plain Layout
9106 Der Zeichensatz, der für den Textkörper
9110 die Marke verwendet wird, siehe Abschnitt
9111 \begin_inset space \space{}
9115 \begin_inset CommandInset ref
9117 reference "sub:Beschreibung-des-Zeichensatzes"
9123 \begin_inset Flex Code
9126 \begin_layout Plain Layout
9132 gesetzt, dann erhält
9133 \begin_inset Flex Code
9136 \begin_layout Plain Layout
9142 automatisch denselben Wert.
9144 \begin_inset Flex Code
9147 \begin_layout Plain Layout
9153 zuerst definiert werden.
9156 \begin_layout Description
9157 \begin_inset Flex Code
9160 \begin_layout Plain Layout
9167 \begin_inset Flex Code
9170 \begin_layout Plain Layout
9179 \begin_inset space \thinspace{}
9183 \begin_inset Flex Code
9186 \begin_layout Plain Layout
9192 ] Normalerweise erlaubt es LyX nicht, mehr als ein Leerzeichen zwischen
9194 Diese Eigenschaft kann in bestimmten Fällen umständ\SpecialChar \-
9195 lich sein, zum Beispiel,
9196 wenn ein Programmcode eingegeben werden soll.
9197 In solchen Fällen kann
9198 \begin_inset Flex Code
9201 \begin_layout Plain Layout
9208 \begin_inset Flex Code
9211 \begin_layout Plain Layout
9218 LyX erzeugt in diesem Falls sich LyX nicht im LaTeX-Modus befindet, erzeugt
9219 es für jedes zusätzliche Leerzeichen ein geschütztes Leerzeichen.
9222 \begin_layout Description
9223 \begin_inset Flex Code
9226 \begin_layout Plain Layout
9232 Diese Tags kontrollieren die XHTML-Ausgabe.
9234 \begin_inset space ~
9238 \begin_inset CommandInset ref
9240 reference "sec:Tags-for-XHTML"
9247 \begin_layout Description
9248 \begin_inset Flex Code
9251 \begin_layout Plain Layout
9257 [FIXME] (Wird nur für XML-Formate benutzt.)
9260 \begin_layout Description
9261 \begin_inset Flex Code
9264 \begin_layout Plain Layout
9271 \begin_inset Flex Code
9274 \begin_layout Plain Layout
9283 \begin_inset space \thinspace{}
9287 \begin_inset Flex Code
9290 \begin_layout Plain Layout
9297 \begin_inset Flex Code
9300 \begin_layout Plain Layout
9306 gesetzt, wird der Stil in den LaTeX-Vorspann gesetzt und nicht in den eigentlich
9308 Dies ist nützlich für Dokumentklassen, die Informationen wie den Titel
9309 und Autor im Vorspann erwarten.
9310 Beachten Sie, dass dies nur für Stile funktioniert, deren
9311 \begin_inset Flex Code
9314 \begin_layout Plain Layout
9321 \begin_inset Flex Code
9324 \begin_layout Plain Layout
9331 \begin_inset Flex Code
9334 \begin_layout Plain Layout
9343 \begin_layout Description
9344 \begin_inset Flex Code
9347 \begin_layout Plain Layout
9354 \begin_inset Flex Code
9357 \begin_layout Plain Layout
9366 \begin_inset space \thinspace{}
9370 \begin_inset Flex Code
9373 \begin_layout Plain Layout
9380 \begin_inset Flex Code
9383 \begin_layout Plain Layout
9389 gesetzt, wird der Stil als Teil des Titel-Abschnitts behandelt (siehe auch
9390 die allgemeinen Textklassen-Parameter
9391 \begin_inset Flex Code
9394 \begin_layout Plain Layout
9401 \begin_inset Flex Code
9404 \begin_layout Plain Layout
9413 \begin_layout Description
9414 \begin_inset Flex Code
9417 \begin_layout Plain Layout
9424 \begin_inset Flex Code
9427 \begin_layout Plain Layout
9433 ] Ein zusätzlicher Abstand zwischen Absätzen desselben Layouts.
9434 Wenn in einer Umgebung andere Layouts integriert werden, so werden diese
9436 \begin_inset Flex Code
9439 \begin_layout Plain Layout
9445 der Umgebung getrennt.
9446 Die kompletten Unterpunkte der Umgebung werden jedoch
9451 \begin_inset Flex Code
9454 \begin_layout Plain Layout
9462 \begin_inset Flex Code
9465 \begin_layout Plain Layout
9480 \begin_layout Description
9481 \begin_inset Flex Code
9484 \begin_layout Plain Layout
9490 [FIXME] (Wird nur für XML-Formate benutzt.)
9493 \begin_layout Description
9494 \begin_inset Flex Code
9497 \begin_layout Plain Layout
9504 \begin_inset Flex Code
9507 \begin_layout Plain Layout
9516 \begin_inset space \thinspace{}
9520 \begin_inset Flex Code
9523 \begin_layout Plain Layout
9529 ] Normalerweise ist es in LyX nicht möglich, einen Absatz leer zu lassen,
9530 da das zu einer leeren LaTeX-Ausgabe führen würde.
9531 In manchen Fällen ist das aber durchaus gewünscht: So können beispielsweise
9532 in einer Briefvorlage die benötigten Felder leer voreingestellt werden,
9533 damit keiner vergisst, sie anzugeben; in speziellen Klassen wird ein Absatz
9534 als Unterbrechung verwendet, der keinen Text enthält.
9537 \begin_layout Description
9538 \begin_inset Flex Code
9541 \begin_layout Plain Layout
9548 \begin_inset Flex Code
9551 \begin_layout Plain Layout
9557 ] Der vertikale Abstand zwischen der Marke und dem folgenden Text.
9558 Wird nur für Marken benutzt, die über dem folgenden Text stehen (
9559 \begin_inset Flex Code
9562 \begin_layout Plain Layout
9569 \begin_inset Flex Code
9572 \begin_layout Plain Layout
9573 Centered_Top_Environment
9581 \begin_layout Description
9582 \begin_inset Flex Code
9585 \begin_layout Plain Layout
9592 \begin_inset Flex Code
9595 \begin_layout Plain Layout
9601 ] ist der Name des Zählers zur automatischen Nummerierung.
9602 \begin_inset Newline newline
9609 angegeben werden, wenn
9610 \begin_inset Flex Code
9613 \begin_layout Plain Layout
9620 \begin_inset Flex Code
9623 \begin_layout Plain Layout
9630 In diesem Fall wird der Zähler jedes mal erhöht, wenn das entsprechende
9631 Layout im Dokument verwendet wird.
9632 \begin_inset Newline newline
9639 angegeben werden, wenn
9640 \begin_inset Flex Code
9643 \begin_layout Plain Layout
9650 \begin_inset Flex Code
9653 \begin_layout Plain Layout
9660 In diesem Fall ist es etwas kompliziert: Angenommen Sie haben
9661 \begin_inset Quotes eld
9665 \begin_inset Flex Code
9668 \begin_layout Plain Layout
9669 LabelCounter MeinZaehler
9675 \begin_inset Quotes erd
9678 angegeben, dann lauten die eigentlichen Zähler
9679 \begin_inset Flex Code
9682 \begin_layout Plain Layout
9689 \begin_inset Flex Code
9692 \begin_layout Plain Layout
9699 \begin_inset Flex Code
9702 \begin_layout Plain Layout
9709 \begin_inset Flex Code
9712 \begin_layout Plain Layout
9719 Diese Zähler müssen alle separat deklariert werden.
9720 \begin_inset Newline newline
9724 \begin_inset space ~
9728 \begin_inset CommandInset ref
9730 reference "sub:Zähler"
9734 für Einzelheiten zu Zählern.
9738 \begin_layout Description
9739 \begin_inset Flex Code
9742 \begin_layout Plain Layout
9748 Der Zeichensatz, der für die Marke verwendet wird.
9750 \begin_inset space \space{}
9754 \begin_inset CommandInset ref
9756 reference "sub:Beschreibung-des-Zeichensatzes"
9763 \begin_layout Description
9764 \begin_inset Flex Code
9767 \begin_layout Plain Layout
9774 \begin_inset Flex Code
9777 \begin_layout Plain Layout
9783 ] Text der angibt, wie weit die Marke eingerückt werden soll.
9786 \begin_layout Description
9787 \begin_inset Flex Code
9790 \begin_layout Plain Layout
9797 \begin_inset Flex Code
9800 \begin_layout Plain Layout
9806 ] Text der den horizontalen Abstand zwischen der Marke und dem folgenden
9808 Wird nur für Marken benutzt, die nicht über dem folgenden Text stehen.
9811 \begin_layout Description
9812 \begin_inset Flex Code
9815 \begin_layout Plain Layout
9822 \begin_inset Flex Code
9825 \begin_layout Plain Layout
9831 ] Der String, der für den
9832 \begin_inset Flex Code
9835 \begin_layout Plain Layout
9842 \begin_inset Flex Code
9845 \begin_layout Plain Layout
9853 \begin_inset Flex Code
9856 \begin_layout Plain Layout
9862 gesetzt wurde, kann der String spezielle Formatierungsbefehle enthalten,
9863 wie sie in Abschnitt
9864 \begin_inset space ~
9868 \begin_inset CommandInset ref
9870 reference "sub:Zähler"
9878 \begin_layout Description
9879 \begin_inset Flex Code
9882 \begin_layout Plain Layout
9889 \begin_inset Flex Code
9892 \begin_layout Plain Layout
9898 ] wird im Anhang anstatt
9899 \begin_inset Flex Code
9902 \begin_layout Plain Layout
9909 Beachten Sie, dass jede Definition von
9910 \begin_inset Flex Code
9913 \begin_layout Plain Layout
9920 \begin_inset Flex Code
9923 \begin_layout Plain Layout
9932 \begin_layout Description
9933 \begin_inset Flex Code
9936 \begin_layout Plain Layout
9942 [FIXME] (Wird nur für XML-Formate benutzt.)
9945 \begin_layout Description
9946 \begin_inset Flex Code
9949 \begin_layout Plain Layout
9956 \begin_inset Flex Code
9959 \begin_layout Plain Layout
9964 , Manual, Static, Top_Environment,
9965 \begin_inset Newline newline
9968 Centered_Top_Environment, Counter, Sensitive, Enumerate,
9969 \begin_inset Newline newline
9972 Itemize, Bibliography
9981 \begin_layout Description
9982 \begin_inset Flex Code
9985 \begin_layout Plain Layout
9991 bedeutet: die Marke ist das erste Wort (bis zum ersten echten Leerzeichen).
9992 Verwenden Sie geschützte Leerzeichen wenn Sie mehr als ein Wort als Marke
9997 \begin_layout Description
9998 \begin_inset Flex Code
10001 \begin_layout Plain Layout
10007 bedeutet: die Marke ist was als
10008 \begin_inset Flex Code
10011 \begin_layout Plain Layout
10020 \begin_layout Description
10021 \begin_inset Flex Code
10024 \begin_layout Plain Layout
10031 \begin_inset space ~
10035 \begin_inset space ~
10039 \begin_inset Flex Code
10042 \begin_layout Plain Layout
10043 Centered_Top_Environment
10048 sind Spezialfälle von
10049 \begin_inset Newline newline
10053 \begin_inset Flex Code
10056 \begin_layout Plain Layout
10063 Die Marke erscheint über dem Absatz, aber nur am Anfang der Umgebung oder
10064 am Anfang einer Serie von Absätzen mit diesem Layout.
10065 Dies benutzt man zum Beispiel im
10066 \begin_inset Flex MenuItem
10069 \begin_layout Plain Layout
10078 \begin_layout Description
10079 \begin_inset Flex Code
10082 \begin_layout Plain Layout
10088 ist ein Spezialfall für Beschriftungsmarken für Abbildungen und Tabellen-Gleito
10091 \begin_inset Flex Code
10094 \begin_layout Plain Layout
10100 bedeutet, dass der gedruckte Text von der Art des Gleitobjekts abhängt:
10101 Er ist fest einprogrammiert als 'GleitobjektTyp N', wobei N der Wert des
10102 Zählers des Gleitobjekttyps ist.
10103 Für den Fall, dass die Beschriftungsmarke außerhalb eines Gleitobjekts
10104 eingefügt wird, sollte
10105 \begin_inset Flex Code
10108 \begin_layout Plain Layout
10115 \begin_inset space \thinspace{}
10120 \begin_inset Quotes gld
10124 \begin_inset Quotes grd
10130 \begin_layout Description
10131 \begin_inset Flex Code
10134 \begin_layout Plain Layout
10140 definiert automatisch nummerierte Zähler.
10142 \begin_inset Flex Code
10145 \begin_layout Plain Layout
10151 wird erweitert, damit er alle
10152 \begin_inset Flex Code
10155 \begin_layout Plain Layout
10161 enthält: Das Ergebnis wird demnach zum Beispiel
10162 \begin_inset Quotes gld
10166 \begin_inset Flex Code
10169 \begin_layout Plain Layout
10180 \begin_inset Quotes grd
10185 \begin_inset space ~
10189 \begin_inset CommandInset ref
10191 reference "sub:Zähler"
10195 für weitere Informationen über Zähler.
10198 \begin_layout Description
10199 \begin_inset Flex Code
10202 \begin_layout Plain Layout
10208 erzeugt die üblichen Marken für Nummerierungen.
10209 Momentan sind diese fest auf arabische Zahlen, Kleinbuchstaben, kleine
10210 römische Zahlen und Großbuchstaben (für die 4
10211 \begin_inset space ~
10214 möglichen Schachtelungstiefen) programmiert.
10217 \begin_layout Description
10218 \begin_inset Flex Code
10221 \begin_layout Plain Layout
10227 erzeugt je nach Schachtelungstiefe verschiedene Auflistungszeichen, Diese
10228 sind ebenfalls fest programmiert.
10231 \begin_layout Description
10232 \begin_inset Flex Code
10235 \begin_layout Plain Layout
10241 wird intern von LyX verwendet und sollte nur zusammen mit
10242 \begin_inset Flex Code
10245 \begin_layout Plain Layout
10246 LatexType BibEnvironment
10255 \begin_layout Description
10256 \begin_inset Flex Code
10259 \begin_layout Plain Layout
10265 Beachten Sie, dass dies alle vorhergehenden
10266 \begin_inset Flex Code
10269 \begin_layout Plain Layout
10275 -Deklaration für diesen Stil überschreibt.
10277 \begin_inset Quotes gld
10281 \begin_inset Flex Code
10284 \begin_layout Plain Layout
10291 \begin_inset Quotes grd
10296 \begin_inset space ~
10300 \begin_inset CommandInset ref
10302 reference "sub:I18n"
10306 für Details zur Verwendung.
10309 \begin_layout Description
10310 \begin_inset Flex Code
10313 \begin_layout Plain Layout
10320 \begin_inset Flex Code
10323 \begin_layout Plain Layout
10329 ] Der LaTeX-Name für dieses Layout.
10330 Das bedeutet entweder der Name eines LaTeX-Befehls oder der einer LaTeX-Umgebun
10334 \begin_layout Description
10335 \begin_inset Flex Code
10338 \begin_layout Plain Layout
10345 \begin_inset Flex Code
10348 \begin_layout Plain Layout
10354 ] Ein optionaler Parameter für den entsprechenden
10355 \begin_inset Newline newline
10359 \begin_inset Flex Code
10362 \begin_layout Plain Layout
10369 Dieser Parameter kann innerhalb von LyX nicht mehr geändert werden.
10373 \begin_layout Description
10374 \begin_inset Flex Code
10377 \begin_layout Plain Layout
10384 \begin_inset Flex Code
10387 \begin_layout Plain Layout
10392 , Command, Environment, Item_Environment,
10393 \begin_inset Newline newline
10396 List_Environment, Bib_Environment
10401 ] Legt fest, wie das Layout in LaTeX übersetzt wird.
10405 \begin_layout Plain Layout
10406 \begin_inset Flex Code
10409 \begin_layout Plain Layout
10415 mag irreführend sein, denn dessen Regeln gelten auch für DocBook-Klassen.
10416 Siehe die DocBook Klassendateien (Dateinames
10417 \begin_inset Flex Code
10420 \begin_layout Plain Layout
10426 ) für spezielle Beispiele.
10435 \begin_layout Description
10436 \begin_inset Flex Code
10439 \begin_layout Plain Layout
10445 bewirkt nichts besonderes -- der Text wird als
10456 \begin_layout Description
10457 \begin_inset Flex Code
10460 \begin_layout Plain Layout
10466 behandelt den Text als Argument eines LaTeX-Befehls
10467 \begin_inset Newline newline
10471 \begin_inset Flex Code
10474 \begin_layout Plain Layout
10481 {\SpecialChar \ldots{}
10490 \begin_layout Description
10491 \begin_inset Flex Code
10494 \begin_layout Plain Layout
10500 behandelt den Text als Kern einer LaTeX-Umgebung
10501 \begin_inset Newline newline
10505 \begin_inset Flex Code
10508 \begin_layout Plain Layout
10515 }\SpecialChar \ldots{}
10530 \begin_layout Description
10531 \begin_inset Flex Code
10534 \begin_layout Plain Layout
10540 bewirkt dasselbe wie
10541 \begin_inset Flex Code
10544 \begin_layout Plain Layout
10550 , nur dass vor jedem Absatz ein
10551 \begin_inset Flex Code
10554 \begin_layout Plain Layout
10566 \begin_layout Description
10567 \begin_inset Flex Code
10570 \begin_layout Plain Layout
10577 \begin_inset Flex Code
10580 \begin_layout Plain Layout
10587 \begin_inset Newline newline
10591 \begin_inset Flex Code
10594 \begin_layout Plain Layout
10600 als Argument an die Umgebung übergeben wird.
10601 \begin_inset Newline newline
10605 \begin_inset Flex Code
10608 \begin_layout Plain Layout
10618 \SpecialChar \menuseparator
10621 Absatz-Einstellungen
10624 \begin_inset Marginal
10627 \begin_layout Plain Layout
10628 \begin_inset Graphics
10629 filename ../../images/layout-paragraph.png
10630 BoundingBox 0bp 6bp 20bp 20bp
10642 \begin_layout Description
10643 \begin_inset Flex Code
10646 \begin_layout Plain Layout
10653 \begin_inset Flex Code
10656 \begin_layout Plain Layout
10662 aber fügt zusätzlich das notwendige Argument (die längste Marke) zum Begin-Befe
10663 hl der Bibliografie-Umgebung ein:
10664 \begin_inset Newline newline
10668 \begin_inset Flex Code
10671 \begin_layout Plain Layout
10674 begin{thebibliography}{99}
10679 Es ist daher nur für die Bibliografie-Umgebung nützlich.
10680 Die voreingestellte längste Marke
10681 \begin_inset Quotes gld
10685 \begin_inset Quotes grd
10688 kann vom Nutzer in den Absatzeinstellungen eines Bibliografie-Eintrags
10692 \begin_layout Standard
10693 Fasst man die letzten Sachen zusammen, wird die LaTeX-Ausgabe entweder so:
10696 \begin_layout LyX-Code
10699 LatexName[LatexParam]{\SpecialChar \ldots{}
10703 \begin_layout Standard
10707 \begin_layout LyX-Code
10710 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
10716 \begin_layout Standard
10717 aussehen, abhängig vom LaTeX-Typ.
10721 \begin_layout Description
10722 \begin_inset Flex Code
10725 \begin_layout Plain Layout
10732 \begin_inset Flex Code
10735 \begin_layout Plain Layout
10741 ] Wenn ein Layout in ein anderes Layout für Umgebungen eingefügt wird, werden
10742 die Breiten der verschiedenen
10743 \begin_inset Flex Code
10746 \begin_layout Plain Layout
10752 nicht einfach addiert, sondern vorher in Abhängigkeit zur Schachtelungstiefe
10754 \begin_inset Formula $\frac{4}{\mathrm{Tiefe}+4}$
10758 Dieser Parameter wird auch dann benutzt, wenn
10759 \begin_inset Flex Code
10762 \begin_layout Plain Layout
10769 \begin_inset Flex Code
10772 \begin_layout Plain Layout
10779 \begin_inset Flex Code
10782 \begin_layout Plain Layout
10789 In diesem Fall wird der Wert zu den gegebenen manuellen oder dynamischen
10790 Rändern hinzugefügt.
10791 \begin_inset Newline newline
10794 Zum Beispiel bedeutet
10795 \begin_inset Quotes gld
10799 \begin_inset Flex Code
10802 \begin_layout Plain Layout
10809 \begin_inset Quotes grd
10812 , dass der Absatz mit der Breite eingerückt wird, die die Buchstaben
10813 \begin_inset Quotes gld
10817 \begin_inset Flex Code
10820 \begin_layout Plain Layout
10827 \begin_inset Quotes grd
10830 in der normalen Schriftart haben.
10831 man kann negative Breite erzeugen, indem man den String mit
10832 \begin_inset Quotes gld
10836 \begin_inset Flex Code
10839 \begin_layout Plain Layout
10846 \begin_inset Quotes grd
10850 Diese Art der Angabe wurde gewählt, damit der Text unabhängig von der verwendet
10851 en Bildschirmschriftart wie vorgesehen aussieht.
10854 \begin_layout Description
10855 \begin_inset Flex Code
10858 \begin_layout Plain Layout
10865 \begin_inset Flex Code
10868 \begin_layout Plain Layout
10873 , Manual, Dynamic, First_Dynamic, Right_Address_Box
10879 \begin_inset Newline newline
10882 legt fest, wie der linke Rand des Textes bestimmt wird.
10887 \begin_layout Description
10888 \begin_inset Flex Code
10891 \begin_layout Plain Layout
10897 wählt feste Randbreiten.
10901 \begin_layout Description
10902 \begin_inset Flex Code
10905 \begin_layout Plain Layout
10911 bedeutet, dass der Rand von der Einstellung der
10917 Absatz-Einstellungen
10923 \SpecialChar \menuseparator
10926 Absatz-Einstellungen
10929 \begin_inset Marginal
10932 \begin_layout Plain Layout
10933 \begin_inset Graphics
10934 filename ../../images/layout-paragraph.png
10935 BoundingBox 0bp 6bp 20bp 20bp
10945 Dies wird für hübsche Listen ohne Tabulatoren benutzt.
10949 \begin_layout Description
10950 \begin_inset Flex Code
10953 \begin_layout Plain Layout
10959 bedeutet, der linke Rand hängt von der Größe der verwendeten Markierung
10961 Dies wird zum Beispiel bei automatisch nummerierten Überschriften verwendet.
10962 Es leuchtet ein, dass die Überschrift
10963 \begin_inset Quotes gld
10966 5.4.3.2.1 Sehr lange \SpecialChar \ldots{}
10968 \begin_inset Quotes grd
10971 einen größeren linken Rand benötigt, als
10972 \begin_inset Quotes gld
10975 3.2 Sehr lange \SpecialChar \ldots{}
10977 \begin_inset Quotes grd
10984 \begin_layout Description
10985 \begin_inset Flex Code
10988 \begin_layout Plain Layout
10994 arbeitet ähnlich wie
10995 \begin_inset Flex Code
10998 \begin_layout Plain Layout
11004 , aber nur die erste Zeile wird dynamisch gesetzt, die anderen statisch.
11005 Dies wird für die LaTeX
11009 \begin_layout Plain Layout
11017 \begin_inset Flex Code
11020 \begin_layout Plain Layout
11029 \begin_layout Description
11030 \begin_inset Flex Code
11033 \begin_layout Plain Layout
11039 bedeutet, dass der Rand so gewählt wird, dass die längste Zeile des Absatzes
11040 gerade den rechten Rand berührt.
11041 Dies wird zum Setzen einer Adresse am rechten Rand der Seite eingesetzt.
11045 \begin_layout Description
11046 \begin_inset Flex Code
11049 \begin_layout Plain Layout
11056 \begin_inset Flex Code
11059 \begin_layout Plain Layout
11068 \begin_inset space \thinspace{}
11072 \begin_inset Flex Code
11075 \begin_layout Plain Layout
11082 \begin_inset Quotes gld
11086 \begin_inset Quotes grd
11089 LaTeX-Befehle innerhalb dieses Layouts durch
11090 \begin_inset Flex Code
11093 \begin_layout Plain Layout
11101 geschützt werden müssen.
11102 (Achtung: Diese Einstellung sagt nichts darüber aus, ob der Befehl an sich
11103 geschützt werden soll.)
11106 \begin_layout Description
11107 \begin_inset Flex Code
11110 \begin_layout Plain Layout
11117 \begin_inset Flex Code
11120 \begin_layout Plain Layout
11127 \begin_inset space \thinspace{}
11131 \begin_inset Flex Code
11134 \begin_layout Plain Layout
11142 ] Gibt an, ob Zeilenumbrüche in LaTeX als
11143 \begin_inset Quotes gld
11147 \begin_inset Flex Code
11150 \begin_layout Plain Layout
11161 \begin_inset Quotes grd
11164 dargestellt werden, oder nicht.
11165 Man kann dies ausschalten (Wert:
11166 \begin_inset Flex Code
11169 \begin_layout Plain Layout
11175 ), um TeX-Code in LyX komfortabler editieren zu können.
11178 \begin_layout Description
11179 \begin_inset Flex Code
11182 \begin_layout Plain Layout
11189 \begin_inset Flex Code
11192 \begin_layout Plain Layout
11201 \begin_inset space \thinspace{}
11205 \begin_inset Flex Code
11208 \begin_layout Plain Layout
11214 ] Gibt an, ob der nachfolgende Absatz einen linken Einzug haben darf oder
11217 \begin_inset Flex Code
11220 \begin_layout Plain Layout
11226 heißt, der Absatz erhält auf keinen Fall einen Einzug (z.
11227 \begin_inset space \thinspace{}
11231 nach einer Überschrift), wenn
11232 \begin_inset Flex Code
11235 \begin_layout Plain Layout
11242 \begin_inset Flex Code
11245 \begin_layout Plain Layout
11251 -) Paragraphen einen Einzug haben.
11252 (Daher beeinflusst die Einstellung nur
11253 \begin_inset Flex Code
11256 \begin_layout Plain Layout
11265 \begin_layout Description
11266 \begin_inset Flex Code
11269 \begin_layout Plain Layout
11276 \begin_inset Flex Code
11279 \begin_layout Plain Layout
11285 ] Der Name eines Layouts, das durch dieses ersetzt wurde.
11286 So können Sie ein Layout umbenennen und die Rückwärtskompatibilität erhalten.
11289 \begin_layout Description
11290 \begin_inset Flex Code
11293 \begin_layout Plain Layout
11300 \begin_inset Flex Code
11303 \begin_layout Plain Layout
11309 ] Die Zahl der optionalen Argumente, die in diesem Layout benutzt werden
11311 Dies ist zum Beispiel bei Abschnittsüberschriften hilfreich und macht nur
11313 Beachten Sie, dass in der Ausgabe die optionalen Argumente vor den benötigten
11314 stehen werden (siehe unten).
11315 Man kann also Konstrukte wie dieses hier haben:
11319 \begin_layout LyX-Code
11322 mycmd[optional1]{benötigt1}{Inhalt des Paragraphs}
11325 \begin_layout Standard
11329 \begin_layout LyX-Code
11332 mycmd[optional1]{benötigt1}[optional2]{Inhalt des Paragraphs}
11335 \begin_layout Standard
11336 zumindest nicht ohne TeX-Code (in den man alles schreiben kann).
11340 \begin_layout Description
11341 \begin_inset Flex Code
11344 \begin_layout Plain Layout
11351 \begin_inset Flex Code
11354 \begin_layout Plain Layout
11363 \begin_inset space \thinspace{}
11367 \begin_inset Flex Code
11370 \begin_layout Plain Layout
11376 ] Gibt an, dass ein Paragraph nicht durch eine leere Zeile in der LaTeX-Ausgabe
11377 abgesetzt wird, sondern nur durch einen Zeilenumbruch.
11379 \begin_inset Flex Code
11382 \begin_layout Plain Layout
11388 erlaubt dies die Emulation eines reinen Texteditors (so wie die TeX-Code
11392 \begin_layout Description
11393 \begin_inset Flex Code
11396 \begin_layout Plain Layout
11403 \begin_inset Flex Code
11406 \begin_layout Plain Layout
11412 ] Der Einzug der ersten Zeile eines Absatzes.
11414 \begin_inset Flex Code
11417 \begin_layout Plain Layout
11423 bleibt für ein bestimmtes Layout fest.
11424 Eine Ausnahme ist das Standard-Layout, denn dort kann der Einzug vom vorherigen
11426 \begin_inset Flex Code
11429 \begin_layout Plain Layout
11436 Außerdem benutzt das
11437 \begin_inset Flex Code
11440 \begin_layout Plain Layout
11446 -Layout innerhalb von Umgebungen den
11447 \begin_inset Flex Code
11450 \begin_layout Plain Layout
11456 der Umgebung und nicht den eigenen.
11458 \begin_inset Flex Code
11461 \begin_layout Plain Layout
11467 -Absätze innerhalb einer Aufzählung keinen Einzug.
11470 \begin_layout Description
11471 \begin_inset Flex Code
11474 \begin_layout Plain Layout
11481 \begin_inset Flex Code
11484 \begin_layout Plain Layout
11490 ] Der vertikale Anstand zwischen den Absätzen dieses Layouts.
11493 \begin_layout Description
11494 \begin_inset Flex Code
11497 \begin_layout Plain Layout
11504 \begin_inset Flex Code
11507 \begin_layout Plain Layout
11513 ] Der Benutzer kann in LyX wählen ob Absätze durch
11520 \begin_inset space \space{}
11531 \begin_inset Flex Code
11534 \begin_layout Plain Layout
11544 \begin_inset space \space{}
11550 \begin_inset Flex Code
11553 \begin_layout Plain Layout
11559 ignoriert und alle Absätze durch den vertikalen Abstand von
11560 \begin_inset Flex Code
11563 \begin_layout Plain Layout
11570 Die Länge dieses Abstands berechnet sich mit
11571 \begin_inset Flex Code
11574 \begin_layout Plain Layout
11576 \begin_inset space ~
11585 \begin_inset Flex Code
11588 \begin_layout Plain Layout
11594 die Höhe einer Zeile in der normalen Schrift ist.
11595 Dadurch bleibt das Aussehen mit verschiedenen Schriften gleich.
11598 \begin_layout Description
11599 \begin_inset Flex Code
11602 \begin_layout Plain Layout
11609 \begin_inset Flex Code
11612 \begin_layout Plain Layout
11621 \begin_inset space \thinspace{}
11625 \begin_inset Flex Code
11628 \begin_layout Plain Layout
11638 Legt fest, ob der Absatzinhalt unverändert ausgegeben werden soll, also
11639 ohne diverse von LaTeX benötigte Ersetzungen durchzuführen.
11642 \begin_layout Description
11643 \begin_inset Flex Code
11646 \begin_layout Plain Layout
11652 Befehle und Definitionen, die in die Präambel (vor
11653 \begin_inset Flex Code
11656 \begin_layout Plain Layout
11659 begin{docu\SpecialChar \-
11665 ) eingefügt werden, wenn dieses Layout benutzt wird.
11666 Kann verwendet werden um Pakete zu laden, Makros zu definieren usw..
11668 \begin_inset Quotes gld
11672 \begin_inset Flex Code
11675 \begin_layout Plain Layout
11682 \begin_inset Quotes grd
11688 \begin_layout Description
11689 \begin_inset Flex Code
11692 \begin_layout Plain Layout
11699 \begin_inset Flex Code
11702 \begin_layout Plain Layout
11708 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieses Paragraphs
11710 Dies erlaubt die Verwendung von Formatierten Querverweisen.
11713 \begin_layout Description
11714 \begin_inset Flex Code
11717 \begin_layout Plain Layout
11724 \begin_inset Flex Code
11727 \begin_layout Plain Layout
11733 ] Die Anzahl an benötigten Argumenten, die der LaTeX-Befehl oder die -Umgebung
11735 Für Befehle sind die benötigte Argumente
11739 als die, die mit dem Inhalt des Absatzes zu tun haben.
11740 Diese müssen nicht unbedingt angegeben werden: LyX wird leere Argumente
11741 ausgeben, wenn nötig.
11742 Beachten Sie, dass die optionalen Argumente vor den benötigten ausgegeben
11744 Siehe die obige Diskussion in der Beschreibung von
11745 \begin_inset Flex Code
11748 \begin_layout Plain Layout
11754 für weitere Informationen.
11757 \begin_layout Description
11758 \begin_inset Flex Code
11761 \begin_layout Plain Layout
11768 \begin_inset Flex Code
11771 \begin_layout Plain Layout
11777 ] legt fest, dass das Layout die Funktion
11778 \begin_inset Flex Code
11781 \begin_layout Plain Layout
11788 Siehe die Beschreibung von
11789 \begin_inset Flex Code
11792 \begin_layout Plain Layout
11799 \begin_inset space ~
11803 \begin_inset CommandInset ref
11805 reference "sub:Allgemeine-Parameter-für"
11812 \begin_layout Description
11813 \begin_inset Flex Code
11816 \begin_layout Plain Layout
11823 \begin_inset Flex Code
11826 \begin_layout Plain Layout
11833 \begin_inset Flex Code
11836 \begin_layout Plain Layout
11845 \begin_layout Description
11846 \begin_inset Flex Code
11849 \begin_layout Plain Layout
11856 \begin_inset Flex Code
11859 \begin_layout Plain Layout
11868 \begin_inset Flex Code
11871 \begin_layout Plain Layout
11878 \begin_inset Flex Code
11881 \begin_layout Plain Layout
11888 \begin_inset Flex Code
11891 \begin_layout Plain Layout
11893 \begin_inset space ~
11901 ] Dies definiert die Voreinstellung für den Zeilenabstand des Layouts.
11903 \begin_inset Flex Code
11906 \begin_layout Plain Layout
11915 \begin_inset Flex Code
11918 \begin_layout Plain Layout
11925 \begin_inset Flex Code
11928 \begin_layout Plain Layout
11934 entsprechen den Multiplikatoren 1, 1.25 und 1.667.
11935 Wenn Sie als Argument
11936 \begin_inset Flex Code
11939 \begin_layout Plain Layout
11945 angeben, müssen Sie als
11949 einen konkreten Multiplikator angeben.
11950 Im Gegensatz zu anderen Parametern erzeugt LyX, wenn
11951 \begin_inset Flex Code
11954 \begin_layout Plain Layout
11960 gesetzt wird, spezifischen LaTeX-Code, der das LaTeX-Paket
11961 \begin_inset Flex Code
11964 \begin_layout Plain Layout
11973 \begin_layout Description
11974 \begin_inset Flex Code
11977 \begin_layout Plain Layout
11984 \begin_inset Flex Code
11987 \begin_layout Plain Layout
11994 \begin_inset space \thinspace{}
11998 \begin_inset Flex Code
12001 \begin_layout Plain Layout
12009 ] Erlaubt es, den Inhalt des Paragraphs auf Rechtschreibung zu überprüfen.
12012 \begin_layout Description
12013 \begin_inset Flex Code
12016 \begin_layout Plain Layout
12022 Der Zeichensatz, der für den Textkörper verwendet wird.
12023 \begin_inset Newline newline
12027 \begin_inset space ~
12031 \begin_inset CommandInset ref
12033 reference "sub:Beschreibung-des-Zeichensatzes"
12040 \begin_layout Description
12041 \begin_inset Flex Code
12044 \begin_layout Plain Layout
12051 \begin_inset Flex Code
12054 \begin_layout Plain Layout
12064 ist die Stufe des Stils im Inhaltsverzeichnis und wird zur automatischen
12065 Nummerierung von Abschnittsüberschriften benutzt.
12068 \begin_layout Description
12069 \begin_inset Flex Code
12072 \begin_layout Plain Layout
12086 ] Der vertikale Abstand, der die erste Serie von Absätzen vom vorangehenden
12090 \begin_layout Subsection
12093 \begin_inset CommandInset label
12099 Internationalization of Paragraph Styles
12102 \begin_layout Standard
12106 \begin_inset Flex Code
12109 \begin_layout Plain Layout
12117 defines text that is to appear in the typeset document, it may use
12118 \begin_inset Flex Code
12121 \begin_layout Plain Layout
12130 \begin_inset Flex Code
12133 \begin_layout Plain Layout
12141 to support non-English and even multi-language documents correctly.
12142 The following excerpt (from the
12143 \begin_inset Flex Code
12146 \begin_layout Plain Layout
12154 file) shows how this works:
12157 \begin_layout LyX-Code
12162 \begin_layout LyX-Code
12165 theoremstyle{remark}
12168 \begin_layout LyX-Code
12171 newtheorem{claim}[thm]{
12178 \begin_layout LyX-Code
12182 \begin_layout LyX-Code
12186 \begin_layout LyX-Code
12191 claimname}{_(Claim)}
12194 \begin_layout LyX-Code
12198 \begin_layout LyX-Code
12202 \begin_layout LyX-Code
12211 claimname}{_(Claim)}}
12214 \begin_layout LyX-Code
12219 \begin_layout Standard
12222 In principle, any legal LaTeX may appear in the
12223 \begin_inset Flex Code
12226 \begin_layout Plain Layout
12235 \begin_inset Flex Code
12238 \begin_layout Plain Layout
12246 tags, but in practice they will typically look as they do here.
12247 The key to correct translation of the typeset text is the definition of
12249 \begin_inset Flex Code
12252 \begin_layout Plain Layout
12263 \begin_inset Flex Code
12266 \begin_layout Plain Layout
12280 \begin_layout Standard
12284 \begin_inset Flex Code
12287 \begin_layout Plain Layout
12295 tag provides for internationalization based upon the overall language of
12297 The contents of the tag will be included in the preamble, just as with
12299 \begin_inset Flex Code
12302 \begin_layout Plain Layout
12311 What makes it special is the use of the
12312 \begin_inset Quotes eld
12316 \begin_inset Quotes erd
12320 \begin_inset Flex Code
12323 \begin_layout Plain Layout
12331 , which will be replaced, when LyX produces LaTeX output, with the translation
12332 of its argument into the document language.
12335 \begin_layout Standard
12339 \begin_inset Flex Code
12342 \begin_layout Plain Layout
12350 tag is more complex, since it is meant to provide support for multi-language
12351 documents and so offers an interface to the
12352 \begin_inset Flex Code
12355 \begin_layout Plain Layout
12364 Its contents will be added to the preamble once for each language that
12365 appears in the document.
12366 In this case, the argument to
12367 \begin_inset Flex Code
12370 \begin_layout Plain Layout
12378 will be replaced with its translation into the language in question; the
12380 \begin_inset Flex Code
12383 \begin_layout Plain Layout
12391 is replaced by the language name (as used by the babel package).
12394 \begin_layout Standard
12397 A German document that also included a French section would thus have the
12398 following in the preamble:
12401 \begin_layout LyX-Code
12410 claimname}{Affirmation}}
12411 \begin_inset Newline newline
12422 claimname}{Behauptung}}
12423 \begin_inset Newline newline
12430 claimname}{Behauptung}
12433 \begin_layout Standard
12437 \begin_inset Flex Code
12440 \begin_layout Plain Layout
12448 will then conspire to produce the correct text in the output.
12451 \begin_layout Standard
12454 One important point to note here is that the translations are provided by
12455 LyX itself, through the same mechanism it uses for internationalization
12456 of the user interface.
12457 This means, in effect, that
12458 \begin_inset Flex Code
12461 \begin_layout Plain Layout
12470 \begin_inset Flex Code
12473 \begin_layout Plain Layout
12481 are really only of use in layout files that are provided with LyX, since
12482 text entered in user-created layout files will not be seen by LyX's internation
12483 alization routines.
12484 That said, however, any layout created with the intention that it will
12485 be included with LyX should use these tags where appropriate.
12488 \begin_layout Subsection
12490 \begin_inset CommandInset label
12492 name "sub:Gleitobjekte"
12499 \begin_layout Standard
12500 Es ist nötig Gleitobjekte (
12501 \begin_inset Flex MenuItem
12504 \begin_layout Plain Layout
12511 \begin_inset Flex MenuItem
12514 \begin_layout Plain Layout
12520 ,\SpecialChar \ldots{}
12521 ) in der Textklasse selber zu definieren.
12522 Standardgleitobjekte sind in der Datei
12523 \begin_inset Flex Code
12526 \begin_layout Plain Layout
12532 enthalten, so dass Sie sie nur noch
12535 \begin_layout LyX-Code
12536 Input stdfloats.inc
12539 \begin_layout Standard
12540 zu Ihrer Layoutdatei hinzufügen müssen.
12541 Wenn Sie eine Textklasse implementieren wollen, die andere Gleitobjekttypen
12542 enthält (wie zum Beispiel die AGU-Klasse), werden Ihnen die folgenden Informati
12546 \begin_layout Description
12547 \begin_inset Flex Code
12550 \begin_layout Plain Layout
12563 \begin_inset Flex Code
12566 \begin_layout Plain Layout
12573 \begin_inset Quotes erd
12577 \begin_inset Quotes erd
12580 ] Die Dateinamenserweiterung einer zusätzlichen Datei für das Abbildungsver\SpecialChar \-
12583 LaTeX schreibt die Beschriftungen in diese Datei.
12586 \begin_layout Description
12587 \begin_inset Flex Code
12590 \begin_layout Plain Layout
12597 \begin_inset Flex Code
12600 \begin_layout Plain Layout
12607 \begin_inset Quotes erd
12611 \begin_inset Quotes erd
12614 ] Die Zeichenkette, die in den Menüs und für die Beschriftung benutzt wird.
12615 Dies wird in die aktuelle Sprache übersetzt, wenn babel verwendet wird.
12618 \begin_layout Description
12619 \begin_inset Flex Code
12622 \begin_layout Plain Layout
12628 Diese Tags kontrollieren die XHTML-Ausgabe.
12630 \begin_inset space ~
12634 \begin_inset CommandInset ref
12636 reference "sec:Tags-for-XHTML"
12643 \begin_layout Description
12644 \begin_inset Flex Code
12647 \begin_layout Plain Layout
12656 \begin_inset Flex Code
12659 \begin_layout Plain Layout
12668 \begin_inset space \thinspace{}
12672 \begin_inset Flex Code
12675 \begin_layout Plain Layout
12681 ] Gibt an, ob das Gleitobjekt bereits in der Dokumentklasse definiert ist
12682 oder ob das LaTeX-Paket
12683 \begin_inset Flex Code
12686 \begin_layout Plain Layout
12692 geladen werden muss, um es zu definieren.
12693 Die Voreinstellung ist
12694 \begin_inset Flex Code
12697 \begin_layout Plain Layout
12703 , was bedeutet, dass
12704 \begin_inset Flex Code
12707 \begin_layout Plain Layout
12715 \begin_inset Flex Code
12718 \begin_layout Plain Layout
12724 gesetzt werden, wenn das Gleitobjekt bereits in der Dokumentklasse definiert
12728 \begin_layout Description
12729 \begin_inset Flex Code
12732 \begin_layout Plain Layout
12739 \begin_inset Flex Code
12742 \begin_layout Plain Layout
12749 \begin_inset Quotes erd
12753 \begin_inset Quotes erd
12756 ] Der Befehl der verwendet wird, um eine Liste der Gleitobjekte dieses Typs
12757 zu generieren; das `
12759 ' muss weggelassen werden.
12764 angegeben werden, wenn
12765 \begin_inset Flex Code
12768 \begin_layout Plain Layout
12775 \begin_inset Flex Code
12778 \begin_layout Plain Layout
12784 gesetzt ist, da es sonst keine Möglichkeit gibt, diesen Befehl zu erstellen.
12785 Er wird ignoriert, falls
12786 \begin_inset Flex Code
12789 \begin_layout Plain Layout
12796 \begin_inset Flex Code
12799 \begin_layout Plain Layout
12805 gesetzt ist, da es dann eine Möglichkeit gibt.
12808 \begin_layout Description
12809 \begin_inset Flex Code
12812 \begin_layout Plain Layout
12819 \begin_inset Flex Code
12822 \begin_layout Plain Layout
12829 \begin_inset Quotes erd
12833 \begin_inset Quotes erd
12836 ] Die Überschrift für das Gleitobjekt-Verzeichnis (z.
12837 \begin_inset space \thinspace{}
12842 \begin_inset Quotes gld
12845 Abbildungsverzeichnis
12846 \begin_inset Quotes grd
12850 Sie wird für die Bildschirmmarke in LyX verwendet, von LaTeX für den Titel
12851 verwendet und als Titel in der XHTML-Ausgabe.
12852 Sie wird in die Dokumentsprache übersetzt.
12855 \begin_layout Description
12856 \begin_inset Flex Code
12859 \begin_layout Plain Layout
12866 \begin_inset Flex Code
12869 \begin_layout Plain Layout
12876 \begin_inset Quotes erd
12880 \begin_inset Quotes erd
12883 ] Dieses optionale Argument bestimmt, ob Gleitobjekte dieser Klasse mit
12884 der Abschnittsnummer dieses Dokuments nummeriert werden.
12886 \begin_inset Flex Code
12889 \begin_layout Plain Layout
12896 \begin_inset Quotes gld
12900 \begin_inset Flex Code
12903 \begin_layout Plain Layout
12910 \begin_inset Quotes grd
12913 gesetzt ist, werden die Gleitobjekte mit den Kapitelnummern nummeriert.
12916 \begin_layout Description
12917 \begin_inset Flex Code
12920 \begin_layout Plain Layout
12927 \begin_inset Flex Code
12930 \begin_layout Plain Layout
12937 \begin_inset Quotes erd
12941 \begin_inset Quotes erd
12944 ] Die Standardplatzierung für die Gleitobjektklasse.
12950 \begin_inset Flex Code
12953 \begin_layout Plain Layout
12959 sollte die Standard-LaTeX-Werte
12960 \begin_inset Flex Code
12963 \begin_layout Plain Layout
12970 \begin_inset Flex Code
12973 \begin_layout Plain Layout
12980 \begin_inset Flex Code
12983 \begin_layout Plain Layout
12990 \begin_inset Flex Code
12993 \begin_layout Plain Layout
12999 für oben, unten, Seite und hier enthalten.
13003 \begin_layout Plain Layout
13004 Wie in LaTeX ist die Reihenfolge der Buchstaben unerheblich.
13009 Zusätzlich gibt es den neuen Typ
13010 \begin_inset Flex Code
13013 \begin_layout Plain Layout
13019 , der nicht wirklich für ein Gleitobjekt steht, denn er bedeutet: drucke
13024 und nirgendwo sonst.
13026 \begin_inset Flex Code
13029 \begin_layout Plain Layout
13035 besonders ist und wegen der Implementierungsdetails nicht bei nicht-eingebauten
13036 Gleitobjekttypen benutzt werden kann.
13037 Wenn Sie die Platzierung nicht verstehen, benutzen Sie einfach
13038 \begin_inset Quotes gld
13042 \begin_inset Flex Code
13045 \begin_layout Plain Layout
13052 \begin_inset Quotes grd
13058 \begin_layout Description
13059 \begin_inset Flex Code
13062 \begin_layout Plain Layout
13069 \begin_inset Flex Code
13072 \begin_layout Plain Layout
13078 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieser Gleitobjekte
13080 Dies erlaubt die Verwendung von Formatierten Querverweisen.
13082 \begin_inset Flex Code
13085 \begin_layout Plain Layout
13091 eines kopierten Stils entfernen, indem
13092 \begin_inset Flex Code
13095 \begin_layout Plain Layout
13102 \begin_inset Quotes gld
13106 \begin_inset Quotes grd
13112 \begin_layout Description
13113 \begin_inset Flex Code
13116 \begin_layout Plain Layout
13123 \begin_inset Flex Code
13126 \begin_layout Plain Layout
13133 \begin_inset Quotes erd
13137 \begin_inset Quotes erd
13140 ] ist der Gleitobjektstil, wenn er mit
13141 \begin_inset Flex Code
13144 \begin_layout Plain Layout
13155 \begin_layout Description
13156 \begin_inset Flex Code
13159 \begin_layout Plain Layout
13166 \begin_inset Flex Code
13169 \begin_layout Plain Layout
13176 \begin_inset Quotes erd
13180 \begin_inset Quotes erd
13184 \begin_inset Quotes gld
13188 \begin_inset Quotes grd
13191 der neuen Gleitobjektklasse, wie z.
13192 \begin_inset space \thinspace{}
13196 Programm oder Algorithmus.
13197 Nach dem entsprechenden
13198 \begin_inset Flex Code
13201 \begin_layout Plain Layout
13210 \begin_inset Flex Code
13213 \begin_layout Plain Layout
13222 \begin_inset Flex Code
13225 \begin_layout Plain Layout
13236 \begin_layout Description
13237 \begin_inset Flex Code
13240 \begin_layout Plain Layout
13247 \begin_inset Flex Code
13250 \begin_layout Plain Layout
13257 \begin_inset space \thinspace{}
13261 \begin_inset Flex Code
13264 \begin_layout Plain Layout
13272 ] Gibt an, ob dieses Gleitobjekt mit Hilfe des LaTeX-Pakets
13273 \begin_inset Flex Code
13276 \begin_layout Plain Layout
13282 definiert wurde, entweder durch die Dokumentklassen, ein anderes Paket
13286 \begin_layout Description
13287 Anmerkung: Wenn ein Gleitobjekt vom Typ
13291 definiert wurde, gibt es automatisch einen dazugehörigen Zähler namens
13299 \begin_layout Subsection
13300 Flexible Einfügungen und InsetLayout
13301 \begin_inset CommandInset label
13303 name "sub:Flexible-Einfügungen-und"
13310 \begin_layout Standard
13311 Es gibt drei Arten von flexiblen Einfügungen:
13314 \begin_layout Itemize
13316 \begin_inset Flex Code
13319 \begin_layout Plain Layout
13325 ): diese definieren semantische Textauszeichnungen, die mit LaTeX-Befehlen
13327 \begin_inset Flex Code
13330 \begin_layout Plain Layout
13339 \begin_inset Flex Code
13342 \begin_layout Plain Layout
13353 \begin_layout Itemize
13354 benutzerdefiniert (
13355 \begin_inset Flex Code
13358 \begin_layout Plain Layout
13364 ): diese können benutzt werden, um benutzer\SpecialChar \-
13367 nier\SpecialChar \-
13368 te einklappbare Einfügungen
13369 zu definieren, ähnlich wie TeX-Code, Fuß\SpecialChar \-
13372 Ein naheliegendes Beispiel ist die Endnotiz, die im
13373 \begin_inset Flex Code
13376 \begin_layout Plain Layout
13382 -Modul definiert ist.
13385 \begin_layout Itemize
13387 \begin_inset Flex Code
13390 \begin_layout Plain Layout
13396 ): diese werden mit DocBook-Klassen benutzt.
13399 \begin_layout Standard
13400 Flexible Einfügungen werden mit der
13401 \begin_inset Flex Code
13404 \begin_layout Plain Layout
13410 -Marke definiert, die weiter unten erklärt wird.
13413 \begin_layout Standard
13415 \begin_inset Flex Code
13418 \begin_layout Plain Layout
13424 -Marke besitzt noch eine andere Funktion: sie kann benutzt werden, um das
13425 allgemeine Aussehen vieler verschiedener Einfügungstypen anzupassen.
13427 \begin_inset Flex Code
13430 \begin_layout Plain Layout
13436 benutzt werden, um die Layout-Parameter für Fußnoten, Randnoten, eingefügten
13437 Noten, TeX-Code (ERT), Zweige, Stichwortverzeichnisse, Boxen, Tabellen,
13438 Algorithmen, URLs und optionaler Argumente anzupassen, ebenso um flexible
13439 Einfügungen zu definieren.
13442 \begin_layout Standard
13444 \begin_inset Flex Code
13447 \begin_layout Plain Layout
13453 -Definition muss mit folgender Zeile beginnen:
13456 \begin_layout LyX-Code
13460 \begin_layout Standard
13462 \begin_inset Flex Code
13465 \begin_layout Plain Layout
13471 die Einfügung, deren Layout definiert wird.
13472 Es gibt zwei Möglichkeiten.
13475 \begin_layout Enumerate
13476 Das Layout für eine existierende Einfügung wird geändert.
13477 In diesem Fall kann
13478 \begin_inset Flex Code
13481 \begin_layout Plain Layout
13488 \begin_inset Flex Code
13491 \begin_layout Plain Layout
13498 \begin_inset Flex Code
13501 \begin_layout Plain Layout
13508 \begin_inset Flex Code
13511 \begin_layout Plain Layout
13518 \begin_inset Flex Code
13521 \begin_layout Plain Layout
13528 \begin_inset Flex Code
13531 \begin_layout Plain Layout
13538 \begin_inset Flex Code
13541 \begin_layout Plain Layout
13548 \begin_inset Flex Code
13551 \begin_layout Plain Layout
13558 \begin_inset Flex Code
13561 \begin_layout Plain Layout
13568 \begin_inset Flex Code
13571 \begin_layout Plain Layout
13578 \begin_inset Flex Code
13581 \begin_layout Plain Layout
13588 \begin_inset Flex Code
13591 \begin_layout Plain Layout
13598 \begin_inset Flex Code
13601 \begin_layout Plain Layout
13608 \begin_inset Flex Code
13611 \begin_layout Plain Layout
13618 \begin_inset Flex Code
13621 \begin_layout Plain Layout
13628 \begin_inset Flex Code
13631 \begin_layout Plain Layout
13638 \begin_inset Flex Code
13641 \begin_layout Plain Layout
13648 \begin_inset Flex Code
13651 \begin_layout Plain Layout
13658 \begin_inset Flex Code
13661 \begin_layout Plain Layout
13668 \begin_inset Flex Code
13671 \begin_layout Plain Layout
13678 \begin_inset Flex Code
13681 \begin_layout Plain Layout
13690 \begin_layout Enumerate
13691 Das Layout für eine flexible Einfügung wird definiert.
13692 In diesem Fall muss
13693 \begin_inset Flex Code
13696 \begin_layout Plain Layout
13705 \begin_inset Quotes gld
13709 \begin_inset Flex Code
13712 \begin_layout Plain Layout
13719 \begin_inset Quotes grd
13727 \begin_inset Flex Code
13730 \begin_layout Plain Layout
13738 ein beliebiger gültiger Bezeichner sein kann, der in keiner anderen existierend
13739 en Einfügung benutzt wird.
13740 Der Bezeichner darf Leerzeichen enthalten, dann muss aber der komplette
13741 Typ in Anführungszeichen gesetzt werden.
13742 Beachten Sie, dass die Definition einer flexiblen Einfügung
13747 \begin_inset Flex Code
13750 \begin_layout Plain Layout
13756 -Eintrag enthalten muss, der festlegt welcher Einfügungstyp definiert wird.
13759 \begin_layout Standard
13761 \begin_inset Flex Code
13764 \begin_layout Plain Layout
13770 -Definition kann folgende Einträge enthalten:
13773 \begin_layout Description
13774 \begin_inset Flex Code
13777 \begin_layout Plain Layout
13784 \begin_inset Flex Code
13787 \begin_layout Plain Layout
13793 ] ist die Hintergrundfarbe der Einfügung.
13795 \begin_inset space ~
13799 \begin_inset CommandInset ref
13801 reference "chap:Namen-von-Farben"
13805 für eine Liste von verfügbaren Farbnamen.
13808 \begin_layout Description
13809 \begin_inset Flex Code
13812 \begin_layout Plain Layout
13819 \begin_inset Flex Code
13822 \begin_layout Plain Layout
13831 \begin_inset space \thinspace{}
13835 \begin_inset Flex Code
13838 \begin_layout Plain Layout
13844 ] Ob der Inhalt der Einfügung als Marke verwendet werden soll, wenn die
13845 Einfügung geschlossen ist.
13848 \begin_layout Description
13849 \begin_inset Flex Code
13852 \begin_layout Plain Layout
13859 \begin_inset Flex Code
13862 \begin_layout Plain Layout
13868 ] Wie bei Absatz-Layouts, siehe Abschnitt
13869 \begin_inset space ~
13873 \begin_inset CommandInset ref
13875 reference "sub:Einzelne-Absatz-Layouts"
13880 Beachten Sie, dass der komplette Typ angegeben werden muss, z.
13881 \begin_inset space \thinspace{}
13886 \begin_inset Flex Code
13889 \begin_layout Plain Layout
13890 CopyStyle Flex:<Name>
13898 \begin_layout Description
13899 \begin_inset Flex Code
13902 \begin_layout Plain Layout
13909 \begin_inset Flex Code
13912 \begin_layout Plain Layout
13921 \begin_inset space \thinspace{}
13925 \begin_inset Flex Code
13928 \begin_layout Plain Layout
13934 ] zeigt an, ob der Benutzer den Absatzeinstellungen-Dialog (
13935 \begin_inset Graphics
13936 filename ../../images/layout-paragraph.png
13938 scaleBeforeRotation
13939 BoundingBox 0bp 6bp 20bp 20bp
13947 \begin_layout Description
13948 \begin_inset Flex Code
13951 \begin_layout Plain Layout
13958 \begin_inset Flex Code
13961 \begin_layout Plain Layout
13968 \begin_inset Flex Code
13971 \begin_layout Plain Layout
13978 \begin_inset Flex Code
13981 \begin_layout Plain Layout
13988 Es beschreibt den Rendering-Stil für den Einfügungsrahmen und die -knöpfe.
13989 Fußnoten benutzen im allgemeinen
13990 \begin_inset Flex Code
13993 \begin_layout Plain Layout
14004 \begin_inset Flex Code
14007 \begin_layout Plain Layout
14014 \begin_inset Flex Code
14017 \begin_layout Plain Layout
14026 \begin_layout Description
14027 \begin_inset Flex Code
14030 \begin_layout Plain Layout
14037 \begin_inset Flex Code
14040 \begin_layout Plain Layout
14047 \begin_inset space \thinspace{}
14051 \begin_inset Flex Code
14054 \begin_layout Plain Layout
14062 ] Nur sinnvoll wenn der
14063 \begin_inset Flex Code
14066 \begin_layout Plain Layout
14073 \begin_inset Flex Code
14076 \begin_layout Plain Layout
14083 Gibt an, ob die Umgebung in der Ausgabe abgesetzt erscheint oder in einer
14084 Zeile mit dem umgebenden Text.
14086 \begin_inset Flex Code
14089 \begin_layout Plain Layout
14095 gesetzt, wird angenommen, dass die LaTeX-Umgebung Leerraum nach den
14096 \begin_inset Flex Code
14099 \begin_layout Plain Layout
14112 \begin_inset Flex Code
14115 \begin_layout Plain Layout
14127 Befehlen ignoriert (inklusive des Zeilenumbruchzeichens).
14130 \begin_layout Description
14131 \begin_inset Flex Code
14134 \begin_layout Plain Layout
14141 \begin_inset Flex Code
14144 \begin_layout Plain Layout
14153 \begin_layout Description
14154 \begin_inset Flex Code
14157 \begin_layout Plain Layout
14167 die Marke benutzt (siehe
14168 \begin_inset CommandInset ref
14170 reference "sub:Beschreibung-des-Zeichensatzes"
14175 Beachten Sie, dass die Definition dieses Fonts automatisch dem
14176 \begin_inset Flex Code
14179 \begin_layout Plain Layout
14185 denselben Wert zuweist, das heißt
14186 \begin_inset Flex Code
14189 \begin_layout Plain Layout
14195 muss zuerst definiert werden und
14196 \begin_inset Flex Code
14199 \begin_layout Plain Layout
14205 danach, wenn sie unterschiedlich sein sollen.
14208 \begin_layout Description
14209 \begin_inset Flex Code
14212 \begin_layout Plain Layout
14219 \begin_inset Quotes gld
14223 \begin_inset Quotes grd
14226 und führt zu einer links-nach-rechts-Ausgabe, zum Beispiel bei TeX-Code
14229 \begin_inset Flex Code
14232 \begin_layout Plain Layout
14238 ist eine Behelfslösung.
14241 \begin_layout Description
14242 \begin_inset Flex Code
14245 \begin_layout Plain Layout
14252 \begin_inset Flex Code
14255 \begin_layout Plain Layout
14264 \begin_inset space \thinspace{}
14268 \begin_inset Flex Code
14271 \begin_layout Plain Layout
14277 ] zeigt an, ob stattdessen
14278 \begin_inset Flex Code
14281 \begin_layout Plain Layout
14287 benutzt werden soll oder ob der Benutzer den Absatzstil der Einfügung ändern
14291 \begin_layout Description
14292 \begin_inset Flex Code
14295 \begin_layout Plain Layout
14302 \begin_inset Flex Code
14305 \begin_layout Plain Layout
14314 \begin_inset space \thinspace{}
14318 \begin_inset Flex Code
14321 \begin_layout Plain Layout
14327 ] Wie bei Absatz-Layouts, siehe Abschnitt
14328 \begin_inset space ~
14332 \begin_inset CommandInset ref
14334 reference "sub:Einzelne-Absatz-Layouts"
14341 \begin_layout Description
14342 \begin_inset Flex Code
14345 \begin_layout Plain Layout
14351 Diese Tags kontrollieren die XHTML-Ausgabe.
14353 \begin_inset space ~
14357 \begin_inset CommandInset ref
14359 reference "sec:Tags-for-XHTML"
14366 \begin_layout Description
14367 \begin_inset Flex Code
14370 \begin_layout Plain Layout
14377 \begin_inset Flex Code
14380 \begin_layout Plain Layout
14389 \begin_inset space \thinspace{}
14393 \begin_inset Flex Code
14396 \begin_layout Plain Layout
14402 ] Ob der Inhalt der Einfügung für die Zeichenketten des 'Gliederungs'-Fensters
14403 verwendet werden soll.
14404 Zum Beispiel will man nicht, dass der Inhalt einer Fußzeile im Namen des
14405 Abschnitts im Inhaltsverzeichnis des Gliederungs-Fensters erscheint.
14406 Aber man will normalerweise, dass der Inhalt von Zeichenstilen erscheint.
14409 \begin_layout Description
14410 \begin_inset Flex Code
14413 \begin_layout Plain Layout
14422 \begin_inset Flex Code
14425 \begin_layout Plain Layout
14434 \begin_inset space \thinspace{}
14438 \begin_inset Flex Code
14441 \begin_layout Plain Layout
14447 ] Wie bei Absatz-Layouts, siehe Abschnitt
14448 \begin_inset space ~
14452 \begin_inset CommandInset ref
14454 reference "sub:Einzelne-Absatz-Layouts"
14461 \begin_layout Description
14462 \begin_inset Flex Code
14465 \begin_layout Plain Layout
14471 ist die für die Marke benutze Schrift (siehe
14472 \begin_inset CommandInset ref
14474 reference "sub:Beschreibung-des-Zeichensatzes"
14479 Beachten Sie, dass diese Definition niemals vor
14480 \begin_inset Flex Code
14483 \begin_layout Plain Layout
14489 erscheinen darf, weil sie sonst unwirksam ist.
14492 \begin_layout Description
14493 \begin_inset Flex Code
14496 \begin_layout Plain Layout
14503 \begin_inset Flex Code
14506 \begin_layout Plain Layout
14513 \begin_inset Quotes erd
14517 \begin_inset Quotes erd
14520 ] wird auf dem Knopf und anderswo als Einfügungsmarke angezeigt.
14521 Einige Einfügungstypen (TeX-Code und Zweig) ändern diese Marke im Vo\SpecialChar \-
14527 \begin_layout Description
14528 \begin_inset Flex Code
14531 \begin_layout Plain Layout
14538 \begin_inset Flex Code
14541 \begin_layout Plain Layout
14547 ] ist der Name der LaTeX-Umgebung oder des LaTeX-Befehls.
14550 \begin_layout Description
14551 \begin_inset Flex Code
14554 \begin_layout Plain Layout
14561 \begin_inset Flex Code
14564 \begin_layout Plain Layout
14570 ] ist ein optionaler Parameter für den zugehörigen
14571 \begin_inset Flex Code
14574 \begin_layout Plain Layout
14580 , einschließ\SpecialChar \-
14581 lich möglicher Klammerpaare wie
14582 \begin_inset Flex Code
14585 \begin_layout Plain Layout
14592 Dieser Parameter kann in LyX nicht geändert werden.
14595 \begin_layout Description
14596 \begin_inset Flex Code
14599 \begin_layout Plain Layout
14605 Wie bei Absatz-Layouts, siehe Abschnitt
14606 \begin_inset space ~
14610 \begin_inset CommandInset ref
14612 reference "sub:Einzelne-Absatz-Layouts"
14619 \begin_layout Description
14620 \begin_inset Flex Code
14623 \begin_layout Plain Layout
14630 \begin_inset Flex Code
14633 \begin_layout Plain Layout
14640 \begin_inset Flex Code
14643 \begin_layout Plain Layout
14650 \begin_inset Flex Code
14653 \begin_layout Plain Layout
14660 \begin_inset Flex Code
14663 \begin_layout Plain Layout
14669 (zeigt das Ende einer Definition an) sein.
14670 Dieser Eintrag wird für flexible Einfügungen benötigt und ist nur dort
14672 Neben anderen Dingen legt er fest, in welchem Menü diese Einfügung erscheinen
14675 \begin_inset Flex Code
14678 \begin_layout Plain Layout
14685 \begin_inset Flex Code
14688 \begin_layout Plain Layout
14695 \begin_inset Flex Code
14698 \begin_layout Plain Layout
14705 \begin_inset Flex Code
14708 \begin_layout Plain Layout
14716 \begin_inset Flex Code
14719 \begin_layout Plain Layout
14726 \begin_inset Flex Code
14729 \begin_layout Plain Layout
14736 \begin_inset Flex Code
14739 \begin_layout Plain Layout
14745 -Einfügungen gesetzt werden, indem es
14750 \begin_inset Flex Code
14753 \begin_layout Plain Layout
14762 \begin_layout Description
14763 \begin_inset Flex Code
14766 \begin_layout Plain Layout
14773 \begin_inset Flex Code
14776 \begin_layout Plain Layout
14785 \begin_inset space \thinspace{}
14789 \begin_inset Flex Code
14792 \begin_layout Plain Layout
14798 ] zeigt an, ob in dieser Einfügung mehrfache Absätze erlaubt sind.
14800 \begin_inset Flex Code
14803 \begin_layout Plain Layout
14809 auf denselben Wert gesetzt und
14810 \begin_inset Flex Code
14813 \begin_layout Plain Layout
14820 Diese können auf andere Werte gesetzt werden, wenn sie
14825 \begin_inset Flex Code
14828 \begin_layout Plain Layout
14837 \begin_layout Description
14838 \begin_inset Flex Code
14841 \begin_layout Plain Layout
14848 \begin_inset Flex Code
14851 \begin_layout Plain Layout
14860 \begin_inset space \thinspace{}
14864 \begin_inset Flex Code
14867 \begin_layout Plain Layout
14877 Befehle in diesem Layout ge\SpecialChar \-
14879 \begin_inset Flex Code
14882 \begin_layout Plain Layout
14895 an, ob der Befehl selber geschützt werden soll.
14898 \begin_layout Description
14899 \begin_inset Flex Code
14902 \begin_layout Plain Layout
14909 \begin_inset Flex Code
14912 \begin_layout Plain Layout
14921 \begin_inset space \thinspace{}
14925 \begin_inset Flex Code
14928 \begin_layout Plain Layout
14934 ] Wie bei Absatz-Layouts, siehe Abschnitt
14935 \begin_inset space ~
14939 \begin_inset CommandInset ref
14941 reference "sub:Einzelne-Absatz-Layouts"
14948 \begin_layout Description
14949 \begin_inset Flex Code
14952 \begin_layout Plain Layout
14959 \begin_inset Flex Code
14962 \begin_layout Plain Layout
14971 \begin_inset space \thinspace{}
14975 \begin_inset Flex Code
14978 \begin_layout Plain Layout
14984 ] Wie bei Absatz-Layouts, siehe Abschnitt
14985 \begin_inset space ~
14989 \begin_inset CommandInset ref
14991 reference "sub:Einzelne-Absatz-Layouts"
14998 \begin_layout Description
14999 \begin_inset Flex Code
15002 \begin_layout Plain Layout
15008 Wie bei Absatz-Layouts, siehe Abschnitt
15009 \begin_inset space ~
15013 \begin_inset CommandInset ref
15015 reference "sub:Einzelne-Absatz-Layouts"
15022 \begin_layout Description
15023 \begin_inset Flex Code
15026 \begin_layout Plain Layout
15033 \begin_inset Flex Code
15036 \begin_layout Plain Layout
15042 ] Der Präfix, der verwendet werden soll, wenn auf Marken dieser Einfügung
15044 Dies erlaubt die Verwendung von Formatierten Querverweisen.
15047 \begin_layout Description
15048 \begin_inset Flex Code
15051 \begin_layout Plain Layout
15058 \begin_inset Flex Code
15061 \begin_layout Plain Layout
15067 ] Wie bei Absatz-Layouts, siehe Abschnitt
15068 \begin_inset space ~
15072 \begin_inset CommandInset ref
15074 reference "sub:Einzelne-Absatz-Layouts"
15081 \begin_layout Description
15082 \begin_inset Flex Code
15085 \begin_layout Plain Layout
15092 \begin_inset Flex Code
15095 \begin_layout Plain Layout
15102 \begin_inset space \thinspace{}
15106 \begin_inset Flex Code
15109 \begin_layout Plain Layout
15117 ] Ob die Einfügung die Schrift der benachbarten Umgebungen verwenden soll
15120 \begin_inset Flex Code
15123 \begin_layout Plain Layout
15131 : verwendet seine Eigene.
15134 \begin_layout Description
15135 \begin_inset Flex Code
15138 \begin_layout Plain Layout
15145 \begin_inset Flex Code
15148 \begin_layout Plain Layout
15155 \begin_inset space \thinspace{}
15159 \begin_inset Flex Code
15162 \begin_layout Plain Layout
15170 ] Erlaubt es, den Inhalt der Einfügung auf Rechtschreibung zu überprüfen.
15173 \begin_layout Subsection
15175 \begin_inset CommandInset label
15184 \begin_layout Standard
15185 Es ist notwendig Zähler (
15186 \begin_inset Flex MenuItem
15189 \begin_layout Plain Layout
15196 \begin_inset Flex MenuItem
15199 \begin_layout Plain Layout
15205 ,\SpecialChar \ldots{}
15206 ) in der Textklasse selber zu definieren.
15207 Die Standardzähler sind in der Datei
15208 \begin_inset Flex Code
15211 \begin_layout Plain Layout
15217 definiert, so dass Sie nur die Zeile
15220 \begin_layout LyX-Code
15221 Input stdcounters.inc
15224 \begin_layout Standard
15225 zu zu Ihrer Layout-Datei hinzufügen müssen, damit sie arbeiten.
15226 Aber wenn Sie eigene Zähler definieren wollen, können Sie das tun.
15227 Zähler-Deklarationen beginnen mit
15230 \begin_layout LyX-Code
15234 \begin_layout Standard
15236 \begin_inset Flex Code
15239 \begin_layout Plain Layout
15245 der Name Ihres Zählers ist.
15246 Die Deklaration endet mit
15247 \begin_inset Flex Code
15250 \begin_layout Plain Layout
15259 \begin_layout Standard
15260 Folgende Parameter können auch benutzt werden:
15263 \begin_layout Description
15264 \begin_inset Flex Code
15267 \begin_layout Plain Layout
15274 \begin_inset Flex Code
15277 \begin_layout Plain Layout
15284 \begin_inset Quotes erd
15288 \begin_inset Quotes erd
15291 ] definiert, wie der Zähler dargestellt wird.
15293 \begin_inset Flex Code
15296 \begin_layout Plain Layout
15297 LabelStringAppendix
15302 auf denselben Wert gesetzt.
15303 In der Zeichenkette können folgende Konstrukte benutzt werden:
15306 \begin_layout Itemize
15307 \begin_inset Flex Code
15310 \begin_layout Plain Layout
15318 wird durch die Erweiterung von
15319 \begin_inset Flex Code
15322 \begin_layout Plain Layout
15329 \begin_inset Newline newline
15333 \begin_inset Flex Code
15336 \begin_layout Plain Layout
15337 LabelStringAppendix
15343 \begin_inset Flex Code
15346 \begin_layout Plain Layout
15355 \begin_layout Itemize
15356 Zählerwerte können durch LaTeX-ähnliche Makros wie
15357 \begin_inset Flex Code
15360 \begin_layout Plain Layout
15376 ausgedrückt werden, wobei
15377 \begin_inset Flex Code
15380 \begin_layout Plain Layout
15388 Folgendes sein kann:
15389 \begin_inset Flex Code
15392 \begin_layout Plain Layout
15398 : 1, 2, 3,\SpecialChar \ldots{}
15400 \begin_inset Flex Code
15403 \begin_layout Plain Layout
15409 für Kleinbuchstaben: a, b, c,\SpecialChar \ldots{}
15411 \begin_inset Flex Code
15414 \begin_layout Plain Layout
15420 für Großbuchstaben: A, B, C,\SpecialChar \ldots{}
15422 \begin_inset Flex Code
15425 \begin_layout Plain Layout
15431 für kleine römische Zahlen: i, ii, iii,\SpecialChar \ldots{}
15433 \begin_inset Flex Code
15436 \begin_layout Plain Layout
15442 für große römische Zahlen: I, II, III.
15445 \begin_layout Standard
15447 \begin_inset Flex Code
15450 \begin_layout Plain Layout
15456 nicht definiert ist, wird ein Standardwert wie folgt benutzt: wenn der
15457 Zähler einen Hauptzähler
15458 \begin_inset Flex Code
15461 \begin_layout Plain Layout
15468 \begin_inset Flex Code
15471 \begin_layout Plain Layout
15477 definiert) hat, wird der String
15478 \begin_inset Flex Code
15481 \begin_layout Plain Layout
15492 \begin_inset Flex Code
15495 \begin_layout Plain Layout
15506 \begin_layout Description
15507 \begin_inset Flex Code
15510 \begin_layout Plain Layout
15511 LabelStringAppendix
15517 \begin_inset Flex Code
15520 \begin_layout Plain Layout
15527 \begin_inset Quotes erd
15531 \begin_inset Quotes erd
15535 \begin_inset Flex Code
15538 \begin_layout Plain Layout
15544 , aber für den Anhang.
15547 \begin_layout Description
15548 \begin_inset Flex Code
15551 \begin_layout Plain Layout
15558 \begin_inset Flex Code
15561 \begin_layout Plain Layout
15568 \begin_inset Quotes erd
15572 \begin_inset Quotes erd
15575 ] Ein Format, das für Formatierte Querverweise auf einen Zähler verwendet
15578 \begin_inset space \thinspace{}
15582 Referenzen auf Abschnitte in der Form
15583 \begin_inset Quotes gld
15587 \begin_inset space ~
15591 \begin_inset Quotes grd
15594 haben, sollte der String
15595 \begin_inset Quotes gld
15599 \begin_inset Quotes grd
15603 Diese Zeichen werden später durch die referenzierte Abschnittsnummer ersetzt.
15604 Also für Abschnitte lautet der String dann
15605 \begin_inset Quotes gld
15609 \begin_inset Quotes grd
15615 \begin_layout Description
15616 \begin_inset Flex Code
15619 \begin_layout Plain Layout
15626 \begin_inset Flex Code
15629 \begin_layout Plain Layout
15636 \begin_inset Quotes erd
15640 \begin_inset Quotes erd
15643 ] Wenn dies auf den Namen eines anderen Zählers gesetzt wird, wird der gegenwärt
15644 ige Zähler jedes mal zurückgesetzt, wenn der andere erhöht wird.
15646 \begin_inset Flex Code
15649 \begin_layout Plain Layout
15656 \begin_inset Flex Code
15659 \begin_layout Plain Layout
15668 \begin_layout Subsection
15669 Beschreibung des Zeichensatzes
15670 \begin_inset CommandInset label
15672 name "sub:Beschreibung-des-Zeichensatzes"
15679 \begin_layout Standard
15680 Eine Zeichensatzbeschreibung sieht folgendermaßen aus:
15683 \begin_layout LyX-Code
15697 \begin_layout LyX-Code
15701 \begin_layout LyX-Code
15705 \begin_layout Standard
15706 und es sind folgende Befehle vorhanden:
15709 \begin_layout Description
15710 \begin_inset Flex Code
15713 \begin_layout Plain Layout
15720 \begin_inset Flex Code
15723 \begin_layout Plain Layout
15730 \begin_inset Flex Code
15733 \begin_layout Plain Layout
15740 \begin_inset Flex Code
15743 \begin_layout Plain Layout
15750 \begin_inset Flex Code
15753 \begin_layout Plain Layout
15760 \begin_inset Flex Code
15763 \begin_layout Plain Layout
15770 \begin_inset Flex Code
15773 \begin_layout Plain Layout
15780 \begin_inset Flex Code
15783 \begin_layout Plain Layout
15790 \begin_inset Flex Code
15793 \begin_layout Plain Layout
15800 \begin_inset Flex Code
15803 \begin_layout Plain Layout
15812 \begin_layout Description
15813 \begin_inset Flex Code
15816 \begin_layout Plain Layout
15823 \begin_inset Flex Code
15826 \begin_layout Plain Layout
15833 \begin_inset Flex Code
15836 \begin_layout Plain Layout
15843 \begin_inset Flex Code
15846 \begin_layout Plain Layout
15855 \begin_layout Description
15856 \begin_inset Flex Code
15859 \begin_layout Plain Layout
15866 \begin_inset Flex Code
15869 \begin_layout Plain Layout
15875 ] Zulässige Argumente sind:
15876 \begin_inset Flex Code
15879 \begin_layout Plain Layout
15886 \begin_inset Flex Code
15889 \begin_layout Plain Layout
15896 \begin_inset Flex Code
15899 \begin_layout Plain Layout
15906 \begin_inset Flex Code
15909 \begin_layout Plain Layout
15916 \begin_inset Flex Code
15919 \begin_layout Plain Layout
15926 \begin_inset Flex Code
15929 \begin_layout Plain Layout
15936 \begin_inset Flex Code
15939 \begin_layout Plain Layout
15946 \begin_inset Flex Code
15949 \begin_layout Plain Layout
15956 \begin_inset Flex Code
15959 \begin_layout Plain Layout
15966 \begin_inset Flex Code
15969 \begin_layout Plain Layout
15976 \begin_inset Flex Code
15979 \begin_layout Plain Layout
15986 \begin_inset Flex Code
15989 \begin_layout Plain Layout
15996 Jedes schaltet die entsprechende Eigenschaft an oder aus.
15998 \begin_inset Flex Code
16001 \begin_layout Plain Layout
16012 \begin_inset Flex Code
16015 \begin_layout Plain Layout
16021 schaltet diesen aus.
16022 \begin_inset Newline newline
16025 Falls Sie Letzteres verwirrt, erinnern Sie sich, dass die Schrifteinstellungen
16026 standardmäßig von den umgebenden Stilen übernommen wird.
16028 \begin_inset Flex Code
16031 \begin_layout Plain Layout
16042 \begin_inset space \thinspace{}
16046 in einer Theorem-Umgebung aktiv ist.
16049 \begin_layout Description
16050 \begin_inset Flex Code
16053 \begin_layout Plain Layout
16060 \begin_inset Flex Code
16063 \begin_layout Plain Layout
16070 \begin_inset Flex Code
16073 \begin_layout Plain Layout
16082 \begin_layout Description
16083 \begin_inset Flex Code
16086 \begin_layout Plain Layout
16093 \begin_inset Flex Code
16096 \begin_layout Plain Layout
16103 \begin_inset Flex Code
16106 \begin_layout Plain Layout
16113 \begin_inset Flex Code
16116 \begin_layout Plain Layout
16123 \begin_inset Flex Code
16126 \begin_layout Plain Layout
16135 \begin_layout Description
16136 \begin_inset Flex Code
16139 \begin_layout Plain Layout
16146 \begin_inset Flex Code
16149 \begin_layout Plain Layout
16156 \begin_inset Flex Code
16159 \begin_layout Plain Layout
16166 \begin_inset Flex Code
16169 \begin_layout Plain Layout
16176 \begin_inset Flex Code
16179 \begin_layout Plain Layout
16186 \begin_inset Flex Code
16189 \begin_layout Plain Layout
16196 \begin_inset Flex Code
16199 \begin_layout Plain Layout
16206 \begin_inset Flex Code
16209 \begin_layout Plain Layout
16216 \begin_inset Flex Code
16219 \begin_layout Plain Layout
16228 \begin_layout Subsection
16231 \begin_inset CommandInset label
16233 name "sub:Citation-format-description"
16237 Citation format description
16240 \begin_layout Standard
16244 \begin_inset Flex Code
16247 \begin_layout Plain Layout
16255 blocks are used to describe how bibliographic information should be displayed,
16256 both within LyX itself (in the citation dialog and in tooltips, for example)
16257 and in XHTML output.
16258 Such a block might look like this:
16261 \begin_layout LyX-Code
16265 \begin_layout LyX-Code
16269 \begin_layout LyX-Code
16273 \begin_layout LyX-Code
16277 \begin_layout Standard
16280 The individual lines define how the bibliographic information associated
16281 with an article or book, respectively, is to be displayed, and such a definitio
16282 n can be given for any `entry type' that might be present in a BibTeX file.
16283 LyX defines a default format in the source code that will be used if no
16284 specific definition has been given.
16285 LyX predefines several formats in the file
16286 \begin_inset Flex Code
16289 \begin_layout Plain Layout
16297 , which is included in most of LyX's document classes.
16300 \begin_layout Standard
16303 The definitions use a simple language that allows BibTeX keys to be replaced
16305 Keys should be enclosed in
16306 \begin_inset Flex Code
16309 \begin_layout Plain Layout
16318 \begin_inset Flex Code
16321 \begin_layout Plain Layout
16330 So a simple definition might look like this:
16333 \begin_layout LyX-Code
16335 \begin_inset Quotes eld
16339 \begin_inset Quotes erd
16345 \begin_layout Standard
16348 This would print the author, followed by a comma, followed by the title,
16349 in quotes, followed by a period.
16352 \begin_layout Standard
16355 Of course, sometimes you may want to print a key only if it exists.
16356 This can be done by using a conditional construction, such as:
16357 \begin_inset Flex Code
16360 \begin_layout Plain Layout
16364 \begin_inset space ~
16374 \begin_inset Flex Code
16377 \begin_layout Plain Layout
16385 key exists, then print
16386 \begin_inset Quotes eld
16390 \begin_inset space ~
16394 \begin_inset Quotes erd
16397 followed by the volume key.
16398 It is also possible to have an else clause in the conditional, such as:
16399 \begin_inset Newline newline
16403 \begin_inset Flex Code
16406 \begin_layout Plain Layout
16409 {%author%[[%author%]][[%editor%, ed.]]}
16415 \begin_inset Newline newline
16419 \begin_inset Flex Code
16422 \begin_layout Plain Layout
16430 key is printed if it exists; otherwise, the editor key is printed, followed
16432 \begin_inset Quotes eld
16436 \begin_inset space ~
16440 \begin_inset Quotes erd
16443 Note that the key is again enclosed in
16444 \begin_inset Flex Code
16447 \begin_layout Plain Layout
16455 signs; the entire conditional is enclosed in braces; and the if and else
16456 clauses are enclosed in double brackets,
16457 \begin_inset Quotes eld
16461 \begin_inset Flex Code
16464 \begin_layout Plain Layout
16473 \begin_inset Quotes eld
16477 \begin_inset Quotes eld
16481 \begin_inset Flex Code
16484 \begin_layout Plain Layout
16493 \begin_inset Quotes erd
16497 There must be no space between any of these.
16500 \begin_layout Standard
16503 There is one other piece of syntax available in definitions, which looks
16505 \begin_inset Flex Code
16508 \begin_layout Plain Layout
16517 This defines a piece of formatting information that is to be used when
16519 \begin_inset Quotes eld
16523 \begin_inset Quotes erd
16527 Obviously, we do not want to output HTML tags when writing plain text,
16528 so they should be wrapped in
16529 \begin_inset Quotes eld
16533 \begin_inset Quotes erd
16537 \begin_inset Quotes eld
16541 \begin_inset Quotes erd
16547 \begin_layout Standard
16550 Two special sorts of definitions are also possible in a
16551 \begin_inset Flex Code
16554 \begin_layout Plain Layout
16563 An example of the first would be:
16566 \begin_layout LyX-Code
16568 \begin_inset Quotes eld
16572 \begin_inset Quotes erd
16578 \begin_layout Standard
16581 This is an abbreviation, or macro, and it can be used by treating it as
16583 \begin_inset Flex Code
16586 \begin_layout Plain Layout
16596 \begin_inset Flex Code
16599 \begin_layout Plain Layout
16607 exactly as it would treat its definition.
16608 So, let us issue the obvious
16616 \begin_layout LyX-Code
16620 \begin_layout Standard
16623 or anything like it.
16624 LyX shouldn't go into an infinite loop, but it may go into a long one before
16628 \begin_layout Standard
16631 The second sort of special definition might look like this:
16634 \begin_layout LyX-Code
16638 \begin_layout Standard
16641 This defines a translatable piece of text, which allows relevant parts of
16642 the bibliography to be translated.
16643 It can be included in a definition by treating it as a key:
16644 \begin_inset Flex Code
16647 \begin_layout Plain Layout
16656 Several of these are predefined in
16657 \begin_inset Flex Code
16660 \begin_layout Plain Layout
16669 Note that these are not macros, in the sense just defined.
16670 They will not be expanded.
16673 \begin_layout Standard
16676 So here then is an example that use all these features:
16677 \begin_inset VSpace defskip
16683 \begin_layout Standard
16688 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
16691 \begin_layout Standard
16694 \begin_inset VSpace defskip
16697 This defines a macro that prints the author, followed by a comma, if the
16699 \begin_inset Flex Code
16702 \begin_layout Plain Layout
16710 key is defined, or else prints the name of the editor, followed by the
16712 \begin_inset Flex Code
16715 \begin_layout Plain Layout
16723 or its translation (it is by default
16724 \begin_inset Quotes eld
16728 \begin_inset Quotes erd
16732 \begin_inset Flex Code
16735 \begin_layout Plain Layout
16744 Note that this is in fact defined in
16745 \begin_inset Flex Code
16748 \begin_layout Plain Layout
16756 , so you can use it in your own definitions, or re-definitions, if you load
16760 \begin_layout Section
16763 \begin_inset CommandInset label
16765 name "sec:Tags-for-XHTML"
16769 Tags for XHTML output
16772 \begin_layout Standard
16775 As with LaTeX or DocBook, the format of LyX's XHTML output is also controlled
16776 by layout information.
16777 In general, LyX provides sensible defaults and, as mentioned earlier, it
16778 will even construct default CSS style rules from the other layout tags.
16779 For example, LyX will attempt to use the information provided in the
16780 \begin_inset Flex Code
16783 \begin_layout Plain Layout
16791 declaration for the Chapter style to write CSS that will appropriately
16792 format chapter headings.
16795 \begin_layout Standard
16798 In many cases, then, you may not have to do anything at all to get acceptable
16799 XHTML output for your own environments, custom insets, and so forth.
16800 But in some cases you will, and so LyX provides a number of layout tags
16801 that can be used to customize the XHTML and CSS that are generated.
16804 \begin_layout Standard
16807 Note that there are two tags,
16808 \begin_inset Flex Code
16811 \begin_layout Plain Layout
16820 \begin_inset Flex Code
16823 \begin_layout Plain Layout
16831 that may appear outside style and inset declarations.
16833 \begin_inset CommandInset ref
16835 reference "sub:Allgemeine-Parameter-für"
16839 for details on these.
16842 \begin_layout Subsection
16848 \begin_layout Standard
16851 The sort of XHTML LyX outputs for a paragraph depends upon whether we are
16852 dealing with a normal paragraph, a command, or an environment, where this
16853 is itself determined by the contents of the corresponding
16854 \begin_inset Flex Code
16857 \begin_layout Plain Layout
16869 \begin_layout Standard
16872 For a command or normal paragraph, the output XHTML has the following form:
16875 \begin_layout LyX-Code
16879 \begin_inset Quotes erd
16883 \begin_inset Quotes erd
16889 \begin_layout LyX-Code
16893 \begin_inset Quotes erd
16897 \begin_inset Quotes erd
16903 \begin_layout LyX-Code
16906 Contents of the paragraph.
16909 \begin_layout LyX-Code
16915 \begin_layout Standard
16918 The label tags are of course omitted if the paragraph does not have a label.
16921 \begin_layout Standard
16924 For an environment that is not some sort of list, the XHTML takes this form:
16927 \begin_layout LyX-Code
16931 \begin_inset Quotes erd
16935 \begin_inset Quotes erd
16941 \begin_layout LyX-Code
16945 \begin_inset Quotes erd
16949 \begin_inset Quotes erd
16953 \begin_inset Quotes erd
16957 \begin_inset Quotes erd
16960 >Environment Label</labeltag>First paragraph.</itemtag>
16963 \begin_layout LyX-Code
16966 <itemtag>Second paragraph.</itemtag>
16969 \begin_layout LyX-Code
16975 \begin_layout Standard
16978 Note that the label is output only for the first paragraph, as it should
16979 be for a theorem, for example.
16983 \begin_layout Standard
16986 For a list, we have one of these forms:
16989 \begin_layout LyX-Code
16993 \begin_inset Quotes erd
16997 \begin_inset Quotes erd
17003 \begin_layout LyX-Code
17007 \begin_inset Quotes erd
17011 \begin_inset Quotes erd
17015 \begin_inset Quotes erd
17019 \begin_inset Quotes erd
17022 >List Label</labeltag>First item.</itemtag>
17025 \begin_layout LyX-Code
17029 \begin_inset Quotes erd
17033 \begin_inset Quotes erd
17037 \begin_inset Quotes erd
17041 \begin_inset Quotes erd
17044 >List Label</labeltag>Second item.</itemtag>
17047 \begin_layout LyX-Code
17053 \begin_layout LyX-Code
17057 \begin_layout LyX-Code
17061 \begin_inset Quotes erd
17065 \begin_inset Quotes erd
17071 \begin_layout LyX-Code
17075 \begin_inset Quotes erd
17079 \begin_inset Quotes erd
17082 >List Label</labeltag><itemtag attr=
17083 \begin_inset Quotes erd
17087 \begin_inset Quotes erd
17090 >First item.</itemtag>
17093 \begin_layout LyX-Code
17097 \begin_inset Quotes erd
17101 \begin_inset Quotes erd
17104 >List Label</labeltag><itemtag attr=
17105 \begin_inset Quotes erd
17109 \begin_inset Quotes erd
17112 >Second item.</itemtag>
17115 \begin_layout LyX-Code
17121 \begin_layout Standard
17124 Note the different orders of
17125 \begin_inset Flex Code
17128 \begin_layout Plain Layout
17137 \begin_inset Flex Code
17140 \begin_layout Plain Layout
17149 Which order we get depends upon the setting of
17150 \begin_inset Flex Code
17153 \begin_layout Plain Layout
17162 \begin_inset Flex Code
17165 \begin_layout Plain Layout
17173 is false (the default), you get the first of these, with the label within
17174 the item; if true, you get the second, with the label outside the item.
17177 \begin_layout Standard
17180 The specific tags and attributes output for each paragraph type can be controlle
17181 d by means of the layout tags we are about to describe.
17182 As mentioned earlier, however, LyX uses sensible defaults for many of these,
17183 so you often may not need to do very much to get good XHTML output.
17184 Think of the available tags as there so you can tweak things to your liking.
17187 \begin_layout Description
17190 \begin_inset Flex Code
17193 \begin_layout Plain Layout
17202 \begin_inset Flex Code
17205 \begin_layout Plain Layout
17213 ] Specifies attribute information to be output with the main tag.
17215 \begin_inset Quotes eld
17219 \begin_inset Flex Code
17222 \begin_layout Plain Layout
17231 \begin_inset Quotes erd
17235 By default, LyX will output
17236 \begin_inset Quotes eld
17240 \begin_inset Flex Code
17243 \begin_layout Plain Layout
17252 \begin_inset Quotes erd
17256 \begin_inset Flex Code
17259 \begin_layout Plain Layout
17267 is the LyX name of the layout, made lowercase, for example: chapter.
17272 contain any style information.
17274 \begin_inset Flex Code
17277 \begin_layout Plain Layout
17288 \begin_layout Description
17291 \begin_inset Flex Code
17294 \begin_layout Plain Layout
17303 \begin_inset Flex Code
17306 \begin_layout Plain Layout
17316 \begin_inset space \thinspace{}
17320 \begin_inset Flex Code
17323 \begin_layout Plain Layout
17331 ] Whether to output the default CSS information LyX generates for this layout,
17332 even if additional information is explicitly provided via
17333 \begin_inset Flex Code
17336 \begin_layout Plain Layout
17346 \begin_inset Flex Code
17349 \begin_layout Plain Layout
17357 allows you to alter or augment the generated CSS, rather than to override
17360 \begin_inset Flex Code
17363 \begin_layout Plain Layout
17374 \begin_layout Description
17377 \begin_inset Flex Code
17380 \begin_layout Plain Layout
17389 \begin_inset Flex Code
17392 \begin_layout Plain Layout
17400 ] The tag to be used for individual paragraphs of environments, replacing
17402 \begin_inset Flex Code
17405 \begin_layout Plain Layout
17413 in the examples above.
17415 \begin_inset Flex Code
17418 \begin_layout Plain Layout
17429 \begin_layout Description
17432 \begin_inset Flex Code
17435 \begin_layout Plain Layout
17444 \begin_inset Flex Code
17447 \begin_layout Plain Layout
17455 ] Attributes for the item tag.
17457 \begin_inset Quotes eld
17461 \begin_inset Flex Code
17464 \begin_layout Plain Layout
17467 class=`layoutname_item'
17473 \begin_inset Quotes erd
17481 contain any style information.
17483 \begin_inset Flex Code
17486 \begin_layout Plain Layout
17497 \begin_layout Description
17500 \begin_inset Flex Code
17503 \begin_layout Plain Layout
17512 \begin_inset Flex Code
17515 \begin_layout Plain Layout
17523 ] The tag to be used for paragraph and item labels, replacing
17524 \begin_inset Flex Code
17527 \begin_layout Plain Layout
17535 in the examples above.
17537 \begin_inset Flex Code
17540 \begin_layout Plain Layout
17549 \begin_inset Flex Code
17552 \begin_layout Plain Layout
17561 \begin_inset Flex Code
17564 \begin_layout Plain Layout
17573 \begin_inset Flex Code
17576 \begin_layout Plain Layout
17579 Centered_Top_Environment
17584 , in which case it defaults to
17585 \begin_inset Flex Code
17588 \begin_layout Plain Layout
17599 \begin_layout Description
17602 \begin_inset Flex Code
17605 \begin_layout Plain Layout
17614 \begin_inset Flex Code
17617 \begin_layout Plain Layout
17625 ] Attributes for the label tag.
17627 \begin_inset Quotes eld
17631 \begin_inset Flex Code
17634 \begin_layout Plain Layout
17637 class=`layoutname_label'
17643 \begin_inset Quotes erd
17651 contain any style information.
17653 \begin_inset Flex Code
17656 \begin_layout Plain Layout
17667 \begin_layout Description
17670 \begin_inset Flex Code
17673 \begin_layout Plain Layout
17682 \begin_inset Flex Code
17685 \begin_layout Plain Layout
17695 \begin_inset space \thinspace{}
17699 \begin_inset Flex Code
17702 \begin_layout Plain Layout
17710 ] Meaningful only for list-like environments, this tag controls whether
17711 the label tag is output before or inside the item tag.
17712 This is used, for example, in the description environment, where we want
17714 \begin_inset Flex Code
17717 \begin_layout Plain Layout
17720 <dt>\SpecialChar \ldots{}
17721 </dt><dd>\SpecialChar \ldots{}
17729 \begin_inset Flex Code
17732 \begin_layout Plain Layout
17740 : The label tag is output inside the item tag.
17743 \begin_layout Description
17746 \begin_inset Flex Code
17749 \begin_layout Plain Layout
17757 Information to be output in the
17758 \begin_inset Flex Code
17761 \begin_layout Plain Layout
17769 section when this style is used.
17770 This might, for example, be used to include a
17771 \begin_inset Flex Code
17774 \begin_layout Plain Layout
17783 \begin_inset Flex Code
17786 \begin_layout Plain Layout
17797 \begin_layout Description
17800 \begin_inset Flex Code
17803 \begin_layout Plain Layout
17811 CSS style information to be included when this style is used.
17812 Note that this will automatically be wrapped in a layout-generated
17813 \begin_inset Flex Code
17816 \begin_layout Plain Layout
17824 block, so only the CSS itself need be included.
17827 \begin_layout Description
17830 \begin_inset Flex Code
17833 \begin_layout Plain Layout
17842 \begin_inset Flex Code
17845 \begin_layout Plain Layout
17853 ] The tag to be used for the main label, replacing
17854 \begin_inset Flex Code
17857 \begin_layout Plain Layout
17865 in the examples above.
17867 \begin_inset Flex Code
17870 \begin_layout Plain Layout
17881 \begin_layout Description
17884 \begin_inset Flex Code
17887 \begin_layout Plain Layout
17896 \begin_inset Flex Code
17899 \begin_layout Plain Layout
17909 \begin_inset space \thinspace{}
17913 \begin_inset Flex Code
17916 \begin_layout Plain Layout
17924 ] Marks this style as the one to be used to generate the
17925 \begin_inset Flex Code
17928 \begin_layout Plain Layout
17936 tag for the XHTML file.
17937 By default, it is false.
17939 \begin_inset Flex Code
17942 \begin_layout Plain Layout
17950 file sets it to true for the
17951 \begin_inset Flex Code
17954 \begin_layout Plain Layout
17966 \begin_layout Subsection
17972 \begin_layout Standard
17975 The XHTML output of insets can also be controlled by information in layout
17980 \begin_layout Plain Layout
17983 At present, this is true only for
17984 \begin_inset Quotes eld
17988 \begin_inset Quotes erd
17991 insets (insets you can type into) and is not true for
17992 \begin_inset Quotes eld
17996 \begin_inset Quotes erd
17999 insets (insets that are associated with dialog boxes).
18004 Here, too, LyX tries to provide sensible defaults, and it constructs default
18006 But everything can be customized.
18009 \begin_layout Standard
18012 The XHTML LyX outputs for an inset has the following form:
18015 \begin_layout LyX-Code
18019 \begin_inset Quotes erd
18023 \begin_inset Quotes erd
18029 \begin_layout LyX-Code
18032 <labeltag>Label</labeltag>
18035 \begin_layout LyX-Code
18039 \begin_inset Quotes erd
18043 \begin_inset Quotes erd
18046 >Contents of the inset.</innertag>
18049 \begin_layout LyX-Code
18055 \begin_layout Standard
18058 If the inset permits multiple paragraphs---that is, if
18059 \begin_inset Flex Code
18062 \begin_layout Plain Layout
18070 is true---then the contents of the inset will itself be output as paragraphs
18071 formatted according to the styles used for those paragraphs (standard,
18072 quote, and the like).
18073 The label tag is of course omitted if the paragraph does not have a label
18074 and, at present, is always
18075 \begin_inset Flex Code
18078 \begin_layout Plain Layout
18087 The inner tag is optional and, by default, does not appear.
18090 \begin_layout Standard
18093 The specific tags and attributes output for each inset can be controlled
18094 by means of the following layout tags.
18097 \begin_layout Description
18100 \begin_inset Flex Code
18103 \begin_layout Plain Layout
18112 \begin_inset Flex Code
18115 \begin_layout Plain Layout
18123 ] Specifies attribute information to be output with the main tag.
18125 \begin_inset Quotes eld
18129 \begin_inset Flex Code
18132 \begin_layout Plain Layout
18135 class=`myinset' onclick=`\SpecialChar \ldots{}
18142 \begin_inset Quotes erd
18146 By default, LyX will output
18147 \begin_inset Quotes eld
18151 \begin_inset Flex Code
18154 \begin_layout Plain Layout
18163 \begin_inset Quotes erd
18167 \begin_inset Flex Code
18170 \begin_layout Plain Layout
18178 is the LyX name of the inset, made lowercase and with non-alphanumeric
18179 characters converted to underscores, for example: footnote.
18182 \begin_layout Description
18185 \begin_inset Flex Code
18188 \begin_layout Plain Layout
18197 \begin_inset Flex Code
18200 \begin_layout Plain Layout
18210 \begin_inset space \thinspace{}
18214 \begin_inset Flex Code
18217 \begin_layout Plain Layout
18225 ] Whether to output the default CSS information LyX generates for this layout,
18226 even if additional information is explicitly provided via
18227 \begin_inset Flex Code
18230 \begin_layout Plain Layout
18240 \begin_inset Flex Code
18243 \begin_layout Plain Layout
18251 allows you to alter or augment the generated CSS, rather than to override
18256 \begin_layout Description
18259 \begin_inset Flex Code
18262 \begin_layout Plain Layout
18271 \begin_inset Flex Code
18274 \begin_layout Plain Layout
18282 ] Attributes for the inner tag.
18284 \begin_inset Quotes eld
18288 \begin_inset Flex Code
18291 \begin_layout Plain Layout
18294 class=`insetname_inner'
18300 \begin_inset Quotes erd
18306 \begin_layout Description
18309 \begin_inset Flex Code
18312 \begin_layout Plain Layout
18321 \begin_inset Flex Code
18324 \begin_layout Plain Layout
18332 ] The inner tag, replacing
18333 \begin_inset Flex Code
18336 \begin_layout Plain Layout
18344 in the examples above.
18345 By default, there is none.
18348 \begin_layout Description
18351 \begin_inset Flex Code
18354 \begin_layout Plain Layout
18363 \begin_inset Flex Code
18366 \begin_layout Plain Layout
18375 \begin_inset space \thinspace{}
18379 \begin_inset Flex Code
18382 \begin_layout Plain Layout
18391 ] Whether this inset represents a standalone block of text (such as a footnote)
18392 or instead represents material that is included in the surrounding text
18393 (such as a branch).
18397 \begin_layout Description
18400 \begin_inset Flex Code
18403 \begin_layout Plain Layout
18412 \begin_inset Flex Code
18415 \begin_layout Plain Layout
18423 ] A label for this inset, possibly including a reference to a counter.
18424 For example, for footnote, it might be:
18425 \begin_inset Flex Code
18428 \begin_layout Plain Layout
18439 This is optional, and there is no default.
18442 \begin_layout Description
18445 \begin_inset Flex Code
18448 \begin_layout Plain Layout
18456 Information to be output in the
18457 \begin_inset Flex Code
18460 \begin_layout Plain Layout
18468 section when this style is used.
18469 This might, for example, be used to include a
18470 \begin_inset Flex Code
18473 \begin_layout Plain Layout
18482 \begin_inset Flex Code
18485 \begin_layout Plain Layout
18496 \begin_layout Description
18499 \begin_inset Flex Code
18502 \begin_layout Plain Layout
18510 CSS style information to be included when this style is used.
18511 Note that this will automatically be wrapped in a layout-generated
18512 \begin_inset Flex Code
18515 \begin_layout Plain Layout
18523 block, so only the CSS itself need be included.
18526 \begin_layout Description
18529 \begin_inset Flex Code
18532 \begin_layout Plain Layout
18541 \begin_inset Flex Code
18544 \begin_layout Plain Layout
18552 ] The tag to be used for the main label, replacing
18553 \begin_inset Flex Code
18556 \begin_layout Plain Layout
18564 in the examples above.
18565 The default depends upon the setting of
18566 \begin_inset Flex Code
18569 \begin_layout Plain Layout
18578 \begin_inset Flex Code
18581 \begin_layout Plain Layout
18589 is true, the default is
18590 \begin_inset Flex Code
18593 \begin_layout Plain Layout
18601 ; if it is false, the default is
18602 \begin_inset Flex Code
18605 \begin_layout Plain Layout
18616 \begin_layout Subsection
18622 \begin_layout Standard
18625 The XHTML output for floats too can be controlled by layout information.
18626 The output has the following form:
18629 \begin_layout LyX-Code
18633 \begin_inset Quotes erd
18637 \begin_inset Quotes erd
18643 \begin_layout LyX-Code
18646 Contents of the float.
18649 \begin_layout LyX-Code
18655 \begin_layout Standard
18658 The caption, if there is one, is a separate inset and will be output as
18660 Its appearance can be controlled via the InsetLayout for caption insets.
18664 \begin_layout Description
18667 \begin_inset Flex Code
18670 \begin_layout Plain Layout
18679 \begin_inset Flex Code
18682 \begin_layout Plain Layout
18690 ] Specifies attribute information to be output with the main tag.
18692 \begin_inset Quotes eld
18696 \begin_inset Flex Code
18699 \begin_layout Plain Layout
18702 class=`myfloat' onclick=`\SpecialChar \ldots{}
18709 \begin_inset Quotes erd
18713 By default, LyX will output
18714 \begin_inset Quotes eld
18718 \begin_inset Flex Code
18721 \begin_layout Plain Layout
18724 class=`float float-floattype'
18730 \begin_inset Quotes erd
18734 \begin_inset Flex Code
18737 \begin_layout Plain Layout
18745 is LyX's name for this type of float, as determined by the float declaration
18747 \begin_inset CommandInset ref
18749 reference "sub:Gleitobjekte"
18753 ), though made lowercase and with non-alphanumeric characters converted
18754 to underscores, for example: float-table.
18757 \begin_layout Description
18760 \begin_inset Flex Code
18763 \begin_layout Plain Layout
18771 CSS style information to be included when this float is used.
18772 Note that this will automatically be wrapped in a layout-generated
18773 \begin_inset Flex Code
18776 \begin_layout Plain Layout
18784 block, so only the CSS itself need be included.
18787 \begin_layout Description
18790 \begin_inset Flex Code
18793 \begin_layout Plain Layout
18802 \begin_inset Flex Code
18805 \begin_layout Plain Layout
18813 ] The tag to be used for this float, replacing
18814 \begin_inset Quotes eld
18818 \begin_inset Flex Code
18821 \begin_layout Plain Layout
18830 \begin_inset Quotes erd
18833 in the example above.
18835 \begin_inset Flex Code
18838 \begin_layout Plain Layout
18846 and will rarely need changing.
18849 \begin_layout Subsection
18852 Bibliography formatting
18855 \begin_layout Standard
18858 The bibliography can be formatted using
18859 \begin_inset Flex Code
18862 \begin_layout Plain Layout
18872 \begin_inset CommandInset ref
18874 reference "sub:Citation-format-description"
18881 \begin_layout Subsection
18887 \begin_layout Standard
18890 We have several times mentioned that LyX will generate default CSS style
18891 rules for both insets and paragraph styles, based upon the other layout
18892 information that is provided.
18893 In this section, we shall say a word about which layout information LyX
18897 \begin_layout Standard
18900 At present, LyX auto-generates CSS only for font information, making use
18902 \begin_inset Flex Code
18905 \begin_layout Plain Layout
18914 \begin_inset Flex Code
18917 \begin_layout Plain Layout
18926 \begin_inset Flex Code
18929 \begin_layout Plain Layout
18938 \begin_inset Flex Code
18941 \begin_layout Plain Layout
18950 \begin_inset Flex Code
18953 \begin_layout Plain Layout
18963 \begin_inset CommandInset ref
18965 reference "sub:Beschreibung-des-Zeichensatzes"
18969 .) The translation is mostly straightforward and obvious.
18971 \begin_inset Quotes eld
18975 \begin_inset Flex Code
18978 \begin_layout Plain Layout
18987 \begin_inset Quotes erd
18991 \begin_inset Quotes eld
18995 \begin_inset Flex Code
18998 \begin_layout Plain Layout
19001 font-family: sans-serif;
19007 \begin_inset Quotes erd
19011 The correspondence of LyX sizes and CSS sizes is a little less obvious
19012 but nonetheless intuitive.
19014 \begin_inset Flex Code
19017 \begin_layout Plain Layout
19026 \begin_inset Flex URL
19029 \begin_layout Plain Layout
19039 \begin_layout Chapter
19040 Externes Material einfügen
19041 \begin_inset CommandInset label
19043 name "cha:Externes-Material-einfügen"
19050 \begin_layout Standard
19053 \begin_inset Box Shadowbox
19063 height_special "totalheight"
19066 \begin_layout Plain Layout
19069 WARNUNG: This portion of the documentation has not been updated for some
19071 We certainly hope that it is still accurate, but there are no guarantees.
19079 \begin_layout Standard
19082 The use of material from sources external to LyX is covered in detail in
19088 This part of the manual covers what needs to happen behind the scenes for
19089 new sorts of material to be included.
19092 \begin_layout Section
19093 Wie funktioniert das?
19096 \begin_layout Standard
19100 \begin_inset space \space{}
19105 basiert auf dem Konzept der Vorlage.
19106 Eine solche Vorlage ist eine Spezifikation, wie LyX mit einer bestimmten
19107 Sorte von Material umgehen soll.
19108 Derzeit gehören zu LyX derartige Vorlagen für XFig-Abbildungen, Dia-Diagramme,
19109 diverse Abbildungen im Rasterformat, Gnuplot und noch ein paar mehr.
19110 Die vollständige Liste sehen Sie in
19112 Einfügen\SpecialChar \menuseparator
19113 Datei\SpecialChar \menuseparator
19115 \begin_inset space \space{}
19123 \begin_layout Standard
19124 Darüberhinaus ist es möglich, durch eigene Vorlagen beliebige andere Formate
19126 Wir werden weiter unten beschreiben, was genau Sie dazu machen müssen und
19127 hoffen, dass Sie derartig erstellte Vorlagen an das LyX-Team schicken,
19128 damit sie in kommenden LyX-Versionen integriert werden können.
19131 \begin_layout Standard
19132 Ein weiteres Merkmal der Idee der externen Einfügung ist die Unterscheidung
19133 zwischen der ursprünglichen Datei, die als Grundlage für das eingefügte
19134 Material dient, und der erzeugten Datei, die dann letztendlich in Ihr Dokument
19136 Wir wollen dies am Beispiel einer XFig-Abbildung erläutern.
19139 \begin_layout Standard
19140 Das Programm XFig bearbeitet eine speziell formatierte Datei mit der Endung
19146 In XFig können Sie Ihre Abbildung editieren und ändern, und zum Schluss
19147 speichern Sie diese
19152 Wenn Sie nun eine derartige Abbildung in LyX einbinden wollen, müssen Sie
19157 starten, um eine PostScript-Datei zu erzeugen, die von LaTeX eingebunden
19159 In diesem Fall ist also die
19163 -Datei die oben erwähnte Originaldatei, und die
19167 Datei die tatsächlich eingebundene Datei.
19170 \begin_layout Standard
19171 Diese Unterscheidung ist wichtig, denn Sie erlaubt das einfache Ändern und
19172 Aktualisieren des Materials, während Sie an Ihrem Text schreiben.
19173 Außerdem ist erst so die Flexibilität gegeben, die benötigt wird, um unterschie
19174 dliche Exportformate für die LyX-Datei zu ermöglichen.
19177 \begin_layout Standard
19178 So ist es im Falle einer Ausgabe als reiner (ASCII) Text sicher nicht sinnvoll,
19179 eine PostScript-Datei im Rohformat einzubinden.
19180 In diesem Fall wird dann entweder nur eine Referenz auf die Bilddatei angegeben
19181 , oder aber es wird ein Konverter gestartet, der eine ASCII-Darstellung
19182 erzeugt, die in etwa so aussieht wie die ursprüngliche Grafik.
19183 Genau dies ist mit der Einfügung
19187 möglich, denn sie kennt all die notwendigen Befehle für derartige Konvertierung
19188 en (sofern sie von LyX unterstützt werden).
19191 \begin_layout Standard
19192 Darüberhinaus erlaubt die Einfügung
19196 aber auch die einfache Integration mit externen Betrachtern und Editoren.
19197 So sind Sie bei einer XFig-Abbildung in der Lage, mit einem einigen Klick
19198 XFig zu starten, um die Abbildung zu bearbeiten oder die erstellte PostScript-D
19204 Kein langes Herumsuchen mit Dateimanagern nach den Original- und Grafikdateien
19205 mehr, und Sie müssen sich nicht mehr an die unterschiedlichen Parameter
19206 erinnern, die vielleicht für diese Abbildung notwendig sind, um sie in
19207 der richtigen Größe zu erstellen.
19208 Sie haben ohne viel Aufwand Zugriff auf eine Vielzahl von Applikationen
19209 und können so Ihre Produktivität ungemein steigern.
19212 \begin_layout Standard
19213 LyX besitzt also die Information über eine Vielzahl von externen Programmen,
19214 um diese von Ihnen unbemerkt nutzen zu können und Ihnen so den größtmöglichen
19216 Und genau diese Information ist in den oben erwähnten Vorlagen gespeichert.
19217 Jede dieser Vorlagen enthält eine Liste von Befehlen und Optionen, um externe
19218 Programme zu starten, Formate zu konvertieren usw\SpecialChar \@.
19222 \begin_layout Standard
19223 Ein fortgeschrittener Anwender kann mit derartigen selbst erstellten Vorlagen
19224 die Möglichkeiten von LyX stark erweitern, ohne dazu den eigentlichen Quellcode
19225 verändern zu müssen.
19226 Zwar ist dazu einiges an Arbeit notwendig, um all diese Befehle festzulegen,
19227 aber zum Glück hat das LyX-Team das in einigen Fällen ja schon getan.
19230 \begin_layout Standard
19231 Eine kleine Einschränkung gibt es aber doch: Da es wie erwähnt eine Vielzahl
19232 möglicher Exportformate für das eingefügte Material gibt, wäre es zu vermuten,
19233 dass man von LyX aus auch alle diese Formate als Vorschau ansehen kann.
19234 Das LyX-Team hat sich entschlossen, das nicht zu tun, um die Benutzerschnittste
19235 lle so einfach wie möglich zu halten.
19236 Anstatt im Dialog für jedes mögliche Exportformat einen eigenen Knopf für
19237 die Vorschau zu haben, wurde das Konzept des primären Formats eingeführt,
19238 und es gibt nur einen Schalter
19241 \begin_inset space \space{}
19248 \begin_layout Plain Layout
19256 \begin_inset space \space{}
19261 , der die Datei in genau diesem primären Format anzeigt.
19264 \begin_layout Standard
19265 Dieses Format wird durch die verwendete Dokumentenklasse festgelegt.
19266 So ist es für die meisten Klassen LaTeX, für die DocBook-Klassen ist es
19268 Denken Sie also daran, dass Ihnen die Vorschau lediglich das Aussehen in
19269 diesem Hauptformat anzeigt; wenn Sie sehen wollen, wie das Ergebnis in
19270 anderen Formaten aussieht, müssen Sie wie gewohnt die Konvertierung manuell
19274 \begin_layout Section
19277 The external template configuration file
19280 \begin_layout Standard
19283 It is relatively easy to add custom external template definitions to LyX.
19284 However, be aware that doing this in a careless manner most probably
19288 introduce an easily exploitable security hole.
19289 So before you do this, please read the discussion about security in section
19291 \begin_inset CommandInset ref
19293 reference "sec:Sicherheitshinweise"
19300 \begin_layout Standard
19303 Having said that, we encourage you to submit any interesting templates that
19308 \begin_layout Standard
19311 The external templates are defined in the
19312 \begin_inset Flex Code
19315 \begin_layout Plain Layout
19318 LyXDir/lib/external_templates
19324 You can place your own version in
19325 \begin_inset Flex Code
19328 \begin_layout Plain Layout
19331 UserDir/external_templates
19339 \begin_layout Standard
19342 A typical template looks like this:
19345 \begin_layout LyX-Code
19351 \begin_layout LyX-Code
19354 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
19357 \begin_layout LyX-Code
19363 \begin_layout LyX-Code
19369 \begin_layout LyX-Code
19375 \begin_layout LyX-Code
19381 \begin_layout LyX-Code
19387 \begin_layout LyX-Code
19390 AutomaticProduction true
19393 \begin_layout LyX-Code
19399 \begin_layout LyX-Code
19405 \begin_layout LyX-Code
19411 \begin_layout LyX-Code
19414 TransformCommand Rotate RotationLatexCommand
19417 \begin_layout LyX-Code
19420 TransformCommand Resize ResizeLatexCommand
19423 \begin_layout LyX-Code
19426 Product "$$RotateFront$$ResizeFront
19429 \begin_layout LyX-Code
19436 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
19439 \begin_layout LyX-Code
19442 $$ResizeBack$$RotateBack"
19445 \begin_layout LyX-Code
19451 \begin_layout LyX-Code
19454 UpdateResult "$$AbsPath$$Basename.pstex_t"
19457 \begin_layout LyX-Code
19460 Requirement "graphicx"
19463 \begin_layout LyX-Code
19466 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
19469 \begin_layout LyX-Code
19472 ReferencedFile latex "$$AbsPath$$Basename.eps"
19475 \begin_layout LyX-Code
19478 ReferencedFile dvi "$$AbsPath$$Basename.eps"
19481 \begin_layout LyX-Code
19487 \begin_layout LyX-Code
19493 \begin_layout LyX-Code
19496 TransformCommand Rotate RotationLatexCommand
19499 \begin_layout LyX-Code
19502 TransformCommand Resize ResizeLatexCommand
19505 \begin_layout LyX-Code
19508 Product "$$RotateFront$$ResizeFront
19511 \begin_layout LyX-Code
19518 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
19521 \begin_layout LyX-Code
19524 $$ResizeBack$$RotateBack"
19527 \begin_layout LyX-Code
19530 UpdateFormat pdftex
19533 \begin_layout LyX-Code
19536 UpdateResult "$$AbsPath$$Basename.pdftex_t"
19539 \begin_layout LyX-Code
19542 Requirement "graphicx"
19545 \begin_layout LyX-Code
19548 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
19551 \begin_layout LyX-Code
19554 ReferencedFile latex "$$AbsPath$$Basename.pdf"
19557 \begin_layout LyX-Code
19563 \begin_layout LyX-Code
19569 \begin_layout LyX-Code
19572 Product "$$Contents(
19574 "$$AbsPath$$Basename.asc
19579 \begin_layout LyX-Code
19582 UpdateFormat asciixfig
19585 \begin_layout LyX-Code
19588 UpdateResult "$$AbsPath$$Basename.asc"
19591 \begin_layout LyX-Code
19597 \begin_layout LyX-Code
19603 \begin_layout LyX-Code
19606 Product "<graphic fileref=
19608 "$$AbsOrRelPathMaster$$Basename.eps
19613 \begin_layout LyX-Code
19619 \begin_layout LyX-Code
19625 \begin_layout LyX-Code
19628 UpdateResult "$$AbsPath$$Basename.eps"
19631 \begin_layout LyX-Code
19634 ReferencedFile docbook "$$AbsPath$$Basename.eps"
19637 \begin_layout LyX-Code
19640 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
19643 \begin_layout LyX-Code
19649 \begin_layout LyX-Code
19652 Product "[XFig: $$FName]"
19655 \begin_layout LyX-Code
19661 \begin_layout LyX-Code
19667 \begin_layout Standard
19670 As you can see, the template is enclosed in
19671 \begin_inset Flex Code
19674 \begin_layout Plain Layout
19682 \SpecialChar \ldots{}
19684 \begin_inset Flex Code
19687 \begin_layout Plain Layout
19696 It contains a header specifying some general settings and, for each supported
19697 primary document file format, a section
19698 \begin_inset Flex Code
19701 \begin_layout Plain Layout
19709 \SpecialChar \ldots{}
19711 \begin_inset Flex Code
19714 \begin_layout Plain Layout
19725 \begin_layout Subsection
19728 The template header
19731 \begin_layout Description
19734 \begin_inset Flex Code
19737 \begin_layout Plain Layout
19740 AutomaticProduction
19741 \begin_inset space ~
19749 Whether the file represented by the template must be generated by LyX.
19750 This command must occur exactly once.
19753 \begin_layout Description
19756 \begin_inset Flex Code
19759 \begin_layout Plain Layout
19763 \begin_inset space ~
19771 A glob pattern that is used in the file dialog to filter out the desired
19773 If there is more than one possible file extension (e.
19774 \begin_inset space \thinspace{}
19778 \begin_inset space \space{}
19782 \begin_inset Flex Code
19785 \begin_layout Plain Layout
19794 \begin_inset Flex Code
19797 \begin_layout Plain Layout
19805 ), use something like
19806 \begin_inset Flex Code
19809 \begin_layout Plain Layout
19818 This command must occur exactly once.
19821 \begin_layout Description
19824 \begin_inset Flex Code
19827 \begin_layout Plain Layout
19831 \begin_inset space ~
19839 The text that is displayed on the button.
19840 This command must occur exactly once.
19843 \begin_layout Description
19846 \begin_inset Flex Code
19849 \begin_layout Plain Layout
19853 \begin_inset space ~
19857 \begin_inset space ~
19865 The help text that is used in the External dialog.
19866 Provide enough information to explain to the user just what the template
19867 can provide him with.
19868 This command must occur exactly once.
19871 \begin_layout Description
19874 \begin_inset Flex Code
19877 \begin_layout Plain Layout
19881 \begin_inset space ~
19889 The file format of the original file.
19890 This must be the name of a format that is known to LyX (see section
19891 \begin_inset space ~
19897 \begin_inset CommandInset ref
19899 reference "sec:Formate"
19907 \begin_inset Quotes eld
19911 \begin_inset Flex Code
19914 \begin_layout Plain Layout
19923 \begin_inset Quotes erd
19926 if the template can handle original files of more than one format.
19927 LyX will attempt to interrogate the file itself in order to deduce its
19928 format in this case.
19929 This command must occur exactly once.
19932 \begin_layout Description
19935 \begin_inset Flex Code
19938 \begin_layout Plain Layout
19942 \begin_inset space ~
19950 A unique name for the template.
19951 It must not contain substitution macros (see below).
19954 \begin_layout Description
19957 \begin_inset Flex Code
19960 \begin_layout Plain Layout
19964 \begin_inset space ~
19967 Rotate|Resize|Clip|Extra
19972 This command specifies which transformations are supported by this template.
19973 It may occur zero or more times.
19974 This command enables the corresponding tabs in the external dialog.
19976 \begin_inset Flex Code
19979 \begin_layout Plain Layout
19987 command must have either a corresponding
19988 \begin_inset Flex Code
19991 \begin_layout Plain Layout
20000 \begin_inset Flex Code
20003 \begin_layout Plain Layout
20012 \begin_inset Flex Code
20015 \begin_layout Plain Layout
20024 Otherwise the transformation will not be supported by that format.
20027 \begin_layout Subsection
20033 \begin_layout Description
20036 \begin_inset Flex Code
20039 \begin_layout Plain Layout
20043 \begin_inset space ~
20046 LaTeX|PDFLaTeX|PlainText|DocBook
20051 The primary document file format that this format definition is for.
20052 Not every template has a sensible representation in all document file formats.
20053 Please define nevertheless a
20054 \begin_inset Flex Code
20057 \begin_layout Plain Layout
20065 section for all templates.
20066 Use a dummy text when no representation is available.
20067 Then you can at least see a reference to the external material in the exported
20071 \begin_layout Description
20074 \begin_inset Flex Code
20077 \begin_layout Plain Layout
20081 \begin_inset space ~
20085 \begin_inset space ~
20093 This command defines an additional macro
20094 \begin_inset Flex Code
20097 \begin_layout Plain Layout
20105 for substitution in
20106 \begin_inset Flex Code
20109 \begin_layout Plain Layout
20119 \begin_inset Flex Code
20122 \begin_layout Plain Layout
20130 itself may contain substitution macros.
20131 The advantage over using
20132 \begin_inset Flex Code
20135 \begin_layout Plain Layout
20144 \begin_inset Flex Code
20147 \begin_layout Plain Layout
20155 is that the substituted value of
20156 \begin_inset Flex Code
20159 \begin_layout Plain Layout
20167 is sanitized so that it is a valid optional argument in the document format.
20168 This command may occur zero or more times.
20171 \begin_layout Description
20174 \begin_inset Flex Code
20177 \begin_layout Plain Layout
20181 \begin_inset space ~
20189 The text that is inserted in the exported document.
20190 This is actually the most important command and can be quite complex.
20191 This command must occur exactly once.
20194 \begin_layout Description
20197 \begin_inset Flex Code
20200 \begin_layout Plain Layout
20204 \begin_inset space ~
20212 This command specifies a preamble snippet that will be included in the
20214 It has to be defined using
20215 \begin_inset Flex Code
20218 \begin_layout Plain Layout
20226 \SpecialChar \ldots{}
20228 \begin_inset Flex Code
20231 \begin_layout Plain Layout
20240 This command may occur zero or more times.
20243 \begin_layout Description
20246 \begin_inset Flex Code
20249 \begin_layout Plain Layout
20253 \begin_inset space ~
20257 \begin_inset space ~
20265 This command denotes files that are created by the conversion process and
20266 are needed for a particular export format.
20267 If the filename is relative, it is interpreted relative to the master document.
20268 This command may be given zero or more times.
20271 \begin_layout Description
20274 \begin_inset Flex Code
20277 \begin_layout Plain Layout
20281 \begin_inset space ~
20289 The name of a required LaTeX package.
20290 The package is included via
20291 \begin_inset Flex Code
20294 \begin_layout Plain Layout
20304 in the LaTeX preamble.
20305 This command may occur zero or more times.
20308 \begin_layout Description
20311 \begin_inset Flex Code
20314 \begin_layout Plain Layout
20318 \begin_inset space ~
20322 \begin_inset space ~
20325 RotationLatexCommand
20330 This command specifies that the built in LaTeX command should be used for
20332 This command may occur once or not at all.
20335 \begin_layout Description
20338 \begin_inset Flex Code
20341 \begin_layout Plain Layout
20345 \begin_inset space ~
20349 \begin_inset space ~
20357 This command specifies that the built in LaTeX command should be used for
20359 This command may occur once or not at all.
20362 \begin_layout Description
20365 \begin_inset Flex Code
20368 \begin_layout Plain Layout
20372 \begin_inset space ~
20376 \begin_inset space ~
20379 RotationLatexOption
20384 This command specifies that rotation is done via an optional argument.
20385 This command may occur once or not at all.
20388 \begin_layout Description
20391 \begin_inset Flex Code
20394 \begin_layout Plain Layout
20398 \begin_inset space ~
20402 \begin_inset space ~
20410 This command specifies that resizing is done via an optional argument.
20411 This command may occur once or not at all.
20414 \begin_layout Description
20417 \begin_inset Flex Code
20420 \begin_layout Plain Layout
20424 \begin_inset space ~
20428 \begin_inset space ~
20436 This command specifies that clipping is done via an optional argument.
20437 This command may occur once or not at all.
20440 \begin_layout Description
20443 \begin_inset Flex Code
20446 \begin_layout Plain Layout
20450 \begin_inset space ~
20454 \begin_inset space ~
20462 This command specifies that an extra optional argument is used.
20463 This command may occur once or not at all.
20466 \begin_layout Description
20469 \begin_inset Flex Code
20472 \begin_layout Plain Layout
20476 \begin_inset space ~
20484 The file format of the converted file.
20485 This must be the name of a format that is known to LyX (see the
20486 \begin_inset Flex MenuItem
20489 \begin_layout Plain Layout
20495 ools\SpecialChar \menuseparator
20500 references\SpecialChar \menuseparator
20501 File Handling\SpecialChar \menuseparator
20508 This command must occur exactly once.
20511 \begin_layout Description
20514 \begin_inset Flex Code
20517 \begin_layout Plain Layout
20521 \begin_inset space ~
20529 The file name of the converted file.
20530 The file name must be absolute.
20531 This command must occur exactly once.
20534 \begin_layout Subsection
20537 Preamble definitions
20540 \begin_layout Standard
20543 The external template configuration file may contain additional preamble
20544 definitions enclosed by
20545 \begin_inset Flex Code
20548 \begin_layout Plain Layout
20556 \SpecialChar \ldots{}
20558 \begin_inset Flex Code
20561 \begin_layout Plain Layout
20570 They can be used by the templates in the
20571 \begin_inset Flex Code
20574 \begin_layout Plain Layout
20585 \begin_layout Section
20586 Der Ersetzungsmechanismus
20589 \begin_layout Standard
20590 Wenn über die externe Einfügung ein externes Programm gestartet wird, geschieht
20591 dies anhand eines Befehls, der in der Vorlage festgelegt wurde.
20592 Ein solcher Befehl kann diverse Makros enthalten, die vor dem eigentlichen
20593 Aufruf ausgewertet werden.
20594 Die Ausführung erfolgt dabei immer in demjenigen Verzeichnis, das auch
20595 das LyX-Dokument enthält.
20598 \begin_layout Standard
20601 Also, whenever external material is to be displayed, the name will be produced
20602 by the substitution mechanism, and most other commands in the template
20603 definition support substitution as well.
20606 \begin_layout Standard
20607 Hier finden Sie eine Liste dieser Makros:
20610 \begin_layout Description
20613 \begin_inset Flex Code
20616 \begin_layout Plain Layout
20619 $$AbsOrRelPathMaster
20624 The file path, absolute or relative to the master LyX document.
20627 \begin_layout Description
20630 \begin_inset Flex Code
20633 \begin_layout Plain Layout
20636 $$AbsOrRelPathParent
20641 The file path, absolute or relative to the LyX document.
20644 \begin_layout Description
20647 \begin_inset Flex Code
20650 \begin_layout Plain Layout
20658 The absolute file path.
20661 \begin_layout Description
20664 \begin_inset Flex Code
20667 \begin_layout Plain Layout
20675 The filename without path and without the extension.
20678 \begin_layout Description
20681 \begin_inset Flex Code
20684 \begin_layout Plain Layout
20688 \begin_inset Quotes eld
20692 \begin_inset Quotes erd
20700 This macro will expand to the contents of the file with the name
20701 \begin_inset Flex Code
20704 \begin_layout Plain Layout
20715 \begin_layout Description
20718 \begin_inset Flex Code
20721 \begin_layout Plain Layout
20729 The file extension (including the dot).
20732 \begin_layout Description
20735 \begin_inset Flex Code
20738 \begin_layout Plain Layout
20746 The filename of the file specified in the external material dialog.
20747 This is either an absolute name, or it is relative to the LyX document.
20750 \begin_layout Description
20753 \begin_inset Flex Code
20756 \begin_layout Plain Layout
20765 \begin_inset Flex Code
20768 \begin_layout Plain Layout
20776 (absolute name or relative to the LyX document).
20779 \begin_layout Description
20782 \begin_inset Flex Code
20785 \begin_layout Plain Layout
20793 The file path, relative to the master LyX document.
20796 \begin_layout Description
20799 \begin_inset Flex Code
20802 \begin_layout Plain Layout
20810 The file path, relative to the LyX document.
20813 \begin_layout Description
20816 \begin_inset Flex Code
20819 \begin_layout Plain Layout
20827 This macro will expand to the absolute path of the system directory.
20828 This is typically used to point to the various helper scripts that are
20832 \begin_layout Description
20835 \begin_inset Flex Code
20838 \begin_layout Plain Layout
20846 A name and full path to a temporary file which will be automatically deleted
20847 whenever the containing document is closed, or the external material insertion
20851 \begin_layout Standard
20854 All path macros contain a trailing directory separator, so you can construct
20856 \begin_inset space \thinspace{}
20860 \begin_inset space \space{}
20863 the absolute filename with
20864 \begin_inset Flex Code
20867 \begin_layout Plain Layout
20870 $$AbsPath$$Basename$$Extension
20878 \begin_layout Standard
20881 The macros above are substituted in all commands unless otherwise noted.
20883 \begin_inset Flex Code
20886 \begin_layout Plain Layout
20894 supports additionally the following substitutions if they are enabled by
20896 \begin_inset Flex Code
20899 \begin_layout Plain Layout
20908 \begin_inset Flex Code
20911 \begin_layout Plain Layout
20922 \begin_layout Description
20925 \begin_inset Flex Code
20928 \begin_layout Plain Layout
20936 The front part of the resize command.
20939 \begin_layout Description
20942 \begin_inset Flex Code
20945 \begin_layout Plain Layout
20953 The back part of the resize command.
20956 \begin_layout Description
20959 \begin_inset Flex Code
20962 \begin_layout Plain Layout
20970 The front part of the rotation command.
20973 \begin_layout Description
20976 \begin_inset Flex Code
20979 \begin_layout Plain Layout
20987 The back part of the rotation command.
20990 \begin_layout Standard
20993 The value string of the
20994 \begin_inset Flex Code
20997 \begin_layout Plain Layout
21005 command supports additionally the following substitutions if they are enabled
21007 \begin_inset Flex Code
21010 \begin_layout Plain Layout
21019 \begin_inset Flex Code
21022 \begin_layout Plain Layout
21033 \begin_layout Description
21036 \begin_inset Flex Code
21039 \begin_layout Plain Layout
21050 \begin_layout Description
21053 \begin_inset Flex Code
21056 \begin_layout Plain Layout
21067 \begin_layout Description
21070 \begin_inset Flex Code
21073 \begin_layout Plain Layout
21084 \begin_layout Description
21087 \begin_inset Flex Code
21090 \begin_layout Plain Layout
21098 The rotation option.
21101 \begin_layout Standard
21104 You may ask why there are so many path macros.
21105 There are mainly two reasons:
21108 \begin_layout Enumerate
21111 Relative and absolute file names should remain relative or absolute, respectivel
21113 Users may have reasons to prefer either form.
21114 Relative names are useful for portable documents that should work on different
21115 machines, for example.
21116 Absolute names may be required by some programs.
21119 \begin_layout Enumerate
21122 LaTeX treats relative file names differently than LyX and other programs
21123 in nested included files.
21124 For LyX, a relative file name is always relative to the document that contains
21126 For LaTeX, it is always relative to the master document.
21127 These two definitions are identical if you have only one document, but
21128 differ if you have a master document that includes part documents.
21129 That means that relative filenames must be transformed when presented to
21131 Fortunately LyX does this automatically for you if you choose the right
21135 \begin_layout Standard
21138 So which path macro should be used in new template definitions? The rule
21142 \begin_layout Itemize
21146 \begin_inset Flex Code
21149 \begin_layout Plain Layout
21157 if an absolute path is required.
21160 \begin_layout Itemize
21164 \begin_inset Flex Code
21167 \begin_layout Plain Layout
21170 $$AbsOrRelPathMaster
21175 if the substituted string is some kind of LaTeX input.
21178 \begin_layout Itemize
21182 \begin_inset Flex Code
21185 \begin_layout Plain Layout
21188 $$AbsOrRelPathParent
21193 in order to preserve the user's choice.
21196 \begin_layout Standard
21199 There are special cases where this rule does not work and e.
21200 \begin_inset space \thinspace{}
21204 \begin_inset space \space{}
21207 relative names are needed, but normally it will work just fine.
21208 One example for such a case is the command
21209 \begin_inset Flex Code
21212 \begin_layout Plain Layout
21215 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
21220 in the XFig template above: We can't use the absolute name because the
21222 \begin_inset Flex Code
21225 \begin_layout Plain Layout
21233 files needs the relative name in order to rewrite the file content.
21236 \begin_layout Section
21237 Sicherheitshinweise
21238 \begin_inset CommandInset label
21240 name "sec:Sicherheitshinweise"
21247 \begin_layout Standard
21250 The external material feature interfaces with a lot of external programs
21251 and does so automatically, so we have to consider the security implications
21253 In particular, since you have the option of including your own filenames
21254 and/or parameter strings and those are expanded into a command, it seems
21255 that it would be possible to create a malicious document which executes
21256 arbitrary commands when a user views or prints the document.
21257 This is something we definitely want to avoid.
21260 \begin_layout Standard
21263 However, since the external program commands are specified in the template
21264 configuration file only, there are no security issues if LyX is properly
21265 configured with safe templates only.
21266 This is so because the external programs are invoked with the
21267 \begin_inset Flex Code
21270 \begin_layout Plain Layout
21278 -system call rather than the
21279 \begin_inset Flex Code
21282 \begin_layout Plain Layout
21290 system-call, so it's not possible to execute arbitrary commands from the
21291 filename or parameter section via the shell.
21294 \begin_layout Standard
21297 This also implies that you are restricted in what command strings you can
21298 use in the external material templates.
21299 In particular, pipes and redirection are not readily available.
21300 This has to be so if LyX should remain safe.
21301 If you want to use some of the shell features, you should write a safe
21302 script to do this in a controlled manner, and then invoke the script from
21303 the command string.
21307 \begin_layout Standard
21310 It is possible to design a template that interacts directly with the shell,
21311 but since this would allow a malicious user to execute arbitrary commands
21312 by writing clever filenames and/or parameters, we generally recommend that
21313 you only use safe scripts that work with the
21314 \begin_inset Flex Code
21317 \begin_layout Plain Layout
21325 system call in a controlled manner.
21326 Of course, for use in a controlled environment, it can be tempting to just
21327 fall back to use ordinary shell scripts.
21328 If you do so, be aware that you
21332 provide an easily exploitable security hole in your system.
21333 Of course it stands to reason that such unsafe templates will never be
21334 included in the standard LyX distribution, although we do encourage people
21335 to submit new templates in the open source tradition.
21336 But LyX as shipped from the official distribution channels will never have
21340 \begin_layout Standard
21343 Including external material provides a lot of power, and you have to be
21344 careful not to introduce security hazards with this power.
21345 A subtle error in a single line in an innocent looking script can open
21346 the door to huge security problems.
21347 So if you do not fully understand the issues, we recommend that you consult
21348 a knowledgeable security professional or the LyX development team if you
21349 have any questions about whether a given template is safe or not.
21350 And do this before you use it in an uncontrolled environment.
21353 \begin_layout Chapter
21355 Liste der Funktionen für die Verwendung in Layout-Dateien
21356 \begin_inset CommandInset label
21358 name "chap:Liste-von-Funktionen"
21365 \begin_layout Standard
21367 \begin_inset Tabular
21368 <lyxtabular version="3" rows="10" columns="6">
21369 <features tabularvalignment="middle">
21370 <column alignment="left" valignment="top" width="14col%">
21371 <column alignment="left" valignment="top" width="14col%">
21372 <column alignment="left" valignment="top" width="14col%">
21373 <column alignment="left" valignment="top" width="14col%">
21374 <column alignment="left" valignment="top" width="14col%">
21375 <column alignment="left" valignment="top" width="14col%">
21377 <cell alignment="left" valignment="top" usebox="none">
21380 \begin_layout Plain Layout
21386 <cell alignment="left" valignment="top" usebox="none">
21389 \begin_layout Plain Layout
21395 <cell alignment="left" valignment="top" usebox="none">
21398 \begin_layout Plain Layout
21404 <cell alignment="left" valignment="top" usebox="none">
21407 \begin_layout Plain Layout
21413 <cell alignment="left" valignment="top" usebox="none">
21416 \begin_layout Plain Layout
21422 <cell alignment="left" valignment="top" usebox="none">
21425 \begin_layout Plain Layout
21433 <cell alignment="left" valignment="top" usebox="none">
21436 \begin_layout Plain Layout
21442 <cell alignment="left" valignment="top" usebox="none">
21445 \begin_layout Plain Layout
21451 <cell alignment="left" valignment="top" usebox="none">
21454 \begin_layout Plain Layout
21460 <cell alignment="left" valignment="top" usebox="none">
21463 \begin_layout Plain Layout
21469 <cell alignment="left" valignment="top" usebox="none">
21472 \begin_layout Plain Layout
21478 <cell alignment="left" valignment="top" usebox="none">
21481 \begin_layout Plain Layout
21489 <cell alignment="left" valignment="top" usebox="none">
21492 \begin_layout Plain Layout
21498 <cell alignment="left" valignment="top" usebox="none">
21501 \begin_layout Plain Layout
21507 <cell alignment="left" valignment="top" usebox="none">
21510 \begin_layout Plain Layout
21516 <cell alignment="left" valignment="top" usebox="none">
21519 \begin_layout Plain Layout
21525 <cell alignment="left" valignment="top" usebox="none">
21528 \begin_layout Plain Layout
21534 <cell alignment="left" valignment="top" usebox="none">
21537 \begin_layout Plain Layout
21545 <cell alignment="left" valignment="top" usebox="none">
21548 \begin_layout Plain Layout
21554 <cell alignment="left" valignment="top" usebox="none">
21557 \begin_layout Plain Layout
21563 <cell alignment="left" valignment="top" usebox="none">
21566 \begin_layout Plain Layout
21572 <cell alignment="left" valignment="top" usebox="none">
21575 \begin_layout Plain Layout
21581 <cell alignment="left" valignment="top" usebox="none">
21584 \begin_layout Plain Layout
21590 <cell alignment="left" valignment="top" usebox="none">
21593 \begin_layout Plain Layout
21601 <cell alignment="left" valignment="top" usebox="none">
21604 \begin_layout Plain Layout
21610 <cell alignment="left" valignment="top" usebox="none">
21613 \begin_layout Plain Layout
21619 <cell alignment="left" valignment="top" usebox="none">
21622 \begin_layout Plain Layout
21628 <cell alignment="left" valignment="top" usebox="none">
21631 \begin_layout Plain Layout
21637 <cell alignment="left" valignment="top" usebox="none">
21640 \begin_layout Plain Layout
21646 <cell alignment="left" valignment="top" usebox="none">
21649 \begin_layout Plain Layout
21657 <cell alignment="left" valignment="top" usebox="none">
21660 \begin_layout Plain Layout
21666 <cell alignment="left" valignment="top" usebox="none">
21669 \begin_layout Plain Layout
21675 <cell alignment="left" valignment="top" usebox="none">
21678 \begin_layout Plain Layout
21684 <cell alignment="left" valignment="top" usebox="none">
21687 \begin_layout Plain Layout
21693 <cell alignment="left" valignment="top" usebox="none">
21696 \begin_layout Plain Layout
21702 <cell alignment="left" valignment="top" usebox="none">
21705 \begin_layout Plain Layout
21713 <cell alignment="left" valignment="top" usebox="none">
21716 \begin_layout Plain Layout
21722 <cell alignment="left" valignment="top" usebox="none">
21725 \begin_layout Plain Layout
21731 <cell alignment="left" valignment="top" usebox="none">
21734 \begin_layout Plain Layout
21740 <cell alignment="left" valignment="top" usebox="none">
21743 \begin_layout Plain Layout
21749 <cell alignment="left" valignment="top" usebox="none">
21752 \begin_layout Plain Layout
21758 <cell alignment="left" valignment="top" usebox="none">
21761 \begin_layout Plain Layout
21769 <cell alignment="left" valignment="top" usebox="none">
21772 \begin_layout Plain Layout
21778 <cell alignment="left" valignment="top" usebox="none">
21781 \begin_layout Plain Layout
21787 <cell alignment="left" valignment="top" usebox="none">
21790 \begin_layout Plain Layout
21796 <cell alignment="left" valignment="top" usebox="none">
21799 \begin_layout Plain Layout
21805 <cell alignment="left" valignment="top" usebox="none">
21808 \begin_layout Plain Layout
21814 <cell alignment="left" valignment="top" usebox="none">
21817 \begin_layout Plain Layout
21825 <cell alignment="left" valignment="top" usebox="none">
21828 \begin_layout Plain Layout
21834 <cell alignment="left" valignment="top" usebox="none">
21837 \begin_layout Plain Layout
21843 <cell alignment="left" valignment="top" usebox="none">
21846 \begin_layout Plain Layout
21852 <cell alignment="left" valignment="top" usebox="none">
21855 \begin_layout Plain Layout
21861 <cell alignment="left" valignment="top" usebox="none">
21864 \begin_layout Plain Layout
21870 <cell alignment="left" valignment="top" usebox="none">
21873 \begin_layout Plain Layout
21881 <cell alignment="left" valignment="top" usebox="none">
21884 \begin_layout Plain Layout
21890 <cell alignment="left" valignment="top" usebox="none">
21893 \begin_layout Plain Layout
21899 <cell alignment="left" valignment="top" usebox="none">
21902 \begin_layout Plain Layout
21908 <cell alignment="left" valignment="top" usebox="none">
21911 \begin_layout Plain Layout
21917 <cell alignment="left" valignment="top" usebox="none">
21920 \begin_layout Plain Layout
21926 <cell alignment="left" valignment="top" usebox="none">
21929 \begin_layout Plain Layout
21943 \begin_layout Standard
21945 \begin_inset Tabular
21946 <lyxtabular version="3" rows="10" columns="6">
21947 <features tabularvalignment="middle">
21948 <column alignment="left" valignment="top" width="14col%">
21949 <column alignment="left" valignment="top" width="14col%">
21950 <column alignment="left" valignment="top" width="14col%">
21951 <column alignment="left" valignment="top" width="14col%">
21952 <column alignment="left" valignment="top" width="14col%">
21953 <column alignment="left" valignment="top" width="14col%">
21955 <cell alignment="left" valignment="top" usebox="none">
21958 \begin_layout Plain Layout
21964 <cell alignment="left" valignment="top" usebox="none">
21967 \begin_layout Plain Layout
21973 <cell alignment="left" valignment="top" usebox="none">
21976 \begin_layout Plain Layout
21982 <cell alignment="left" valignment="top" usebox="none">
21985 \begin_layout Plain Layout
21991 <cell alignment="left" valignment="top" usebox="none">
21994 \begin_layout Plain Layout
22000 <cell alignment="left" valignment="top" usebox="none">
22003 \begin_layout Plain Layout
22011 <cell alignment="left" valignment="top" usebox="none">
22014 \begin_layout Plain Layout
22020 <cell alignment="left" valignment="top" usebox="none">
22023 \begin_layout Plain Layout
22029 <cell alignment="left" valignment="top" usebox="none">
22032 \begin_layout Plain Layout
22038 <cell alignment="left" valignment="top" usebox="none">
22041 \begin_layout Plain Layout
22047 <cell alignment="left" valignment="top" usebox="none">
22050 \begin_layout Plain Layout
22056 <cell alignment="left" valignment="top" usebox="none">
22059 \begin_layout Plain Layout
22067 <cell alignment="left" valignment="top" usebox="none">
22070 \begin_layout Plain Layout
22076 <cell alignment="left" valignment="top" usebox="none">
22079 \begin_layout Plain Layout
22085 <cell alignment="left" valignment="top" usebox="none">
22088 \begin_layout Plain Layout
22094 <cell alignment="left" valignment="top" usebox="none">
22097 \begin_layout Plain Layout
22103 <cell alignment="left" valignment="top" usebox="none">
22106 \begin_layout Plain Layout
22112 <cell alignment="left" valignment="top" usebox="none">
22115 \begin_layout Plain Layout
22123 <cell alignment="left" valignment="top" usebox="none">
22126 \begin_layout Plain Layout
22132 <cell alignment="left" valignment="top" usebox="none">
22135 \begin_layout Plain Layout
22141 <cell alignment="left" valignment="top" usebox="none">
22144 \begin_layout Plain Layout
22150 <cell alignment="left" valignment="top" usebox="none">
22153 \begin_layout Plain Layout
22159 <cell alignment="left" valignment="top" usebox="none">
22162 \begin_layout Plain Layout
22168 <cell alignment="left" valignment="top" usebox="none">
22171 \begin_layout Plain Layout
22179 <cell alignment="left" valignment="top" usebox="none">
22182 \begin_layout Plain Layout
22188 <cell alignment="left" valignment="top" usebox="none">
22191 \begin_layout Plain Layout
22197 <cell alignment="left" valignment="top" usebox="none">
22200 \begin_layout Plain Layout
22206 <cell alignment="left" valignment="top" usebox="none">
22209 \begin_layout Plain Layout
22215 <cell alignment="left" valignment="top" usebox="none">
22218 \begin_layout Plain Layout
22224 <cell alignment="left" valignment="top" usebox="none">
22227 \begin_layout Plain Layout
22235 <cell alignment="left" valignment="top" usebox="none">
22238 \begin_layout Plain Layout
22244 <cell alignment="left" valignment="top" usebox="none">
22247 \begin_layout Plain Layout
22253 <cell alignment="left" valignment="top" usebox="none">
22256 \begin_layout Plain Layout
22262 <cell alignment="left" valignment="top" usebox="none">
22265 \begin_layout Plain Layout
22271 <cell alignment="left" valignment="top" usebox="none">
22274 \begin_layout Plain Layout
22280 <cell alignment="left" valignment="top" usebox="none">
22283 \begin_layout Plain Layout
22291 <cell alignment="left" valignment="top" usebox="none">
22294 \begin_layout Plain Layout
22300 <cell alignment="left" valignment="top" usebox="none">
22303 \begin_layout Plain Layout
22309 <cell alignment="left" valignment="top" usebox="none">
22312 \begin_layout Plain Layout
22318 <cell alignment="left" valignment="top" usebox="none">
22321 \begin_layout Plain Layout
22327 <cell alignment="left" valignment="top" usebox="none">
22330 \begin_layout Plain Layout
22336 <cell alignment="left" valignment="top" usebox="none">
22339 \begin_layout Plain Layout
22347 <cell alignment="left" valignment="top" usebox="none">
22350 \begin_layout Plain Layout
22356 <cell alignment="left" valignment="top" usebox="none">
22359 \begin_layout Plain Layout
22365 <cell alignment="left" valignment="top" usebox="none">
22368 \begin_layout Plain Layout
22374 <cell alignment="left" valignment="top" usebox="none">
22377 \begin_layout Plain Layout
22383 <cell alignment="left" valignment="top" usebox="none">
22386 \begin_layout Plain Layout
22392 <cell alignment="left" valignment="top" usebox="none">
22395 \begin_layout Plain Layout
22403 <cell alignment="left" valignment="top" usebox="none">
22406 \begin_layout Plain Layout
22412 <cell alignment="left" valignment="top" usebox="none">
22415 \begin_layout Plain Layout
22421 <cell alignment="left" valignment="top" usebox="none">
22424 \begin_layout Plain Layout
22430 <cell alignment="left" valignment="top" usebox="none">
22433 \begin_layout Plain Layout
22439 <cell alignment="left" valignment="top" usebox="none">
22442 \begin_layout Plain Layout
22448 <cell alignment="left" valignment="top" usebox="none">
22451 \begin_layout Plain Layout
22459 <cell alignment="left" valignment="top" usebox="none">
22462 \begin_layout Plain Layout
22468 <cell alignment="left" valignment="top" usebox="none">
22471 \begin_layout Plain Layout
22477 <cell alignment="left" valignment="top" usebox="none">
22480 \begin_layout Plain Layout
22486 <cell alignment="left" valignment="top" usebox="none">
22489 \begin_layout Plain Layout
22495 <cell alignment="left" valignment="top" usebox="none">
22498 \begin_layout Plain Layout
22504 <cell alignment="left" valignment="top" usebox="none">
22507 \begin_layout Plain Layout
22521 \begin_layout Chapter
22522 Namen von verfügbaren Farben für die Verwendung in Layout-Dateien
22523 \begin_inset CommandInset label
22525 name "chap:Namen-von-Farben"
22532 \begin_layout Standard
22533 Die hier aufgelisteten Farben sind die Standardfarben und die, die man in
22534 den LyX-Voreinstellungen festlegen kann.
22537 \begin_layout Description
22552 No particular color -- clear or default
22555 \begin_layout Description
22561 \begin_layout Description
22567 \begin_layout Description
22573 \begin_layout Description
22579 \begin_layout Description
22585 \begin_layout Description
22591 \begin_layout Description
22597 \begin_layout Description
22603 \begin_layout Description
22606 cursor Cursor color
22609 \begin_layout Description
22612 background Background color
22615 \begin_layout Description
22618 foreground Foreground color
22621 \begin_layout Description
22624 selection Background color of selected text
22627 \begin_layout Description
22630 selectiontext Foreground color of selected text
22633 \begin_layout Description
22636 latex Text color in LaTeX mode
22639 \begin_layout Description
22642 preview The color used for previews
22645 \begin_layout Description
22648 inlinecompletion Inline completion color
22651 \begin_layout Description
22654 nonunique_inlinecompletion Inline completion color for the non-unique part
22657 \begin_layout Description
22660 notelabel Label color for notes
22663 \begin_layout Description
22666 notebg Background color of notes
22669 \begin_layout Description
22672 commentlabel Label color for comments
22675 \begin_layout Description
22678 commentbg Background color of comments
22681 \begin_layout Description
22684 greyedoutlabel Label color for greyedout insets
22687 \begin_layout Description
22690 greyedouttext Color for greyedout inset text
22693 \begin_layout Description
22696 greyedoutbg Background color of greyedout inset
22699 \begin_layout Description
22702 shadedbg Background color of shaded box
22705 \begin_layout Description
22708 listingsbg Background color of listings inset
22711 \begin_layout Description
22714 branchlabel Label color for branches
22717 \begin_layout Description
22720 footlabel Label color for footnotes
22723 \begin_layout Description
22726 indexlabel Label color for index insets
22729 \begin_layout Description
22732 marginlabel Label color for margin notes
22735 \begin_layout Description
22738 phantomtext Text color for phantom insets
22741 \begin_layout Description
22744 urllabel Label color for URL insets
22747 \begin_layout Description
22750 urltext Color for URL inset text
22753 \begin_layout Description
22756 depthbar Color for the depth bars in the margin
22759 \begin_layout Description
22762 language Color for marking foreign language words
22765 \begin_layout Description
22768 command Text color for command insets
22771 \begin_layout Description
22774 commandbg Background color for command insets
22777 \begin_layout Description
22780 commandframe Frame color for command insets
22783 \begin_layout Description
22786 special Special chars text color
22789 \begin_layout Description
22792 graphicsbg Graphics inset background color
22795 \begin_layout Description
22798 math Math inset text color
22801 \begin_layout Description
22804 mathbg Math inset background color
22807 \begin_layout Description
22810 mathmacrobg Macro math inset background color
22813 \begin_layout Description
22816 mathmacrohoverbg Macro math inset background color hovered
22819 \begin_layout Description
22822 mathmacrolabel Macro math label color
22825 \begin_layout Description
22828 mathmacroframe Macro math frame color
22831 \begin_layout Description
22834 mathmacroblend Macro math blended color
22837 \begin_layout Description
22840 mathmacrooldarg Macro template color for old parameters
22843 \begin_layout Description
22846 mathmacronewarg Macro template color for new parameters
22849 \begin_layout Description
22852 mathframe Math inset frame color under focus
22855 \begin_layout Description
22858 mathcorners Math inset frame color not under focus
22861 \begin_layout Description
22864 mathline Math line color
22867 \begin_layout Description
22870 collapsable Collapsable insets text
22873 \begin_layout Description
22876 collapsableframe Collapsable insets frame
22879 \begin_layout Description
22882 insetbg Inset marker background color
22885 \begin_layout Description
22888 insetframe Inset marker frame color
22891 \begin_layout Description
22894 error Error box text color
22897 \begin_layout Description
22900 eolmarker End of line marker color
22903 \begin_layout Description
22906 added_space Added space colour
22909 \begin_layout Description
22912 appendix Appendix marker color
22915 \begin_layout Description
22918 changebar Changebar color
22921 \begin_layout Description
22924 deletedtext Deleted text color
22927 \begin_layout Description
22930 addedtext Added text color
22933 \begin_layout Description
22936 changedtextauthor1 Changed text color author 1
22939 \begin_layout Description
22942 changedtextauthor2 Changed text color author 2
22945 \begin_layout Description
22948 changedtextauthor3 Changed text color author 3
22951 \begin_layout Description
22954 changedtextauthor4 Changed text color author 4
22957 \begin_layout Description
22960 changedtextauthor5 Changed text color author 5
22963 \begin_layout Description
22966 deletedtextmodifier Deleted text modifying color
22969 \begin_layout Description
22972 tabularline Table line color
22975 \begin_layout Description
22978 tabularonoffline Table line color
22981 \begin_layout Description
22984 bottomarea Bottom area color
22987 \begin_layout Description
22990 newpage New page color
22993 \begin_layout Description
22996 pagebreak Page break color
22999 \begin_layout Description
23002 buttonframe Color used for button frame
23005 \begin_layout Description
23008 buttonbg Color used for bottom background
23011 \begin_layout Description
23014 buttonhoverbg Color used for buttom under focus
23017 \begin_layout Description
23020 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
23024 \begin_layout Description
23027 previewframe Preview frame color
23030 \begin_layout Description
23033 inherit Color is inherited
23036 \begin_layout Description
23039 regexpframe Color for regexp frame
23042 \begin_layout Description
23045 ignore For ignoring updates of a color