]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / linguistics.module
index 2410a4aeaedb12993c789acbcd603254f8b7ce20..cde55f1938c48caa26a3df9597c1cb464d3e4a75 100644 (file)
@@ -2,11 +2,12 @@
 #DescriptionBegin
 #Defines some special environments useful for linguistics (numbered examples,
 #glosses, semantic markup, tableau floats).
+#See linguistics.lyx file in examples.
 #DescriptionEnd
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 8
+Format 11
 
 # single numbered example with covington.sty
 Style Numbered_Example_(multiline)
@@ -75,6 +76,8 @@ InsetLayout Custom:Glosse
          Size                Small
        EndFont
        MultiPar              true
+       CustomPars            false
+       ForcePlain            true
        PassThru              true
        FreeSpacing           true
        Requires              covington
@@ -84,6 +87,7 @@ InsetLayout Custom:Glosse
                        \gll #1}
                {\glend}}{}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -99,8 +103,11 @@ InsetLayout Custom:Tri-Glosse
          Size                Small
        EndFont
        MultiPar              true
+       CustomPars            false
+       ForcePlain            true
        PassThru              true
        FreeSpacing           true
+       InToc                 true
        Requires              covington
        Preamble
                \@ifundefined{lingglosss}{%
@@ -123,6 +130,7 @@ InsetLayout CharStyle:Expression
        Preamble
                \newcommand{\lingexpr}[1]{\emph{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -137,6 +145,7 @@ InsetLayout CharStyle:Concepts
        Preamble
                \newcommand{\lingconcept}[1]{\textsc{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -145,10 +154,11 @@ InsetLayout CharStyle:Meaning
        LabelString           meaning
        LatexType             command
        LatexName             lingmeaning
-       Requires              csquotes
+       Requires              csquotes
        Preamble
                \newcommand{\lingmeaning}[1]{\enquote*{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -164,11 +174,3 @@ Float
        LaTeXBuiltin          false
 End
 
-InsetLayout tableau
-       LabelString           Tableau
-       LabelFont
-         Color               collapsable
-         Size                Small
-       EndFont
-       MultiPar              true
-End