]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Do not throw away runparams settings of InsetText in InsetFoot::latex
[lyx.git] / lib / layouts / stdinsets.inc
index 1147fa5094347a9d455bcf55c0bbe539c1241c37..4a7cfc308f45a3b53f4b43983cf8c91244b0671f 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Detailed format description is available in the customization manual
 
-Format 85
+Format 100
 
 Provides stdinsets 1
 
@@ -16,7 +16,7 @@ OutlinerName index        "Index Entries" #no AddToToc (built-in)
 OutlinerName listing      "Listings" #no AddToToc (built-in)
 
 InsetLayout Marginal
-       LabelString           margin
+       LabelString           Margin
        LatexType             command
        LatexName             marginpar
        Font
@@ -36,7 +36,7 @@ InsetLayout Marginal
                        background-color: #F0F0F0;
                        float:right;
                        font-size: small;
-                       font-weight: medium;
+                       font-weight: normal;
                        font-family: serif;
                        font-variant: normal;
                        font-style: normal;
@@ -48,7 +48,7 @@ InsetLayout Marginal
 End
 
 InsetLayout Foot
-       LabelString           foot
+       LabelString           Foot
        LatexType             Command
        LatexName             footnote
        Counter               footnote
@@ -73,7 +73,7 @@ InsetLayout Foot
                div.foot {
                        display: inline;
                        font-size: small;
-                       font-weight: medium;
+                       font-weight: normal;
                        font-family: serif;
                        font-variant: normal;
                        font-style: normal;
@@ -89,6 +89,7 @@ InsetLayout Foot
        AddToToc              footnote
        IsTocCaption          true
        DocBookTag            footnote
+       DocBookTagType        inline
 End
 
 InsetLayout Foot:InTitle
@@ -109,7 +110,7 @@ InsetLayout Foot:InTitle
                span.foot_intitle {
                        display: inline;
                        font-size: small;
-                       font-weight: medium;
+                       font-weight: normal;
                        font-family: serif;
                        font-variant: normal;
                        font-style: normal;
@@ -179,6 +180,7 @@ InsetLayout Note:Greyedout
        Requires              color,lyxgreyedout
        BgColor               greyedoutbg
        Font
+         Size                Normal
          Color               greyedouttext
        EndFont
        LabelFont
@@ -266,11 +268,11 @@ InsetLayout TOC
       font-weight: bold;
     }
     div.lyxtoc-2 {
-      margin: 0em 0.1em 0em 1em;
+      margin: 0.5em 0.1em 0em 1em;
       font-size: large;
       font-weight: normal;
     }
-    div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
+    div.lyxtoc-3 { margin: 0.2em 0.1em 0em 0.5em; font-size: medium; }
     div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
     div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
     div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
@@ -367,6 +369,7 @@ InsetLayout Listings
        ForcePlain            true
        NeedCProtect          true
        RefPrefix             lst
+       EditExternal          true
        HTMLTag               pre
        HTMLStyle
                div.float-listings {
@@ -428,6 +431,36 @@ InsetLayout Index
        PassThruChars         @|!
 End
 
+InsetLayout IndexMacro:see
+       LabelString           See
+       Decoration            classic
+       Font
+         Size                Small
+       EndFont
+       LabelFont
+         Color               indexlabel
+         Size                Small
+       EndFont
+       MultiPar              false
+       CustomPars            false
+       ForcePlain            true
+End
+
+InsetLayout IndexMacro:seealso
+       CopyStyle             IndexMacro:see
+       LabelString           "See also"
+End
+
+InsetLayout IndexMacro:sortkey
+       CopyStyle             IndexMacro:see
+       LabelString           "Sort as"
+End
+
+InsetLayout IndexMacro:subentry
+       CopyStyle             IndexMacro:see
+       LabelString           "Subentry"
+End
+
 InsetLayout Box
        LabelFont
          Color               foreground
@@ -599,6 +632,7 @@ InsetLayout "Flex:URL"
        EndFont
        HTMLIsBlock           false
        DocBookTag            link
+       DocBookTagType        inline
 End
 
 InsetLayout Argument
@@ -618,6 +652,7 @@ InsetLayout Info
        EndHTMLStyle
        HTMLTag               span
        MultiPar              false
+       SpellCheck            false
 End
 
 InsetLayout Info:menu
@@ -631,7 +666,7 @@ InsetLayout Info:menu
        Font
          Family              sans
        EndFont
-       HTMLAttr              "class='info menu'"
+       HTMLClass             "info menu"
        HTMLStyle
                span.menu { font-family: sans-serif; }
        EndHTMLStyle
@@ -650,7 +685,7 @@ InsetLayout Info:shortcut
        Font
          Family              sans
        EndFont
-       HTMLAttr              "class='info shortcut'"
+       HTMLClass             "info shortcut"
        HTMLStyle
                span.shortcut { font-family: sans-serif; }
        EndHTMLStyle
@@ -671,7 +706,7 @@ InsetLayout Info:shortcuts
        Font
          Family              sans
        EndFont
-       HTMLAttr              "class='info shortcut'"
+       HTMLClass             "info shortcut"
        HTMLStyle
                span.shortcuts { font-family: sans-serif; }
        EndHTMLStyle
@@ -691,6 +726,8 @@ InsetLayout Caption:Standard
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
                InsertCotext  1
+        DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
        EndArgument
        HTMLStyle
                div.float-caption {
@@ -700,7 +737,7 @@ InsetLayout Caption:Standard
                        margin: 1ex;
                }
        EndHTMLStyle
-       HTMLAttr "class='float-caption float-caption-standard'"
+       HTMLClass             "float-caption float-caption-standard"
 End
 
 
@@ -769,7 +806,6 @@ InsetLayout Tabular
                        display: inline-block;
                }
                td {
-                       border: 1px solid black;
                        padding: 0.5ex;
                }
        EndHTMLStyle