File format change.
-----------------------
+2015-04-20 Jürgen Spitzmüller <spitz@lyx.org>
+ * Format incremented to 486: Support item arguments in the
+ "Numbered Examples (consecutive)" and "Subexample" layouts of
+ the linguistics module:
+ \item[foo] bar ==> \begin_layout {Subexample|Numbered Examples (consecutive)}
+ \begin_inset Argument item:1
+ status open
+
+ \begin_layout Plain Layout
+ foo
+ \end_layout
+
+ \end_inset
+
+ bar
+ \end_layout
+
2015-04-09 Jürgen Spitzmüller <spitz@lyx.org>
- * Format incremented to 485: new par layout for sigplanconf.layout:
+ * Format incremented to 485: new par layout for sigplanconf.layout:
DOI.
-2015-04-06 Uwe Stöhr <uwestoehr@web.de>
- * Format incremented to 484: support for Georgian:
+2015-04-06 Uwe Stöhr <uwestoehr@web.de>
+ * Format incremented to 484: support for Georgian:
\lang georgian
2015-03-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 486
\begin_document
\begin_header
\textclass article
\begin_body
\begin_layout Title
-Linguistische Arbeiten mit LyX
+Linguistische Arbeiten mit \SpecialChar LyX
+
\end_layout
\begin_layout Author
\end_layout
\begin_layout Date
-18.02.2013
+20.04.2015
\end_layout
\begin_layout Abstract
-In diesem Text werden einige Funktionen von LyX vorgestellt, die spezifisch
+In diesem Text werden einige Funktionen von \SpecialChar LyX
+ vorgestellt, die spezifisch
auf die Bedürfnisse von Linguistinnen und Linguisten ausgerichtet sind.
Es wird gezeigt, wie nummerierte Beispiele, Glossen, OT-Tableaux, semantische
Auszeichnung und phonetische Notation (IPA) erzeugt werden können.
\begin_inset Quotes grd
\end_inset
--Modul bereitgestellt, das seit Version 1.6.0 mit LyX mitgeliefert wird.
+-Modul bereitgestellt, das seit Version 1.6.0 mit \SpecialChar LyX
+ mitgeliefert wird.
\begin_inset Quotes gld
\end_inset
\begin_inset Quotes grd
\end_inset
- -- das Konzept wurde ebenfalls mit LyX 1.6.0 eingeführt -- sind Ergänzungsdateien
-, welche die von der Dokumentklasse bereitgestellten Möglichkeiten zumeist
+ – das Konzept wurde ebenfalls mit \SpecialChar LyX
+ 1.6.0 eingeführt – sind Ergänzungsdateien,
+ welche die von der Dokumentklasse bereitgestellten Möglichkeiten zumeist
für sehr spezifische Aufgaben erweitern und die für jedes Dokument (egal
welcher Klasse) einfach ausgewählt werden können.
Um das Linguistik-Modul zu verwenden, gehen sie zu
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \menuseparator
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
Module
\family default
, wählen Sie
\end_layout
\begin_layout Standard
-Grundsätzlich sollte das Modul in jeder von LyX unterstützten Dokumentklasse
+Grundsätzlich sollte das Modul in jeder von \SpecialChar LyX
+ unterstützten Dokumentklasse
funktionieren (falls nicht, informieren Sie bitte den Autor dieses Textes).
Allerdings müssen Sie, um alle Features nutzen zu können, die folgenden
- LaTeX-Pakete installiert haben:
+ \SpecialChar LaTeX
+-Pakete installiert haben:
\end_layout
\begin_layout Enumerate
\end_inset
: Dieses Paket wird benötigt, um nummerierte Beispiele und Glossen zu erzeugen.
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
selbst nicht unterstützt).
Das Paket ist darüber hinaus aber auch generell nützlich, um das Aussehen
von Listen (Aufzählungen, Auflistungen, Beschreibungen) anzupassen.
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
.
Das Paket erlaubt es, kontextsensible Anführungszeichen zu generieren (bspw.
je nach aktuell verwendeter Sprache).
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
\end_inset
: Dieses Paket brauchen wir für die OT-Tableaux und das Tableaux-Verzeichnis.
- Es sollte Bestandteil jeder LaTeX-Distribution sein.
+ Es sollte Bestandteil jeder \SpecialChar LaTeX
+-Distribution sein.
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
eine Marke ein, und an der Stelle, an der der Querverweis erscheinen soll,
einen Verweis mittels
\family sans
-Einfügen\SpecialChar \menuseparator
-Querverweis\SpecialChar \ldots{}
+Einfügen\SpecialChar menuseparator
+Querverweis\SpecialChar ldots
\family default
.
\end_layout
+\begin_layout Standard
+Wenn Sie die Nummerierung für einzelne Beispiele ändern möchten, verwenden
+ Sie
+\family sans
+Einfügen\SpecialChar menuseparator
+Benutzerdefinierte Nummerierung
+\family default
+.
+\end_layout
+
\begin_layout Section
Glossen
\end_layout
Das Linguistikmodul stellt zwei Arten von Glossen zur Verfügung.
Beide sind über
\family sans
-Einfügen\SpecialChar \menuseparator
+Einfügen\SpecialChar menuseparator
Benutzerdefinierte Einfügungen
\begin_inset space ~
\end_inset
-\SpecialChar \ldots{}
+\SpecialChar ldots
\family default
zugänglich.
\backslash
glt
\family default
- eingeleitet werden, der direkt (also nicht im TeX-Modus) eingegeben werden
+ eingeleitet werden, der direkt (also nicht im \SpecialChar TeX
+-Modus) eingegeben werden
muss.
\end_layout
\end_layout
\begin_layout Subsection*
-Beschränkungen von LyX-Glossen
+Beschränkungen von \SpecialChar LyX
+-Glossen
\end_layout
\begin_layout Standard
-Die Unterstützung von Glossen in LyX steckt noch in den Kinderschuhen.
- Es gibt einige Beschränkungen, die in zukünftigen LyX-Versionen möglicherweise
+Die Unterstützung von Glossen in \SpecialChar LyX
+ steckt noch in den Kinderschuhen.
+ Es gibt einige Beschränkungen, die in zukünftigen \SpecialChar LyX
+-Versionen möglicherweise
behoben werden:
\end_layout
Schriftänderungen sind in den Glossen nicht möglich.
Der Textstil-Dialog ist daher auch deaktiviert.
Da Wörter in Glossen niemals getrennt werden, ist eine explizite Bestimmung
- der Sprache in der LaTeX-Ausgabe nicht nötig (und sie würde auch zu Fehlern
+ der Sprache in der \SpecialChar LaTeX
+-Ausgabe nicht nötig (und sie würde auch zu Fehlern
führen, da das
\emph on
covington
\emph default
-Paket dies nicht unterstützt).
Dennoch wollen Sie vielleicht die Sprache in den Glossen festlegen, damit
- die Rechtschreibprüfung in LyX richtig funktioniert.
+ die Rechtschreibprüfung in \SpecialChar LyX
+ richtig funktioniert.
Um das zu tun, müssen Sie folgendermaßen vorgehen: Markieren Sie den Text
und führen Sie dann
\family sans
french
\family default
.
- In der LaTeX-Ausgabe werden die Sprachumschaltungen nun zwar weiterhin
- unterdrückt, aber die Rechtschreibprüfung erkennt die Sprache.
+ In der \SpecialChar LaTeX
+-Ausgabe werden die Sprachumschaltungen nun zwar weiterhin unterdrückt,
+ aber die Rechtschreibprüfung erkennt die Sprache.
\end_layout
\begin_layout Enumerate
-Da der Inhalt von Glossen unverändert an LaTeX weitergegeben wird, passt
- LyX die Textkodierung nicht an den Inhalt an.
+Da der Inhalt von Glossen unverändert an \SpecialChar LaTeX
+ weitergegeben wird, passt \SpecialChar LyX
+ die
+ Textkodierung nicht an den Inhalt an.
Das heißt, dass Sie, wenn Sie in der Glosse Zeichen verwenden, die die
aktuelle Kodierung nicht abdeckt, eine Fehlermeldung bekommen werden.
Folgendermaßen können Sie das Problem umgehen:
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
\begin_layout Itemize
Geben Sie entweder den Text außerhalb der Glosse ein, öffnen Sie dann
\family sans
-Ansicht\SpecialChar \menuseparator
+Ansicht\SpecialChar menuseparator
Quelle ansehen
\family default
- und kopieren Sie den LaTeX-Code von dort in die Glosse,
+ und kopieren Sie den \SpecialChar LaTeX
+-Code von dort in die Glosse,
\end_layout
\begin_layout Itemize
oder markieren Sie die ganze Glosse (von außen) und stellen Sie über
\family sans
-Bearbeiten\SpecialChar \menuseparator
-Sprache\SpecialChar \menuseparator
-Weitere Sprachen\SpecialChar \ldots{}
+Bearbeiten\SpecialChar menuseparator
+Sprache\SpecialChar menuseparator
+Weitere Sprachen\SpecialChar ldots
\family default
die angemessene Sprache ein,
\begin_layout Itemize
oder ändern Sie in
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar ldots
+\SpecialChar menuseparator
Sprache
\family default
die Kodierung auf
\begin_layout Itemize
oder wählen Sie in
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar ldots
+\SpecialChar menuseparator
Schriften
\family default
\emph on
-Nicht-TeX-Schriften verwenden (via XeTeX/LuaTeX)
+Nicht-\SpecialChar TeX
+-Schriften verwenden (via Xe\SpecialChar TeX
+/Lua\SpecialChar TeX
+)
\emph default
.
\end_layout
erwünscht ist.
Um dies zu umgehen, können Sie Glossen in Boxen packen (über
\family sans
-Einfügen\SpecialChar \menuseparator
-Box\SpecialChar \menuseparator
+Einfügen\SpecialChar menuseparator
+Box\SpecialChar menuseparator
Rahmenlos
\family default
).
Wenn Sie dies automatisch für alle Glossen im Dokument tun wollen, können
- Sie den folgenden LaTeX-Code nach
+ Sie den folgenden \SpecialChar LaTeX
+-Code nach
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
-LaTeX-Vorspann
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar ldots
+\SpecialChar menuseparator
+\SpecialChar LaTeX
+-Vorspann
\family default
kopieren:
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
werden (Spezifika wie gestrichelte Tabellenlinien und schattierte Tabellenzelle
n, die man hierfür manchmal braucht, sind in
\family sans
-Hilfe\SpecialChar \menuseparator
+Hilfe\SpecialChar menuseparator
Eingebettete Objekt
\family default
e beschrieben).
\begin_layout Standard
Wenn Sie allerdings Ihre Tableaux durch das Dokument hindurch nummerieren
und ein eigenes Tableaux-Verzeichnis einrichten möchten, reichen die Bordmittel
- von LyX nicht aus.
+ von \SpecialChar LyX
+ nicht aus.
Auch hier hilft das Linguistikmodul.
Wenn es ausgewählt ist, finden Sie unter
\family sans
-Einfügen\SpecialChar \menuseparator
+Einfügen\SpecialChar menuseparator
Gleitobjekte
\family default
zusätzlich ein Tableau-Gleitobjekt (siehe Tableau
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="right" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
\begin_layout Standard
Bitte beachten Sie, dass die Legende in der Standardeinstellung immer unter
- dem Tableau ausgegeben wird, egal, wohin Sie sie im LyX-Arbeitsfenster
- setzen.
+ dem Tableau ausgegeben wird, egal, wohin Sie sie im \SpecialChar LyX
+-Arbeitsfenster setzen.
Um die Legende über die Tableaux zu setzen, müssen Sie den folgenden Code
in
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \menuseparator
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
Präambel
\family default
eingeben:
Ein Verzeichnis der Tableaux geben Sie, wie bei normalen Tabellen auch,
über
\family sans
-Einfügen\SpecialChar \menuseparator
-Liste\SpecialChar \slash{}
+Einfügen\SpecialChar menuseparator
+Liste\SpecialChar breakableslash
Inhaltsverzeichnis
\family default
ein.
\begin_layout Standard
Diese Textstile finden Sie unter
\family sans
-Bearbeiten\SpecialChar \menuseparator
+Bearbeiten\SpecialChar menuseparator
Textstil
\family default
.
Wenn Sie (oder Ihr Verlag) also etwa Ausdrücke doch fett gesetzt haben
wollen, geben Sie einfach den folgenden Code in
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \menuseparator
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
Präambel
\family default
ein:
\begin_layout Standard
Um phonetische Zeichen einzugeben, brauchen Sie das Linguistikmodul nicht.
- IPA-Unterstützung ist mittlerweile eine Grundfunktion von LyX.
+ IPA-Unterstützung ist mittlerweile eine Grundfunktion von \SpecialChar LyX
+.
Da IPA aber von Linguistinnen und Linguisten sehr häufig gebraucht wird,
wird die Verwendung der IPA-Funktion hier trotzdem (kurz) beschrieben.
\end_layout
\begin_layout Standard
-Um LyX' IPA-Funktion mit klassischem LaTeX oder PDFLaTeX zu benutzen, müssen
- Sie das Paket
+Um \SpecialChar LyX
+' IPA-Funktion mit klassischem \SpecialChar LaTeX
+ oder PDF\SpecialChar LaTeX
+ zu benutzen, müssen Sie das
+ Paket
\emph on
tipa
\emph default
status collapsed
\begin_layout Plain Layout
-Wenn Sie XeTeX oder LuaTeX verwenden (und
+Wenn Sie Xe\SpecialChar TeX
+ oder Lua\SpecialChar TeX
+ verwenden (und
\begin_inset Quotes gld
\end_inset
-Nicht-TeX-Schriften verwenden
+Nicht-\SpecialChar TeX
+-Schriften verwenden
\begin_inset Quotes grd
\end_inset
in
\family sans
-Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \menuseparator
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
Schriften
\family default
aktiviert haben), brauchen Sie kein zusätzliches Paket.
Phonetische Zeichen werden in eine spezielle Umgebung eingegeben, die Sie
über
\family sans
-Einfügen\SpecialChar \menuseparator
-Sonderzeichen\SpecialChar \menuseparator
+Einfügen\SpecialChar menuseparator
+Sonderzeichen\SpecialChar menuseparator
Phonetische Symbole
\family default
aktivieren.
\emph default
installiert ist und Sie außerdem in
\family sans
- Werkzeuge\SpecialChar \menuseparator
-Einstellungen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+ Werkzeuge\SpecialChar menuseparator
+Einstellungen\SpecialChar ldots
+\SpecialChar menuseparator
Grafik
\family default
\begin_inset Quotes grd
\end_inset
- aktiviert haben, zeigt LyX eine WYSIWYG-Vorschau der Notation an, sobald
- der Cursor den IPA-Bereich verlässt.
+ aktiviert haben, zeigt \SpecialChar LyX
+ eine WYSIWYG-Vorschau der Notation an, sobald der
+ Cursor den IPA-Bereich verlässt.
Alternativ zur Symbolleiste können Sie die Zeichen auch direkt mithilfe
der Kurznotation eingeben können, die im
\emph on
]).
Alternativ können Sie die meisten IPA-Zeichen auch über
\family sans
-Einfügen\SpecialChar \menuseparator
-Sonderzeichen\SpecialChar \menuseparator
-Symbole\SpecialChar \ldots{}
+Einfügen\SpecialChar menuseparator
+Sonderzeichen\SpecialChar menuseparator
+Symbole\SpecialChar ldots
\family default
in das Eingabefeld eingeben oder sie aus einem anderen Dokument kopieren
\begin_layout Standard
Mehr und ausführlichere Informationen über die Möglichkeiten des Einsatzes
- von LyX für linguistische Zwecke finden Sie auf der (englischsprachigen)
-
+ von \SpecialChar LyX
+ für linguistische Zwecke finden Sie auf der (englischsprachigen)
\emph on
-LinguistLyX
+Linguist\SpecialChar LyX
+
\emph default
--Seite auf dem LyX-Wiki
+-Seite auf dem \SpecialChar LyX
+-Wiki
\begin_inset CommandInset citation
LatexCommand cite
key "linguistlyx"
\end_inset
-Maria Gouskova, Stacia Hartleben und Jürgen Spitzmüller: Using LyX for Linguisti
-c Papers.
+Maria Gouskova, Stacia Hartleben und Jürgen Spitzmüller: Using \SpecialChar LyX
+ for Linguistic
+ Papers.
\begin_inset Flex URL
status collapsed
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 486
\begin_document
\begin_header
\textclass article
\begin_body
\begin_layout Title
-Writing linguistic papers with LyX
+Writing linguistic papers with \SpecialChar LyX
+
\end_layout
\begin_layout Author
\end_layout
\begin_layout Date
-18/02/2013
+20/04/2015
\end_layout
\begin_layout Abstract
-This paper describes some features that LyX provides to linguists.
+This paper describes some features that \SpecialChar LyX
+ provides to linguists.
It demonstrates how to use some native support in order to produce numbered
examples, glosses, OT tableaux, semantic markup, and phonetic symbols (IPA).
\end_layout
\begin_inset Quotes erd
\end_inset
- module that ships with LyX as of version 1.6.0.
+ module that ships with \SpecialChar LyX
+ as of version 1.6.0.
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- are support files (introduced with LyX 1.6.0) that can easily be selected
- for any document.
+ are support files (introduced with \SpecialChar LyX
+ 1.6.0) that can easily be selected for
+ any document.
In order to use the Linguistics module, go to
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Modules
\family default
, select
You should be able to use the module with any document class (please inform
me, if not).
However, in order to use all the features, you need to have the following
- LaTeX packages installed:
+ \SpecialChar LaTeX
+ packages installed:
\end_layout
\begin_layout Enumerate
\end_inset
: This is the base package used for numbered examples and glosses.
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
description
\emph default
).
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
character style.
The package provides context sensitive quotation marks, depending on the
language in use.
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
\end_inset
: Needed for the OT tableaux floats and list of floats.
- This package should be part of any LaTeX distribution.
+ This package should be part of any \SpecialChar LaTeX
+ distribution.
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
References to examples are produced as usual: insert a label to the example
and a cross-reference via
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross references
\family default
.
.
\end_layout
+\begin_layout Standard
+If you want to modify the numbering of an individual example, you can use
+
+\family sans
+Insert\SpecialChar menuseparator
+Custom Numbering
+\family default
+.
+\end_layout
+
\begin_layout Section
Glosses
\end_layout
The Linguistics module provides two kinds of glosses, which can be inserted
via
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Custom Insets
\family default
: The standard
\backslash
glt
\family default
- which must be inserted verbatim in the gloss inset (TeX mode is not needed,
+ which must be inserted verbatim in the gloss inset (\SpecialChar TeX
+ mode is not needed,
and in fact not even possible).
\end_layout
\end_layout
\begin_layout Subsection*
-Shortcomings of LyX's glosses
+Shortcomings of \SpecialChar LyX
+'s glosses
\end_layout
\begin_layout Standard
-LyX's glosse support is rather basic, and thus has some shortcomings, which
+\SpecialChar LyX
+'s glosse support is rather basic, and thus has some shortcomings, which
might be addressed in further releases:
\end_layout
Character Style
\family default
dialog is disabled.
- Since glosses are not hyphenated, an explicit language setting in the LaTeX
+ Since glosses are not hyphenated, an explicit language setting in the \SpecialChar LaTeX
+
output is not required (in fact, it would break the output, since covington
does not support it).
However, you still might want to set the language for proper spell checking.
ngerman
\family default
.
- In the LaTeX output, this setting will be suppressed.
+ In the \SpecialChar LaTeX
+ output, this setting will be suppressed.
\end_layout
\begin_layout Enumerate
-Since the content of glosses is passed verbatim to LaTeX, LyX does not adapt
- the encoding to the contents.
+Since the content of glosses is passed verbatim to \SpecialChar LaTeX
+, \SpecialChar LyX
+ does not adapt the
+ encoding to the contents.
That means that if you use characters in the glosse which are not covered
by the current encoding, you will run into an error message.
Here are the possible workarounds to this problem:
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
\begin_layout Itemize
Either enter the text outside the glosse, open
\family sans
-View\SpecialChar \menuseparator
+View\SpecialChar menuseparator
View Source
\family default
- and copy the LaTeX code into the glosse,
+ and copy the \SpecialChar LaTeX
+ code into the glosse,
\end_layout
\begin_layout Itemize
or mark the whole glosse (from outside) and set the appropriate language
via
\family sans
-Edit\SpecialChar \menuseparator
-Language\SpecialChar \menuseparator
-More Languages\SpecialChar \ldots{}
+Edit\SpecialChar menuseparator
+Language\SpecialChar menuseparator
+More Languages\SpecialChar ldots
\family default
,
\emph default
via
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar ldots
+\SpecialChar menuseparator
Language
\family default
,
\begin_layout Itemize
or check
\emph on
-Use non-TeX fonts (via XeTeX/LuaTeX)
+Use non-\SpecialChar TeX
+ fonts (via Xe\SpecialChar TeX
+/Lua\SpecialChar TeX
+)
\emph default
in
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar ldots
+\SpecialChar menuseparator
Fonts
\family default
.
Page breaks can occur within glosses, which is of course not desirable.
A workaround is to wrap glosses into boxes (via
\family sans
-Insert\SpecialChar \menuseparator
-Box\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Box\SpecialChar menuseparator
Frameless
\family default
).
If you want to automate this for all glosses, you can copy the following
code to
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-LaTeX Preamble
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+\SpecialChar LaTeX
+ Preamble
\family default
:
+\begin_inset Separator parbreak
+\end_inset
+
+
\end_layout
\begin_deeper
The Linguistics module provides support for both.
In
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Floats
\family default
, you'll find a Tableaux float:
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="right" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
\begin_layout Standard
Note that by default, the caption is always placed below the tableaux in
- the output, no matter where you put it in the LyX window.
+ the output, no matter where you put it in the \SpecialChar LyX
+ window.
To get the Tableaux captions on top, put the following code in
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Preamble
\family default
:
\begin_layout Standard
A List of Tableaux inset can be found in
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Lists & TOC
\family default
.
\begin_layout Standard
You can insert the character styles via the
\family sans
-Edit\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
Text Style
\family default
submenu.
\begin_layout Standard
You do not need the Linguistics module to insert phonetic symbols, this
- is a base functionality of LyX.
+ is a base functionality of \SpecialChar LyX
+.
However, since this is frequently used by linguists, we will describe it
(briefly) in this manual nevertheless.
\end_layout
\begin_layout Standard
-If you use traditional LaTeX or PDFLaTeX, a prerequisite to use LyX's IPA
- support is the LaTeX package
+If you use traditional \SpecialChar LaTeX
+ or PDF\SpecialChar LaTeX
+, a prerequisite to use \SpecialChar LyX
+'s IPA support is
+ the \SpecialChar LaTeX
+ package
\emph on
tipa
\emph default
status collapsed
\begin_layout Plain Layout
-If you use XeTeX or LuaTeX (i.
+If you use Xe\SpecialChar TeX
+ or Lua\SpecialChar TeX
+ (i.
\begin_inset space \thinspace{}
\end_inset
\begin_inset Quotes eld
\end_inset
-Use non-TeX fonts
+Use non-\SpecialChar TeX
+ fonts
\begin_inset Quotes erd
\end_inset
in
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Fonts
\family default
), no extra package is needed.
\begin_layout Standard
The recommended way to insert phonetic symbols is via
\family sans
-Insert\SpecialChar \menuseparator
-Special characters\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Special characters\SpecialChar menuseparator
Phonetic symbols.
\family default
\begin_inset Quotes erd
\end_inset
- in LyX speak), where you can insert the symbols.
+ in \SpecialChar LyX
+ speak), where you can insert the symbols.
Note that this box can be used both for the insertion of small snippets
(inline) and multiple paragraphs of phonetic notation.
While the cursor is inside the box, a toolbar opens, which provides the
\emph default
is installed and you have switched on instant preview (in
\family sans
- Tools\SpecialChar \menuseparator
-Preferences\SpecialChar \menuseparator
+ Tools\SpecialChar menuseparator
+Preferences\SpecialChar menuseparator
Graphi
\family default
cs), you'll get a nice WYSIWYG preview as soon as the cursor leaves the
]).
Furthermore, you can insert symbols via
\family sans
-Insert\SpecialChar \menuseparator
-Special characters\SpecialChar \menuseparator
-Symbols\SpecialChar \ldots{}
+Insert\SpecialChar menuseparator
+Special characters\SpecialChar menuseparator
+Symbols\SpecialChar ldots
\family default
(which might be useful for symbols that are not yet covered by the toolbar),
\begin_layout Standard
For a detailed description of specific possibilities for linguists, please
- refer to the LinguistLyX page on the LyX wiki
+ refer to the Linguist\SpecialChar LyX
+ page on the \SpecialChar LyX
+ wiki
\begin_inset CommandInset citation
LatexCommand cite
key "linguistlyx"
\end_inset
-Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti
-c Papers.
+Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using \SpecialChar LyX
+ for Linguistic
+ Papers.
\begin_inset Flex URL
status collapsed
LatexType Item_Environment
LatexName examples
LabelString "Examples:"
+ Argument item:1
+ LabelString "Custom Numbering|s"
+ Tooltip "Customize the numeration"
+ EndArgument
End
# multiple numbered example with covington.sty
Style Subexample
- CopyStyle Numbered_Example_(multiline)
- LatexType Item_Environment
+ CopyStyle Numbered_Examples_(consecutive)
LatexName subexample
LabelString "Subexample:"
Requires covington,enumitem
("1_6", list(range(277,346)), minor_versions("1.6" , 10)),
("2_0", list(range(346,414)), minor_versions("2.0" , 8)),
("2_1", list(range(414,475)), minor_versions("2.1" , 0)),
- ("2_2", list(range(475,486)), minor_versions("2.2" , 0))
+ ("2_2", list(range(475,487)), minor_versions("2.2" , 0))
]
####################################################################
# no need to reset i
+def revert_ex_itemargs(document):
+ " Reverts \\item arguments of the example environments (Linguistics module) to TeX-code "
+
+ # Do we use the linguistics module?
+ have_mod = False
+ mods = document.get_module_list()
+ for mod in mods:
+ if mod == "linguistics":
+ have_mod = True
+ continue
+
+ if not have_mod:
+ return
+
+ i = 0
+ example_layouts = ["Numbered Examples (consecutive)", "Subexample"]
+ while True:
+ i = find_token(document.body, "\\begin_inset Argument item:", i)
+ if i == -1:
+ return
+ j = find_end_of_inset(document.body, i)
+ # Find containing paragraph layout
+ parent = get_containing_layout(document.body, i)
+ if parent == False:
+ document.warning("Malformed LyX document: Can't find parent paragraph layout")
+ i += 1
+ continue
+ parbeg = parent[3]
+ layoutname = parent[0]
+ if layoutname in example_layouts:
+ beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i)
+ endPlain = find_end_of_layout(document.body, beginPlain)
+ content = document.body[beginPlain + 1 : endPlain]
+ del document.body[i:j+1]
+ subst = put_cmd_in_ert("[") + content + put_cmd_in_ert("]")
+ document.body[parbeg : parbeg] = subst
+ i += 1
+
+
##
# Conversion hub
#
[482, [convert_phrases]],
[483, [convert_specialchar]],
[484, []],
- [485, []]
+ [485, []],
+ [486, []]
]
revert = [
+ [485, [revert_ex_itemargs]],
[484, [revert_sigplan_doi]],
[483, [revert_georgian]],
[482, [revert_specialchar]],
// Do not remove the comment below, so we get merge conflict in
// independent branches. Instead add your own.
-#define LYX_FORMAT_LYX 485 // spitz: support DOI in sigplanconf
-#define LYX_FORMAT_TEX2LYX 485
+#define LYX_FORMAT_LYX 486 // spitz: support item argument in linguistic examples
+#define LYX_FORMAT_TEX2LYX 486
#if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX
#ifndef _MSC_VER