]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdstruct.inc
Update layouts to version 90
[lyx.git] / lib / layouts / stdstruct.inc
index efeb2da5cce44d28c2dc08899a5b10445b7404f2..b611b53da187a2bb751da654381e3a7ae2e3c886 100644 (file)
@@ -8,12 +8,15 @@
 # a document, like abstract, bibliography and such.
 
 
-Format 6
+Format 90
+
 Style Abstract
        Margin                Static
        LatexType             Environment
        LatexName             abstract
+       Category              FrontMatter
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -22,9 +25,9 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Abstract"
-       LabelBottomSep    0.5
+       LabelBottomSep        0.5
        Font
          Size                Small
        EndFont
@@ -32,6 +35,25 @@ Style Abstract
          Series              Bold
          Size                Large
        EndFont
+       HTMLLabelFirst        1
+       HTMLForceCSS          1
+       HTMLStyle
+               div.abstract {
+                       margin: 4ex;
+               }
+               div.abstract_item {
+                       font-size: small;
+                       padding-top: 1ex;
+               }
+               div.abstract_label {
+                       font-weight: bold;
+               }
+       EndHTMLStyle
+       DocBookAbstract       true
+       DocBookInInfo         always
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 
@@ -39,7 +61,9 @@ Style Bibliography
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
+       Category              BackMatter
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -55,4 +79,25 @@ Style Bibliography
          Series              Bold
          Size                Larger
        EndFont
+       HTMLStyle
+               div.bibliography {
+                       margin-left: 2em;
+                       text-indent: -2em;
+               }
+               span.bibitemlabel:before { content: "["; }
+               span.bibitemlabel:after { content: "] "; }
+       EndHTMLStyle
+       TocLevel              1
+       ISTocCaption          0
+       Argument listpreamble:1
+         LabelString    "Bib preamble"
+         MenuString     "Bibliography Preamble"
+         Tooltip        "LaTeX code to be inserted before the first bibliography item"
+         PassThru       1
+         Font
+           Family typewriter
+           Color latex
+         EndFont
+       EndArgument
+       DocBookTag            bibliography
 End