]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Dirty Perl script for alphabetizing LyXAction.cpp, in case it
[lyx.git] / lib / layouts / stdinsets.inc
index c9a497a6e4176d9ed3f246a3e58f5c77311c7b08..af5bc16f20bff01ec995c70bdd0cd6e71e308e26 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Detailed format description is available in the customization manual
 
-Format 59
+Format 62
 
 Provides stdinsets 1
 
@@ -115,6 +115,7 @@ InsetLayout Note:Comment
        LabelString           Comment
        LatexType             environment
        LatexName             comment
+       Requires              verbatim
        BgColor               commentbg
        LabelFont
          Color               comment
@@ -124,11 +125,11 @@ InsetLayout Note:Comment
        Display               false
        HTMLTag               div
        HTMLIsBlock           true
-  HTMLStyle
-    div.note_comment {
-      display: none;
-    }
-  EndHTMLStyle
+       HTMLStyle
+       div.note_comment {
+               display: none;
+       }
+       EndHTMLStyle
 End
 
 
@@ -142,8 +143,7 @@ InsetLayout Note:Note
          Size                Small
        EndFont
        MultiPar              true
-       HTMLIsBlock           false
-# FIXME HTML Need CSS
+       # Not output for XHTML
 End
 
 
@@ -151,6 +151,7 @@ InsetLayout Note:Greyedout
        LabelString           Greyedout
        LatexType             environment
        LatexName             lyxgreyedout
+       Requires              color,lyxgreyedout
        BgColor               greyedoutbg
        Font
          Color               greyedouttext
@@ -313,6 +314,19 @@ InsetLayout Listings
        ForceLTR              true
        RefPrefix             lst
        HTMLTag               pre
+       HTMLStyle
+               div.float-listings {
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+               div.listings-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+       }
+       EndHTMLStyle
 End
 
 InsetLayout Branch
@@ -340,6 +354,7 @@ InsetLayout Index
        CustomPars            false
        ForcePlain            true
        ContentAsLabel        true
+       PassThruChars         @|!
 End
 
 InsetLayout Box
@@ -575,7 +590,7 @@ InsetLayout Caption:Standard
 End
 
 
-InsetLayout Caption:LongTableNoNumber
+InsetLayout Caption:Unnumbered
        CopyStyle            Caption:Standard
        LabelString          unlabelled
        LatexName            caption*
@@ -618,3 +633,16 @@ End
 InsetLayout PrintNomencl
   HTMLTag h2
 End
+
+InsetLayout Tabular
+       HTMLStyle
+               table {
+                       border-collapse: collapse;
+                       display: inline-block;
+               }
+               td {
+                       border: 1px solid black;
+                       padding: 0.5ex;
+               }
+       EndHTMLStyle
+End