]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
Categorize existing layouts
[lyx.git] / lib / layouts / linguistics.module
index b2a7f8c6fb058630278948fd7a8225f91ff1499c..6b02038d4cfb3acdd5d69146a7a77507112135b0 100644 (file)
@@ -7,14 +7,14 @@
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 11
+Format 36
 
 # single numbered example with covington.sty
 Style Numbered_Example_(multiline)
        LatexType             Environment
        LatexName             example
        NextNoIndent          1
-       LeftMargin            XExample:
+       Margin                Dynamic
        LabelSep              xx
        ParSkip               0.0
        ItemSep               0.2
@@ -36,8 +36,6 @@ End
 # multiple numbered examples with covington.sty
 Style Numbered_Examples_(consecutive)
        CopyStyle             Numbered_Example_(multiline)
-       Margin                Static
-       LeftMargin            XExamples:
        LatexType             Item_Environment
        LatexName             examples
        LabelString           "Examples:"
@@ -47,10 +45,8 @@ End
 # multiple numbered example with covington.sty
 Style Subexample
        CopyStyle             Numbered_Example_(multiline)
-       Margin                Static
        LatexType             Item_Environment
        LatexName             subexample
-       LeftMargin            XSubexample:
        LabelString           "Subexample:"
        Requires              covington,enumitem
        Preamble
@@ -66,7 +62,7 @@ End
 
 # glosse (2 lines) with covington.sty
 # mandatory translation must be entered verbatim!
-InsetLayout Custom:Glosse
+InsetLayout Flex:Glosse
        LyXType               custom
        LabelString           Glosse
        LatexType             environment
@@ -79,7 +75,9 @@ InsetLayout Custom:Glosse
        CustomPars            false
        ForcePlain            true
        PassThru              true
+       ParbreakIsNewline     true
        FreeSpacing           true
+       ForceLTR              true
        Requires              covington
        Preamble
                \@ifundefined{linggloss}{%
@@ -87,12 +85,13 @@ InsetLayout Custom:Glosse
                        \gll #1}
                {\glend}}{}
        EndPreamble
+       InToc                 true
 End
 
 
 # glosse (3 lines) with covington.sty
 # mandatory translation must be entered verbatim!
-InsetLayout Custom:Tri-Glosse
+InsetLayout Flex:Tri-Glosse
        LyXType               custom
        LabelString           Tri-Glosse
        LatexType             environment
@@ -105,7 +104,10 @@ InsetLayout Custom:Tri-Glosse
        CustomPars            false
        ForcePlain            true
        PassThru              true
+       ParbreakIsNewline     true
        FreeSpacing           true
+       ForceLTR              true
+       InToc                 true
        Requires              covington
        Preamble
                \@ifundefined{lingglosss}{%
@@ -117,7 +119,7 @@ End
 
 
 # Some semantik markup for Semantics
-InsetLayout CharStyle:Expression
+InsetLayout Flex:Expression
        LyxType               charstyle
        LabelString           expr.
        LatexType             command
@@ -128,10 +130,11 @@ InsetLayout CharStyle:Expression
        Preamble
                \newcommand{\lingexpr}[1]{\emph{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
-InsetLayout CharStyle:Concepts
+InsetLayout Flex:Concepts
        LyxType               charstyle
        LabelString           concept
        LatexType             command
@@ -142,18 +145,20 @@ InsetLayout CharStyle:Concepts
        Preamble
                \newcommand{\lingconcept}[1]{\textsc{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
-InsetLayout CharStyle:Meaning
+InsetLayout Flex:Meaning
        LyxType               charstyle
        LabelString           meaning
        LatexType             command
        LatexName             lingmeaning
-       Requires              csquotes
+       Requires              csquotes
        Preamble
                \newcommand{\lingmeaning}[1]{\enquote*{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -166,6 +171,7 @@ Float
        NumberWithin          none
        Style                 plain
        ListName              "List of Tableaux"
-       LaTeXBuiltin          false
+       IsPredefined          false
+       UsesFloatPkg          true
 End