]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
Revert "Update layouts"
[lyx.git] / lib / layouts / linguistics.module
index 63fd832f144474ed8089818b468059dca589c376..8e360f7b2bef18efead9ba8981b6ff595f2c2cfb 100644 (file)
@@ -8,7 +8,7 @@
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 101
+Format 104
 
 #
 # Counters
@@ -18,42 +18,49 @@ Counter example
        GuiName Example
        Within               chapter
        LabelString          "(\arabic{example})"
+       PrettyFormat         "(\arabic{example})"
 End
 
 Counter examplei
        GuiName              "Numbered Example (Multiline)"
        Within               chapter
        LabelString          "(\arabic{examplei})"
+       PrettyFormat         "(\arabic{examplei})"
 End
 
 Counter subexample
        GuiName              Subexample
        Within               examplei
        LabelString          "\theexamplei (\alph{subexample})"
+       PrettyFormat         "\theexamplei (\alph{subexample})"
 End
 
 Counter subexamplei
        GuiName              Subexample
        Within               examplei
        LabelString          "\theexamplei (\alph{subexamplei})"
+       PrettyFormat         "\theexamplei (\alph{subexamplei})"
 End
 
 Counter subexampleii
        GuiName              Subexample
        Within               examplei
        LabelString          "\theexamplei (\alph{subexampleii})"
+       PrettyFormat         "\theexamplei (\alph{subexampleii})"
 End
 
 Counter subexampleiii
        GuiName              Subexample
        Within               examplei
        LabelString          "\theexamplei (\alph{subexampleiii})"
+       PrettyFormat         "\theexamplei (\alph{subexampleiii})"
 End
 
 Counter subexampleiv
        GuiName              Subexample
        Within               examplei
        LabelString          "\theexamplei (\alph{subexampleiv})"
+       PrettyFormat         "\theexamplei (\alph{subexampleiv})"
 End
 
 #
@@ -154,12 +161,20 @@ InsetLayout Flex:Example_Preamble
        LatexName             expreamble
        LabelString           "Ex. Preamble"
        ResetsFont            true
+       AllowedInLayouts
+           Numbered_Example_(multiline), Numbered_Examples_(consecutive)
+       EndAllowedInLayouts
+       AllowedOccurrences   1
+       AllowedOccurrencesPerItem  true
 End
 
 InsetLayout Flex:Subexample_Preamble
        CopyStyle             Flex:Example_Preamble
        LatexName             subexpreamble
        LabelString           "Subex. Preamble"
+       AllowedInLayouts
+           Subexample
+       EndAllowedInLayouts
 End
 
 
@@ -173,6 +188,9 @@ InsetLayout Flex:Subexample_Postamble
        CopyStyle             Flex:Example_Preamble
        LatexName             subexpostamble
        LabelString           "Subex. Postamble"
+       AllowedInLayouts
+           Subexample
+       EndAllowedInLayouts
 End
 
 
@@ -313,6 +331,11 @@ InsetLayout Flex:GroupGlossedWords
        LeftDelim             {
        RightDelim            }
        ResetsFont            true
+       AllowedInInsets
+          Flex:Interlinear_Gloss_(2_Lines), Flex:Interlinear_Gloss_(2_Lines)@post:2,
+          Flex:Interlinear_Gloss_(3_Lines), Flex:Interlinear_Gloss_(3_Lines)@post:2,
+          Flex:Interlinear_Gloss_(3_Lines)@post:4
+       EndAllowedInInsets
 End
 
 
@@ -582,5 +605,6 @@ Float
        ListName              "List of Tableaux"
        IsPredefined          false
        UsesFloatPkg          true
+       PrettyFormat          "Tableau ##"
 End