]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Fix output of formatted counters.
[lyx.git] / lib / layouts / stdinsets.inc
index 08811b2ce5ac43279d8053a4d6d2f198752b3b5d..853662a9c4655a73fcab52b909fae2bbae667c77 100644 (file)
@@ -53,7 +53,7 @@
 #                         be comma-separated.
 #End
 
-Format 19
+Format 22
 
 Provides stdinsets 1
 
@@ -249,6 +249,7 @@ InsetLayout Index
        MultiPar              false
        CustomPars            false
        ForcePlain            true
+       ContentAsLabel        true
 End
 
 InsetLayout Box
@@ -277,6 +278,12 @@ InsetLayout Float
          Size                Small
        EndFont
        MultiPar              true
+       HTMLStyle
+               div.float {
+                       border: 2px solid black;
+                       text-align: center;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Wrap
@@ -299,6 +306,7 @@ InsetLayout URL
        LyXType               standard
        Decoration            classic
        LabelString           URL
+       ContentAsLabel        true
        LatexName             url
        LatexType             command
        Requires              url
@@ -388,3 +396,15 @@ InsetLayout Info:shortcuts
                span.shortcuts { font-family: sans-serif; }
        EndHTMLStyle
 End
+
+InsetLayout Caption
+       HTMLStyle
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+       EndHTMLStyle
+End
+