]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdlists.inc
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / stdlists.inc
index 17c72c516f957abbfdd22da6ec420c383395e895..c0b346dbd1efa9cb5884823a24091b4d9681514f 100644 (file)
@@ -6,7 +6,7 @@
 # This include files contains various standard environments for lists.
 
 
-Format 36
+Format 84
 
 Input stdlyxlist.inc
 
@@ -16,6 +16,7 @@ Style Itemize
        LatexType             Item_Environment
        LatexName             itemize
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ItemSep               0.2
@@ -25,10 +26,28 @@ Style Itemize
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Itemize
-       LabelString           "*"
        HTMLTag               ul
        HTMLItem              li
        HTMLLabel             NONE
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       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
+       DocBookWrapperTag     itemizedlist
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            NONE
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
 End
 
 
@@ -38,6 +57,7 @@ Style Enumerate
        LatexType             Item_Environment
        LatexName             enumerate
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ParSkip               0.0
@@ -53,6 +73,23 @@ Style Enumerate
        HTMLItem              li
        HTMLLabel             NONE
        RefPrefix             enu
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       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
+       DocBookTag            orderedlist
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
 End
 
 Style Description
@@ -71,7 +108,6 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           "MM"
        LabelFont
          Series              Bold
        EndFont
@@ -83,6 +119,21 @@ Style Description
        HTMLStyle
                dl.description dt { font-weight: bold; }
        EndHTMLStyle
+       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
+       DocBookTag            variablelist
+       DocBookItemWrapperTag varlistentry
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
+       DocBookItemLabelTag   term
 End