]> 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 e79122cf56ab77db6233846418e86dca1e69c17c..c0b346dbd1efa9cb5884823a24091b4d9681514f 100644 (file)
@@ -6,7 +6,7 @@
 # This include files contains various standard environments for lists.
 
 
-Format 48
+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
@@ -32,6 +33,21 @@ Style Itemize
                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
 
 
@@ -41,6 +57,7 @@ Style Enumerate
        LatexType             Item_Environment
        LatexName             enumerate
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ParSkip               0.0
@@ -60,6 +77,19 @@ Style Enumerate
                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
@@ -89,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