]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/powerdot.layout
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / powerdot.layout
index ceb08cc580a408b69e69d0c3ba6a5e941790f3ad..383f41471c31b8e11350357838ae9200d99f4b4a 100644 (file)
@@ -5,10 +5,11 @@
 # Created: 29-Aug-05 by Mael Hilléreau
 # Modified: 20-May-06 by Uwe Stöhr, 18-Mar-2013 Jürgen Spitzmüller
 
-Format 53
+Format 99
 
 Input stdcounters.inc
 Input stdinsets.inc
+Input stdfloats.inc
 
 ###
 # General textclass parameters
@@ -56,9 +57,12 @@ Style Title
   Font
     Series      Bold
     Size        Largest
-    Color       Blue
+    Color       textlabel1
   EndFont
   HTMLTitle     true
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 ###
@@ -79,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
 
 ###
@@ -101,7 +110,7 @@ Style Date
   LabelType     No_Label
   Font
     Size        Large
-    Color       Blue
+    Color       textlabel1
   EndFont
 End
 
@@ -117,6 +126,7 @@ Style Standard
   Align         Block
   AlignPossible Block, Left, Right, Center
   LabelType     No_Label
+  DocBookTag    para
 End
 
 ###
@@ -136,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)"
@@ -144,7 +154,7 @@ Style Slide
   Font
     Series      Bold
     Size        Large
-    Color       Magenta
+    Color       textlabel3
   EndFont
 End
 
@@ -180,7 +190,7 @@ Style WideSlide
   CopyStyle     Slide
   LatexName     lyxend\lyxwideslide
   Font
-    Color       Green
+    Color       textlabel2
   EndFont
 End
 
@@ -195,7 +205,7 @@ Style EmptySlide
   LabelType     Static
   KeepEmpty     1
   Font
-    Color       Cyan
+    Color       greyedouttext
   EndFont
 End
 
@@ -222,7 +232,7 @@ Style Note
   Font
     Series      Bold
     Size        Large
-    Color       Red
+    Color       textlabel3
   EndFont
 End
 
@@ -239,20 +249,21 @@ 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
 
 ###
 # Itemize styles definition
 ###
 Style Itemize
-  Category      Lists
+  Category      List
   Margin        Static
   LatexType     Item_Environment
   LatexName     itemize
@@ -275,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"
@@ -286,6 +307,9 @@ Style Itemize
     LeftDelim      <
     RightDelim     >
   EndArgument
+  DocBookTag            itemizedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style ItemizeType1
@@ -301,7 +325,7 @@ End
 # Enumerate styles definition
 ###
 Style Enumerate
-  Category      Lists
+  Category      List
   Margin        Static
   LatexType     Item_Environment
   LatexName     enumerate
@@ -327,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"
@@ -338,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
@@ -370,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
 
 ###
@@ -496,75 +551,95 @@ Style Pause
 End
 
 ###
-# Caption style definition
+# Float definitions
 ###
+Input stdfloatnames.inc
 
-###
-# Floats definitions
-###
 Float
-  Type                  table
-  GuiName               Table
-  Extension             lot
-  NumberWithin          none
-  Style                 plain
-  ListName              "List of Tables"
-  IsPredefined          true
-  UsesFloatPkg          false
-  ListCommand           listoftables
-End
-  
+       Type                  table
+       GuiName               Table
+       AllowedPlacement      H
+       AllowsSideways        0
+       AllowsWide            0
+       Extension             lot
+       NumberWithin          none
+       Style                 plain
+       ListName              "List of Tables"
+       IsPredefined          true
+       UsesFloatPkg          false
+       ListCommand           listoftables
+       RefPrefix             tab
+End
+
+
 Float
-  Type                  figure
-  GuiName               Figure
-  Extension             lof
-  NumberWithin          none
-  Style                 plain
-  ListName              "List of Figures"
-  IsPredefined          true
-  UsesFloatPkg          false
-  ListCommand           listoffigures
+       Type                  figure
+       GuiName               Figure
+       AllowedPlacement      H
+       AllowsSideways        0
+       AllowsWide            0
+       Extension             lof
+       NumberWithin          none
+       Style                 plain
+       ListName              "List of Figures"
+       IsPredefined          true
+       UsesFloatPkg          false
+       ListCommand           listoffigures
+       RefPrefix             fig
 End
 
+
 Float
-  Type                  algorithm
-  GuiName               Algorithm
-  Extension             loa
-  NumberWithin          none
-  Style                 ruled
-  ListName              "List of Algorithms"
-  IsPredefined          false
-  UsesFloatPkg          true
+       Type                  algorithm
+       GuiName               Algorithm
+       AllowedPlacement      H
+       AllowsSideways        0
+       AllowsWide            0
+       Extension             loa
+       NumberWithin          none
+       Style                 ruled
+       ListName              "List of Algorithms"
+       IsPredefined          false
+       UsesFloatPkg          true
+       RefPrefix             alg
 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
 
 ###