]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdlists.inc
Initial HTML information for layouts. Much of this is prelimiary,
[lyx.git] / lib / layouts / stdlists.inc
index 12cf43466f1ba4d214a2f274775faf098e82018d..d4beb4ae9f93784d7e6c424b9f1ecfcbb4653e20 100644 (file)
@@ -7,7 +7,7 @@
 # This include files contains various standard environments for lists.
 
 
-Format 6
+Format 11
 Style Itemize
        Category              List
        Margin                Static
@@ -24,6 +24,8 @@ Style Itemize
        AlignPossible         Block, Left
        LabelType             Itemize
        LabelString           "*"
+       HTMLTag               ul
+       HTMLItem              li
 End
 
 
@@ -43,9 +45,11 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       LabelCounter          "enum"
+       HTMLTag               ol
+       HTMLItem              li
 End
 
-
 Style Description
        Category              List
        Margin                First_Dynamic
@@ -66,6 +70,9 @@ Style Description
        LabelFont
          Series              Bold
        EndFont
+       HTMLTag               dl
+       HTMLItem              dd
+       HTMLLabel             dt
 End
 
 
@@ -84,6 +91,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 +107,13 @@ Style List
                                 \renewcommand{\makelabel}[1]{##1\hfil}}}
                        {\end{list}}
        EndPreamble
-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
 
+       HTMLStyle
+               ol.lyxlist {
+                       list-style-type: none;
+               }
+               span.lyxlist {
+                       margin-right: 3em;
+               }
+       EndHTMLStyle
+End