]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/linguistics.lyx
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / examples / linguistics.lyx
index 4690e009ec0177cb9cf5a34f03d63879ebab1e14..267e65a7058f0f50a475c148475c720d81691707 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 344
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
 \begin_document
 \begin_header
 \textclass article
 \begin_modules
 linguistics
 \end_modules
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
+\fontencoding global
 \font_roman lmodern
 \font_sans default
 \font_typewriter default
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
 
 \graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize default
 \spacing single
-\use_hyperref false
+\use_hyperref true
+\pdf_bookmarks true
+\pdf_bookmarksnumbered false
+\pdf_bookmarksopen false
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks false
+\pdf_pdfborder true
+\pdf_colorlinks false
+\pdf_backref false
+\pdf_pdfusetitle true
 \papersize default
 \use_geometry false
 \use_amsmath 1
 \use_esint 1
+\use_mhchem 1
+\use_mathdots 1
 \cite_engine basic
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
+\suppress_date false
+\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
-\defskip medskip
+\paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
@@ -147,6 +174,18 @@ key "covington"
 : This is the base package used for numbered examples and glosses.
 \end_layout
 
+\begin_deeper
+\begin_layout Itemize
+Installed on your system: 
+\begin_inset Info
+type  "package"
+arg   "covington"
+\end_inset
+
+.
+\end_layout
+
+\end_deeper
 \begin_layout Enumerate
 
 \emph on
@@ -175,6 +214,18 @@ description
 ).
 \end_layout
 
+\begin_deeper
+\begin_layout Itemize
+Installed on your system: 
+\begin_inset Info
+type  "package"
+arg   "enumitem"
+\end_inset
+
+.
+\end_layout
+
+\end_deeper
 \begin_layout Enumerate
 
 \emph on
@@ -196,6 +247,18 @@ Meaning
  language in use.
 \end_layout
 
+\begin_deeper
+\begin_layout Itemize
+Installed on your system: 
+\begin_inset Info
+type  "package"
+arg   "csquotes"
+\end_inset
+
+.
+\end_layout
+
+\end_deeper
 \begin_layout Enumerate
 
 \emph on
@@ -212,12 +275,24 @@ key "float"
  This package should be part of any LaTeX distribution.
 \end_layout
 
+\begin_deeper
+\begin_layout Itemize
+Installed on your system: 
+\begin_inset Info
+type  "package"
+arg   "float"
+\end_inset
+
+.
+\end_layout
+
+\end_deeper
 \begin_layout Section
 Numbered examples
 \end_layout
 
 \begin_layout Standard
-Numbered examples are inserted via the layout dropdown box in the toolbar.
+Numbered examples are inserted via the layout drop-down box in the toolbar.
  There are three variants:
 \end_layout
 
@@ -273,7 +348,7 @@ And another one
 
 \begin_layout Standard
 References to examples are produced as usual: insert a label to the example
- and a crossreference via 
+ and a cross-reference via 
 \family sans
 Insert\SpecialChar \menuseparator
 Cross references
@@ -311,11 +386,16 @@ Custom Insets
 \emph on
 Custom:Glosse
 \emph default
- provides a glosse that consists of two lines and a translation, the 
+ provides a gloss that consists of two lines and a translation, the 
 \emph on
 Custom:Tri-Glosse
 \emph default
  insets consists of three lines and a translation.
+ Each translation line might span multiple lines in the output, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+e., the paragraphs are automatically broken if they exceed the text width.
  Note that the translation line is mandatory and must be preceded by the
  command 
 \family typewriter
@@ -323,7 +403,7 @@ Custom:Tri-Glosse
 \backslash
 glt
 \family default
- which should be inserted verbatim in the Glosse inset (ERT is not needed,
+ which must be inserted verbatim in the gloss inset (TeX mode is not needed,
  and in fact not even possible).
 \end_layout
 
@@ -332,69 +412,64 @@ Here is a simple example:
 \end_layout
 
 \begin_layout Standard
-\begin_inset Flex Custom:Glosse
+\begin_inset Flex Glosse
 status open
 
 \begin_layout Plain Layout
+
 C'est un exemple simple
 \end_layout
 
 \begin_layout Plain Layout
+
 {This is} an example simple
 \end_layout
 
 \begin_layout Plain Layout
 
+
 \backslash
-glt 
-\begin_inset Quotes els
-\end_inset
+glt This is a simple example
+\end_layout
 
-This is a simple example
-\begin_inset Quotes ers
 \end_inset
 
 
 \end_layout
 
-\end_inset
-
-
+\begin_layout Standard
+\noindent
+Note how the braces hold together multi-word expressions.
 \end_layout
 
 \begin_layout Standard
-Note that the braces hold together multi-word expressions.
- In the same vein, we can make a three-line glosse:
+In the same vein, we can make a three-line gloss:
 \end_layout
 
 \begin_layout Standard
-\begin_inset Flex Custom:Tri-Glosse
+\begin_inset Flex Tri-Glosse
 status open
 
 \begin_layout Plain Layout
+
 C'est un exemple simple
 \end_layout
 
 \begin_layout Plain Layout
+
 {Das ist} ein Beispiel einfach
 \end_layout
 
 \begin_layout Plain Layout
+
 {This is} an example simple
 \end_layout
 
 \begin_layout Plain Layout
 
-\backslash
-glt 
-\begin_inset Quotes els
-\end_inset
-
-This is a simple example
-\begin_inset Quotes ers
-\end_inset
-
 
+\backslash
+glt This is a simple example
 \end_layout
 
 \end_inset
@@ -403,43 +478,87 @@ This is a simple example
 \end_layout
 
 \begin_layout Standard
-If you want to have numbered glosses, you can simply insert the Glosse inset
+\noindent
+If you want to have numbered glosses, you can simply insert the gloss inset
  to a numbered examples paragraph, as follows:
 \end_layout
 
 \begin_layout Numbered Examples (consecutive)
-\begin_inset Flex Custom:Tri-Glosse
+\begin_inset Flex Tri-Glosse
 status open
 
 \begin_layout Plain Layout
+
 Mein Luftkissenfahrzeug ist voller Aale
 \end_layout
 
 \begin_layout Plain Layout
+
 My skeertuig is vol palings
 \end_layout
 
 \begin_layout Plain Layout
+
 My hovercraft is {full of} eels
 \end_layout
 
 \begin_layout Plain Layout
 
+
 \backslash
-glt 
-\begin_inset Quotes els
-\end_inset
+glt Do you have matches?
+\end_layout
 
-Do you have matches?
-\begin_inset Quotes ers
 \end_inset
 
 
 \end_layout
 
+\begin_layout Standard
+Note that font changes are not allowed in glosses.
+ Hence, the 
+\family sans
+Character Style
+\family default
+ dialog is disabled.
+ Since glosses are not hyphenated, an explicit language setting in the 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.
+ Currently, you have to do this as follows: select the text, and then issue
+\begin_inset Info
+type  "shortcut"
+arg   "command-execute"
 \end_inset
 
+\family sans
+language <lang>
+\family default
+, where 
+\family sans
+<lang>
+\family default
+ should be replaced by the respective language, e.
+\begin_inset space \thinspace{}
+\end_inset
 
+g.
+\family sans
+english
+\family default
+, 
+\family sans
+french
+\family default
+ or 
+\family sans
+ngerman
+\family default
+.
+ In the LaTeX output, this setting will be supressed.
 \end_layout
 
 \begin_layout Section
@@ -488,7 +607,7 @@ status open
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="5" columns="5">
-<features>
+<features tabularvalignment="middle">
 <column alignment="right" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
@@ -841,7 +960,7 @@ The Linguistics module comes with some character styles that are common
 
 \begin_layout Enumerate
 Concept (in small caps): 
-\begin_inset Flex CharStyle:Concepts
+\begin_inset Flex Concepts
 status collapsed
 
 \begin_layout Plain Layout
@@ -855,7 +974,7 @@ concept
 
 \begin_layout Enumerate
 Expression (emphasized): 
-\begin_inset Flex CharStyle:Expression
+\begin_inset Flex Expression
 status collapsed
 
 \begin_layout Plain Layout
@@ -869,7 +988,7 @@ expression
 
 \begin_layout Enumerate
 Meaning (in single quotes): 
-\begin_inset Flex CharStyle:Meaning
+\begin_inset Flex Meaning
 status collapsed
 
 \begin_layout Plain Layout
@@ -967,20 +1086,38 @@ Phonetic symbols.
  
 \family default
 You get a little frame, where you can insert the symbols using the shortcut
- notation which is described in the tipa manual.
+ notation which is described in the 
+\emph on
+tipa
+\emph default
+ manual.
  Example: 
 \begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$
 \end_inset
 
-.
- Given that preview-latex is installed and you have switched on instant
- preview (in 
+ (
+\emph on
+tipa
+\emph default
+ shortcut notation: 
+\family typewriter
+[Ekspl@"neIS@n
+\family default
+]).
+ Given that
+\emph on
+ preview-lat
+\family sans
+\emph default
+e
+\family default
+x is installed and you have switched on instant preview (in
 \family sans
-Tools\SpecialChar \menuseparator
+ Tools\SpecialChar \menuseparator
 Preferences\SpecialChar \menuseparator
-Graphics
+Graphi
 \family default
-), you'll get a nice preview as soon as the cursor leaves the frame.
+cs), you'll get a nice preview as soon as the cursor leaves the frame.
 \end_layout
 
 \begin_layout Standard
@@ -989,7 +1126,10 @@ Furthermore, most IPA glyphs can also be inserted (e.
 \end_inset
 
 g.
- via 
+\begin_inset space \space{}
+\end_inset
+
+via 
 \family sans
 Insert\SpecialChar \menuseparator
 Special characters\SpecialChar \menuseparator
@@ -1046,6 +1186,7 @@ key "linguistlyx"
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "covington"
@@ -1067,6 +1208,7 @@ http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "csquotes"
@@ -1088,6 +1230,7 @@ http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "enumitem"
@@ -1109,6 +1252,7 @@ http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "float"
@@ -1130,6 +1274,7 @@ http://www.ctan.org/tex-archive/macros/latex/contrib/float/
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "linguistlyx"
@@ -1140,7 +1285,7 @@ Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguis
 c Papers.
  
 \begin_inset Flex URL
-status open
+status collapsed
 
 \begin_layout Plain Layout
 
@@ -1153,6 +1298,7 @@ http://wiki.lyx.org/LyX/LinguistLyX
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "preview"
@@ -1174,6 +1320,7 @@ http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "tipa"