]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/powerdot.layout
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / powerdot.layout
index aa6ad79e8b193cc5f5415413da0df0492a025deb..383f41471c31b8e11350357838ae9200d99f4b4a 100644 (file)
@@ -5,7 +5,7 @@
 # Created: 29-Aug-05 by Mael Hilléreau
 # Modified: 20-May-06 by Uwe Stöhr, 18-Mar-2013 Jürgen Spitzmüller
 
-Format 54
+Format 99
 
 Input stdcounters.inc
 Input stdinsets.inc
@@ -57,9 +57,12 @@ Style Title
   Font
     Series      Bold
     Size        Largest
-    Color       Blue
+    Color       textlabel1
   EndFont
   HTMLTitle     true
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 ###
@@ -80,8 +83,13 @@ Style Author
   LabelType     No_Label
   Font
     Size        Large
-    Color       Blue
+    Color       textlabel1
   EndFont
+  DocBookTag            personname
+  DocBookTagType        paragraph
+  DocBookWrapperTag     author
+  DocBookWrapperTagType inline
+  DocBookInInfo         always
 End
 
 ###
@@ -102,7 +110,7 @@ Style Date
   LabelType     No_Label
   Font
     Size        Large
-    Color       Blue
+    Color       textlabel1
   EndFont
 End
 
@@ -118,6 +126,7 @@ Style Standard
   Align         Block
   AlignPossible Block, Left, Right, Center
   LabelType     No_Label
+  DocBookTag    para
 End
 
 ###
@@ -137,7 +146,7 @@ Style Slide
   Align         Center
   LabelType     Static
   LabelCounter  subsection
-  LabelString   "    "
+  LabelString   ""
   Argument 1
     LabelString   "Slide Option"
     Tooltip       "Optional arguments to the slide command (see powerdot manual)"
@@ -145,7 +154,7 @@ Style Slide
   Font
     Series      Bold
     Size        Large
-    Color       Magenta
+    Color       textlabel3
   EndFont
 End
 
@@ -181,7 +190,7 @@ Style WideSlide
   CopyStyle     Slide
   LatexName     lyxend\lyxwideslide
   Font
-    Color       Green
+    Color       textlabel2
   EndFont
 End
 
@@ -196,7 +205,7 @@ Style EmptySlide
   LabelType     Static
   KeepEmpty     1
   Font
-    Color       Cyan
+    Color       greyedouttext
   EndFont
 End
 
@@ -223,7 +232,7 @@ Style Note
   Font
     Series      Bold
     Size        Large
-    Color       Red
+    Color       textlabel3
   EndFont
 End
 
@@ -240,13 +249,14 @@ Style Section
   LabelString   "\arabic{section}"
   Font
     Size        Larger
-    Color       Blue
+    Color       textlabel1
   EndFont
   LabelStringAppendix "\Alph{section}"
   Argument 1
     LabelString   "Section Option"
     Tooltip       "Optional arguments to the section command (see powerdot manual)"
   EndArgument
+  HTMLTag       h2
 End
 
 ###
@@ -276,6 +286,16 @@ Style Itemize
     LabelString   "Itemize Options"
     Tooltip       "Optional arguments for this list (see enumitem manual)"
   EndArgument
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
+  EndArgument
   Argument item:1
     LabelString   "Custom Item|s"
     Tooltip       "A customized item string"
@@ -287,6 +307,9 @@ Style Itemize
     LeftDelim      <
     RightDelim     >
   EndArgument
+  DocBookTag            itemizedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style ItemizeType1
@@ -328,6 +351,16 @@ Style Enumerate
     Tooltip       "Optional arguments for this list (see enumitem manual)"
     Requires      1
   EndArgument
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
+  EndArgument
   Argument item:1
     LabelString   "Custom Item|s"
     Tooltip       "A customized item string"
@@ -339,6 +372,15 @@ Style Enumerate
     LeftDelim      <
     RightDelim     >
   EndArgument
+  DocBookTag            orderedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
+  HTMLStyle
+      ol.enumi   { list-style-type: decimal; }
+      ol.enumii  { list-style-type: lower-latin; }
+      ol.enumiii { list-style-type: lower-roman; }
+      ol.enumiv  { list-style-type: upper-latin; }
+  EndHTMLStyle
 End
 
 Style EnumerateType1
@@ -371,6 +413,18 @@ Style Bibliography
   LabelType     Bibliography
   LabelString   ""
   LabelBottomSep 0
+  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
 End
 
 ###
@@ -499,11 +553,14 @@ End
 ###
 # Float definitions
 ###
+Input stdfloatnames.inc
+
 Float
        Type                  table
        GuiName               Table
-       Placement             tbp
        AllowedPlacement      H
+       AllowsSideways        0
+       AllowsWide            0
        Extension             lot
        NumberWithin          none
        Style                 plain
@@ -518,8 +575,9 @@ End
 Float
        Type                  figure
        GuiName               Figure
-       Placement             tbp
        AllowedPlacement      H
+       AllowsSideways        0
+       AllowsWide            0
        Extension             lof
        NumberWithin          none
        Style                 plain
@@ -534,8 +592,9 @@ End
 Float
        Type                  algorithm
        GuiName               Algorithm
-       Placement             tbp
        AllowedPlacement      H
+       AllowsSideways        0
+       AllowsWide            0
        Extension             loa
        NumberWithin          none
        Style                 ruled
@@ -549,30 +608,38 @@ End
 # Counters definitions
 ###
 Counter enumi
+       GuiName "Numbered List (Level 1)"
 End
 
 Counter enumii
+       GuiName "Numbered List (Level 2)"
   Within        enumi
 End
 
 Counter enumiii
+       GuiName "Numbered List (Level 3)"
   Within        enumii
 End
 
 Counter enumiv
+       GuiName "Numbered List (Level 4)"
   Within        enumiii
 End
 
 Counter bibitem
+       GuiName "Bibliography Item"
 End
 
 Counter figure
+       GuiName Figure
 End
 
 Counter table
+       GuiName Table
 End
 
 Counter algorithm
+       GuiName Algorithm
 End
 
 ###