]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
Fix bug #11410.
[lyx.git] / lib / layouts / linguistics.module
index d272c2565ca94d554cb4a9aca007ad190076a5a4..c9478b5d43e6b4fc7e621fda7347df25476d5b34 100644 (file)
@@ -8,7 +8,7 @@
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 82
+Format 97
 
 #
 # Counters
@@ -78,10 +78,14 @@ Style Numbered_Example_(multiline)
        LabelType             Static
        LabelCounter          "examplei"
        LabelFont
-               Color         Blue
+               Color         textlabel1
        EndFont
        Requires              covington
        Category              Linguistics
+       DocBookWrapperTag     informalexample
+       DocBookWrapperAttr    role='numbered'
+       DocBookWrapperMergeWithPrevious  true
+       DocBookTag            para
 End
 
 
@@ -107,6 +111,11 @@ Style Numbered_Examples_(consecutive)
                LabelString   "Custom Numbering|s"
                Tooltip       "Customize the numeration"
        EndArgument
+       DocBookWrapperTag     informalexample
+       DocBookWrapperAttr    role='consecutive'
+       DocBookWrapperMergeWithPrevious  true
+       DocBookTag            para
+       HTMLClass             NumberedExample
 End
 
 
@@ -115,7 +124,7 @@ Style Subexample
        CopyStyle             Numbered_Examples_(consecutive)
        LatexName             covsubexamples
        LabelCounter          "subexample"
-       StepMasterCounter     true
+       StepParentCounter     true
        Requires              covington
        Argument 1
                LabelString   "Subexamples options"
@@ -123,6 +132,7 @@ Style Subexample
                Tooltip       "Add subexamples options here"
                PassThru       1
        EndArgument
+       HTMLClass          SubExample
 End
 
 
@@ -268,6 +278,7 @@ InsetLayout Flex:Structure_Tree
        \useforestlibrary*{linguistics}
        }{}
        EndPreamble
+    DocBookRenderAsImage  true
 End