]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Remove stray tab
[lyx.git] / lib / layouts / stdinsets.inc
index dec127bb206bb435b16f7b6d46cfdb551a34c0ad..50b875b21a3bd8c5d81b69df09705e7849e3853c 100644 (file)
@@ -53,7 +53,7 @@
 #                         be comma-separated.
 #End
 
-Format 18
+Format 26
 
 Provides stdinsets 1
 
@@ -97,6 +97,7 @@ InsetLayout Foot
          Size                Small
        EndFont
        MultiPar              true
+       RefPrefix             fn
        HTMLLabel             \arabic{footnote}
        HTMLInnerTag          div
        HTMLStyle
@@ -159,6 +160,9 @@ InsetLayout Note:Greyedout
        LatexType             environment
        LatexName             lyxgreyedout
        BgColor               greyedoutbg
+       Font
+         Color               greyedouttext
+       EndFont
        LabelFont
          Color               greyedout
          Size                Small
@@ -166,7 +170,8 @@ InsetLayout Note:Greyedout
        MultiPar              true
        HTMLStyle
                div.note_greyedout { 
-                       background-color: #A0A0A0; 
+                       display: inline;
+                       color: #A0A0A0; 
                        padding-left: 1ex;
                        padding-right: 1ex;
                }
@@ -222,6 +227,7 @@ InsetLayout Listings
        KeepEmpty             true
        FreeSpacing           true
        ForceLTR              true
+       RefPrefix             lst
 End
 
 InsetLayout Branch
@@ -248,6 +254,7 @@ InsetLayout Index
        MultiPar              false
        CustomPars            false
        ForcePlain            true
+       ContentAsLabel        true
 End
 
 InsetLayout Box
@@ -276,6 +283,12 @@ InsetLayout Float
          Size                Small
        EndFont
        MultiPar              true
+       HTMLStyle
+               div.float {
+                       border: 2px solid black;
+                       text-align: center;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Wrap
@@ -284,6 +297,7 @@ InsetLayout Wrap
          Size                Small
        EndFont
        MultiPar              true
+       RefPrefix             wrap
        HTMLStyle
                div.wrap { 
                        float: right;
@@ -298,6 +312,7 @@ InsetLayout URL
        LyXType               standard
        Decoration            classic
        LabelString           URL
+       ContentAsLabel        true
        LatexName             url
        LatexType             command
        Requires              url
@@ -387,3 +402,21 @@ 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
+
+
+InsetLayout Preview
+       LabelString           Preview
+       Decoration            minimalistic
+       MultiPar              true
+End