]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
fix typos.
[lyx.git] / lib / layouts / stdinsets.inc
index e4a978c034de071ce401f9e742118e56be5130f1..32e54a62df4a30255c05bf2bbcf16bb1e2350442 100644 (file)
@@ -53,7 +53,7 @@
 #                         be comma-separated.
 #End
 
-Format 16
+Format 18
 
 Provides stdinsets 1
 
@@ -62,14 +62,7 @@ InsetLayout Marginal
        LatexType             command
        LatexName             marginpar
        Font
-         Color               foreground
          Size                Small
-         Family              Roman
-         Shape               Up
-         Series              Medium
-         Misc                No_Emph
-         Misc                No_Noun
-         Misc                No_Bar
        EndFont
        LabelFont
          Color               marginlabel
@@ -77,9 +70,8 @@ InsetLayout Marginal
        EndFont
        MultiPar              true
        NeedProtect           true
-       HTMLTag               span
        HTMLStyle
-               span.marginal {
+               div.marginal {
                        border: 2px solid black; 
                        padding: 1ex; 
                        margin: 1ex; 
@@ -93,38 +85,25 @@ InsetLayout Foot
        LabelString           foot
        Counter               footnote
        Font
-         Color               foreground
          Size                Small
-         Family              Roman
-         Shape               Up
-         Series              Medium
-         Misc                No_Emph
-         Misc                No_Noun
-         Misc                No_Bar
        EndFont
        LabelFont
          Color               footlabel
          Size                Small
        EndFont
        MultiPar              true
-       HTMLTag               span
-       HTMLAttr              class='footwrapper'
-       HTMLLabel             "<span class='notenum'>\arabic{footnote}</span>"
-       HTMLInnerTag          span
-       HTMLInnerAttr         class='footnote'
+       HTMLLabel             \arabic{footnote}
+       HTMLInnerTag          div
        HTMLStyle
-               span.notenum { 
-                       vertical-align: super; 
-                       font-size: smaller; 
+               span.foot_label {
+                       vertical-align: super;
+                       font-size: smaller;
+                       font-weight: bold;
+                       text-decoration: underline;
                }
-               span.footnote {
-                       display: none;
-                       font-size: medium;
-                       font-weight: normal;
-                       font-style: normal;
-                       font-variant: normal;
-               }
-               span.footwrapper:hover span.footnote { 
+    div.foot { display: inline; }
+               div.foot_inner { display: none; }
+               div.foot:hover div.foot_inner { 
                        display: block; 
                        border: 1px double black; 
                        margin: 0em 1em;
@@ -173,10 +152,12 @@ InsetLayout Note:Greyedout
          Size                Small
        EndFont
        MultiPar              true
-       HTMLTag               span
-       HTMLAttr              class='notegrey'
        HTMLStyle
-               span.notegrey { color: gray; }
+               div.note_greyedout { 
+                       background-color: #A0A0A0; 
+                       padding-left: 1ex;
+                       padding-right: 1ex;
+               }
        EndHTMLStyle
        HTMLIsBlock           false
 End
@@ -246,14 +227,7 @@ InsetLayout Index
        LabelString           Idx
        Decoration            classic
        Font
-         Color               foreground
          Size                Small
-         Family              Roman
-         Shape               Up
-         Series              Medium
-         Misc                No_Emph
-         Misc                No_Noun
-         Misc                No_Bar
        EndFont
        LabelFont
          Color               indexlabel
@@ -296,9 +270,8 @@ InsetLayout Wrap
        EndFont
        MultiPar              true
        HTMLStyle
-               span.wrap { 
+               div.wrap { 
                        float: right;
-                       width: 40%;
                        border: 2px solid black;
                        padding: 1ex;
                        margin: 1ex;
@@ -328,6 +301,7 @@ InsetLayout URL
          Color               urllabel
          Size                Small
        EndFont
+       HTMLIsBlock           false
 End
 
 InsetLayout OptArg
@@ -341,14 +315,15 @@ End
 
 InsetLayout Info
        Decoration            conglomerate
-       HTMLTag           span
-       HTMLAttr          class='info'
        HTMLStyle
                span.info { font-family: sans-serif; }
        EndHTMLStyle
+       HTMLTag            span
+       MultiPar           false
 End
 
 InsetLayout Info:menu
+       CopyStyle             Info
        LatexType             command
        LatexName             menuitem
        Preamble
@@ -358,7 +333,6 @@ InsetLayout Info:menu
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info menu'"
        HTMLStyle
                span.menu { font-family: sans-serif; }
@@ -366,6 +340,7 @@ InsetLayout Info:menu
 End
 
 InsetLayout Info:shortcut
+       CopyStyle             Info
        LatexType             command
        LatexName             shortcut
        Preamble
@@ -375,7 +350,6 @@ InsetLayout Info:shortcut
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info shortcut'"
        HTMLStyle
                span.shortcut { font-family: sans-serif; }
@@ -383,6 +357,7 @@ InsetLayout Info:shortcut
 End
 
 InsetLayout Info:shortcuts
+       CopyStyle             Info
        LatexType             command
        LatexName             shortcut
        Preamble
@@ -392,15 +367,14 @@ InsetLayout Info:shortcuts
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info shortcut'"
        HTMLStyle
-               span.shortcut { font-family: sans-serif; }
+               span.shortcuts { font-family: sans-serif; }
        EndHTMLStyle
 End
 
 InsetLayout Box
        HTMLStyle
-               span.Frameless { font-family: sans-serif; }
+               div.Frameless { font-family: sans-serif; }
        EndHTMLStyle
 End