From 1801323ef00ce3e360d633090b122e5aad4d464d Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 4 Jun 2019 14:01:06 +0200 Subject: [PATCH] Use a somewhat more realistic trigloss example --- lib/examples/Modules/Linguistics.lyx | 130 ++++++++++++++++-------- lib/examples/de/Modules/Linguistics.lyx | 59 ++++++----- 2 files changed, 124 insertions(+), 65 deletions(-) diff --git a/lib/examples/Modules/Linguistics.lyx b/lib/examples/Modules/Linguistics.lyx index 1d20c95998..b61dcbc829 100644 --- a/lib/examples/Modules/Linguistics.lyx +++ b/lib/examples/Modules/Linguistics.lyx @@ -150,12 +150,22 @@ literal "false" 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, structure trees, and phonetic - symbols (IPA). + examples, +\change_inserted -712698321 1559649291 +interlinear +\change_unchanged +glosses, OT tableaux, semantic markup, structure trees, and phonetic symbols + (IPA). \end_layout \begin_layout Section -Aims and prerequisites +Aims and +\change_deleted -712698321 1559649283 +p +\change_inserted -712698321 1559649283 +P +\change_unchanged +rerequisites \end_layout \begin_layout Standard @@ -387,7 +397,13 @@ arg "forest" \end_deeper \begin_layout Section -Numbered examples +Numbered +\change_deleted -712698321 1559649278 +e +\change_inserted -712698321 1559649278 +E +\change_unchanged +xamples \end_layout \begin_layout Standard @@ -481,6 +497,10 @@ Custom Numbering \end_layout \begin_layout Section + +\change_inserted -712698321 1559649210 +Interlinear +\change_unchanged Glosses \end_layout @@ -543,14 +563,20 @@ Lines) \change_unchanged \emph default - insets consists of three lines -\change_deleted -712698321 1559636589 - and a -\change_inserted -712698321 1559636589 - plus + +\change_deleted -712698321 1559648850 +insets consists of three lines and a translation +\change_inserted -712698321 1559648856 +provides an additional gloss line +\change_unchanged + (th +\change_deleted -712698321 1559648859 +e +\change_inserted -712698321 1559648859 +is \change_unchanged - translation (the third line is usually needed to give morphological or - phonological information next to the gloss pair). + third line is usually needed to give morphological or phonological information + next to the gloss pair). Each translation line might span multiple lines in the output, i. \begin_inset space \thinspace{} \end_inset @@ -874,7 +900,11 @@ Tri-Glosse \emph default ) \change_unchanged -; the procedure is the same: +; the procedure is +\change_inserted -712698321 1559649192 +basically +\change_unchanged +the same: \change_inserted -712698321 1559637107 \end_layout @@ -887,8 +917,8 @@ status open \begin_layout Plain Layout -\change_inserted -712698321 1559637135 -C'est un exemple simple +\change_inserted -712698321 1559648912 +Hoc est aliud exemplum \end_layout \begin_layout Plain Layout @@ -899,19 +929,8 @@ status open \begin_layout Plain Layout -\change_inserted -712698321 1559637118 -\begin_inset Flex GroupGlossedWords -status open - -\begin_layout Plain Layout - -\change_inserted -712698321 1559637118 -Das ist -\end_layout - -\end_inset - - ein Beispiel einfach +\change_inserted -712698321 1559648946 +n.sg.nom 3sg n.sg.nom n.sg.nom \change_unchanged \end_layout @@ -929,19 +948,27 @@ status open \begin_layout Plain Layout -\change_inserted -712698321 1559637125 -\begin_inset Flex GroupGlossedWords -status open - -\begin_layout Plain Layout +\change_inserted -712698321 1559648933 +This is another example +\change_unchanged -\change_inserted -712698321 1559637125 -This is \end_layout \end_inset - an example simple + +\end_layout + +\begin_layout Plain Layout + +\change_inserted -712698321 1559649011 +\begin_inset Argument post:3 +status open + +\begin_layout Plain Layout + +\change_inserted -712698321 1559648952 +This is another example \change_unchanged \end_layout @@ -949,18 +976,31 @@ This is \end_inset -\end_layout +\begin_inset Argument 1 +status open \begin_layout Plain Layout -\change_inserted -712698321 1559637111 -\begin_inset Argument post:3 +\change_inserted -712698321 1559649033 +\begin_inset ERT status open \begin_layout Plain Layout -\change_inserted -712698321 1559637130 -This is a simple example +\change_inserted -712698321 1559649033 + +fsii={ +\backslash +normalfont +\backslash +scshape} +\change_unchanged + +\end_layout + +\end_inset + + \change_unchanged \end_layout @@ -1042,10 +1082,18 @@ This is a simple example \end_layout +\begin_layout Standard +\noindent + +\change_inserted -712698321 1559649169 +Note how we have used the gloss options here to make the second line be + typeset in small caps. +\end_layout + \begin_layout Standard \noindent If you want to have numbered glosses, -\change_inserted -712698321 1559637163 +\change_inserted -712698321 1559649116 either \change_deleted -712698321 1559637165 simply diff --git a/lib/examples/de/Modules/Linguistics.lyx b/lib/examples/de/Modules/Linguistics.lyx index fe0b1a28a8..2cc8aee921 100644 --- a/lib/examples/de/Modules/Linguistics.lyx +++ b/lib/examples/de/Modules/Linguistics.lyx @@ -150,9 +150,9 @@ literal "false" 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, Strukturbäume und phonetische Notation (IPA) erzeugt werden - können. + Es wird gezeigt, wie nummerierte Beispiele, Interlinear-Glossierung, OT-Tableau +x, semantische Auszeichnung, Strukturbäume und phonetische Notation (IPA) + erzeugt werden können. \end_layout \begin_layout Section @@ -437,7 +437,7 @@ Benutzerdef. \end_layout \begin_layout Section -Glossen +Interlinear-Glossierung \end_layout \begin_layout Standard @@ -666,7 +666,7 @@ Hier ist eine dreizeilige Glosse. status open \begin_layout Plain Layout -C'est un exemple simple +Hoc est aliud exemplum \end_layout \begin_layout Plain Layout @@ -674,16 +674,7 @@ C'est un exemple simple status open \begin_layout Plain Layout -\begin_inset Flex GroupGlossedWords -status open - -\begin_layout Plain Layout -This is -\end_layout - -\end_inset - - an example simple +n.sg.nom 3sg n.sg.nom n.sg.nom \end_layout \end_inset @@ -696,29 +687,39 @@ This is status open \begin_layout Plain Layout -\begin_inset Flex GroupGlossedWords -status open - -\begin_layout Plain Layout -Dies ist +Dies ist anderes Beispiel \end_layout \end_inset - ein Beispiel einfach + +\end_layout + +\begin_layout Plain Layout +\begin_inset Argument post:3 +status open + +\begin_layout Plain Layout +Dies ist ein anderes Beispiel \end_layout \end_inset -\end_layout +\begin_inset Argument 1 +status open \begin_layout Plain Layout -\begin_inset Argument post:3 +\begin_inset ERT status open \begin_layout Plain Layout -Dies ist ein einfaches Beispiel + +fsii={ +\backslash +normalfont +\backslash +scshape} \end_layout \end_inset @@ -731,6 +732,16 @@ Dies ist ein einfaches Beispiel \end_layout +\end_inset + + +\end_layout + +\begin_layout Standard +Beachten Sie, wie wir hier mit Hilfe der Glossen-Optionen die zweite Zeile + in Kapitälchen ausgeben lassen. +\end_layout + \begin_layout Standard \noindent Wenn Sie nummerierte Glossen benötigen, fügen Sie die Glosse entweder einfach -- 2.39.5