]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdlists.inc
forbid spellchecking in code layouts
[lyx.git] / lib / layouts / stdlists.inc
index cfa828252f4fd7a2dfb4c90aa98a0b05fc06d6b5..dad3485bfa62ffc8d3eb21fc798e66736adfadae 100644 (file)
@@ -7,7 +7,7 @@
 # This include files contains various standard environments for lists.
 
 
-Format 16
+Format 31
 
 Style Itemize
        Category              List
@@ -27,6 +27,7 @@ Style Itemize
        LabelString           "*"
        HTMLTag               ul
        HTMLItem              li
+       HTMLLabel             NONE
 End
 
 
@@ -49,6 +50,8 @@ Style Enumerate
        LabelCounter          "enum"
        HTMLTag               ol
        HTMLItem              li
+       HTMLLabel             NONE
+       RefPrefix             enu
 End
 
 Style Description
@@ -71,14 +74,18 @@ Style Description
        LabelFont
          Series              Bold
        EndFont
-       HTMLTag               ol
-       HTMLItem              li
-       HTMLLabel             span
-       HTMLLabelAttr         class='desc'
+       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
@@ -114,8 +121,17 @@ Style List
                ol.lyxlist {
                        list-style-type: none;
                }
+               li.labeling_item {
+                       text-indent: -5em;
+                       margin-left: 5em;
+               }
                span.lyxlist {
-                       margin-right: 3em;
+                       margin-right: 1em;
                }
        EndHTMLStyle
 End
+
+
+Style List
+  Obsoletedby           Labeling
+End