]> 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 d79fc5de28702d1550e0b913b15f3341728ce2b3..d4beb4ae9f93784d7e6c424b9f1ecfcbb4653e20 100644 (file)
@@ -1,14 +1,15 @@
 
 # Standard textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
 
 # This include files contains various standard environments for lists.
 
 
-Format 3
+Format 11
 Style Itemize
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             itemize
@@ -23,10 +24,13 @@ Style Itemize
        AlignPossible         Block, Left
        LabelType             Itemize
        LabelString           "*"
+       HTMLTag               ul
+       HTMLItem              li
 End
 
 
 Style Enumerate
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             enumerate
@@ -41,10 +45,13 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       LabelCounter          "enum"
+       HTMLTag               ol
+       HTMLItem              li
 End
 
-
 Style Description
+       Category              List
        Margin                First_Dynamic
        LatexType             Item_environment
        LatexName             description
@@ -63,10 +70,14 @@ Style Description
        LabelFont
          Series              Bold
        EndFont
+       HTMLTag               dl
+       HTMLItem              dd
+       HTMLLabel             dt
 End
 
 
 Style List
+       Category              List
        Margin                Manual
        LatexType             List_Environment
        LatexName             lyxlist
@@ -80,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
@@ -91,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