]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdlists.inc
Fix several layout related problems revealed by -dbg tclass.
[lyx.git] / lib / layouts / stdlists.inc
index 4909a91cb00b5498d14ca8ebac4168e70a21d3ae..dad3485bfa62ffc8d3eb21fc798e66736adfadae 100644 (file)
@@ -7,7 +7,8 @@
 # This include files contains various standard environments for lists.
 
 
-Format 8
+Format 31
+
 Style Itemize
        Category              List
        Margin                Static
@@ -24,6 +25,9 @@ Style Itemize
        AlignPossible         Block, Left
        LabelType             Itemize
        LabelString           "*"
+       HTMLTag               ul
+       HTMLItem              li
+       HTMLLabel             NONE
 End
 
 
@@ -43,9 +47,13 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       LabelCounter          "enum"
+       HTMLTag               ol
+       HTMLItem              li
+       HTMLLabel             NONE
+       RefPrefix             enu
 End
 
-
 Style Description
        Category              List
        Margin                First_Dynamic
@@ -66,10 +74,18 @@ Style Description
        LabelFont
          Series              Bold
        EndFont
+       HTMLTag               dl
+       HTMLAttr              class='description'
+       HTMLItem              dd
+       HTMLLabel             dt
+       HTMLLabelFirst        1
+       HTMLStyle
+               dl.description dt { font-weight: bold; }
+       EndHTMLStyle
 End
 
 
-Style List
+Style Labeling
        Category              List
        Margin                Manual
        LatexType             List_Environment
@@ -84,6 +100,11 @@ Style List
        AlignPossible         Block, Left
        LabelType             Manual
        LabelString           "00.00.0000"
+       HTMLTag               ol
+       HTMLAttr              class='lyxlist'
+       HTMLItem              li
+       HTMLLabel             span
+       HTMLLabelAttr         class='lyxlist'
 
        #define the environment lyxlist
        Preamble
@@ -95,44 +116,22 @@ Style List
                                 \renewcommand{\makelabel}[1]{##1\hfil}}}
                        {\end{list}}
        EndPreamble
-End
 
+       HTMLStyle
+               ol.lyxlist {
+                       list-style-type: none;
+               }
+               li.labeling_item {
+                       text-indent: -5em;
+                       margin-left: 5em;
+               }
+               span.lyxlist {
+                       margin-right: 1em;
+               }
+       EndHTMLStyle
+End
 
-#
-# New environments (not active yet)
-#
-#Environment Itemize
-#       LaTeXHeader "\begin{itemize}"
-#       LaTeXFooter "\end{itemize}"
-#  LabelString          "*"
-#  Margin               Static
-#  LatexType            Item_Environment
-#  NextNoIndent         1
-#  LeftMargin           MMN
-#  LabelSep             xx
-#  ItemSep              0.2
-#  TopSep               0.7
-#  BottomSep            0.7
-#  ParSep               0.3
-#  Align                Block
-#  AlignPossible        Block, Left
-#  LabelType            Static
-#End
-
-#Environment Enumerate
-#  Margin               Static
-#  LatexType            Item_Environment
-#  LatexName            enumerate
-#  NextNoIndent         1
-#  LeftMargin           MMN
-#  LabelSep             xx
-#  ParSkip              0.0
-#  ItemSep              0.2
-#  TopSep               0.7
-#  BottomSep            0.7
-#  ParSep               0.3
-#  Align                Block
-#  AlignPossible        Block, Left
-#  LabelType            Enumerate
-#End
 
+Style List
+  Obsoletedby           Labeling
+End