]> git.lyx.org Git - lyx.git/blob - 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
1 # Standard textclass definition file. Taken from initial LyX source code
2 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
3 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
4 # Heavily modifed and enhanced by several developers.
5
6 # This include files contains various standard environments for lists.
7
8
9 Format 84
10
11 Input stdlyxlist.inc
12
13 Style Itemize
14         Category              List
15         Margin                Static
16         LatexType             Item_Environment
17         LatexName             itemize
18         NextNoIndent          1
19         ToggleIndent          Never
20         LeftMargin            MMN
21         LabelSep              xx
22         ItemSep               0.2
23         TopSep                0.7
24         BottomSep             0.7
25         ParSep                0.3
26         Align                 Block
27         AlignPossible         Block, Left
28         LabelType             Itemize
29         HTMLTag               ul
30         HTMLItem              li
31         HTMLLabel             NONE
32         Argument item:1
33                 LabelString   "Custom Item|s"
34                 Tooltip       "A customized item string"
35         EndArgument
36         Argument listpreamble:1
37                 LabelString    "List preamble"
38                 MenuString     "List Preamble"
39                 Tooltip        "LaTeX code to be inserted before the first item"
40                 PassThru       1
41                 Font
42                         Family typewriter
43                         Color latex
44                 EndFont
45         EndArgument
46         DocBookWrapperTag     itemizedlist
47         DocBookWrapperMergeWithPrevious    true
48         DocBookTag            NONE
49         DocBookItemTag        listitem
50         DocBookItemInnerTag   para
51 End
52
53
54 Style Enumerate
55         Category              List
56         Margin                Static
57         LatexType             Item_Environment
58         LatexName             enumerate
59         NextNoIndent          1
60         ToggleIndent          Never
61         LeftMargin            MMN
62         LabelSep              xx
63         ParSkip               0.0
64         ItemSep               0.2
65         TopSep                0.7
66         BottomSep             0.7
67         ParSep                0.3
68         Align                 Block
69         AlignPossible         Block, Left
70         LabelType             Enumerate
71         LabelCounter          "enum"
72         HTMLTag               ol
73         HTMLItem              li
74         HTMLLabel             NONE
75         RefPrefix             enu
76         Argument item:1
77                 LabelString   "Custom Item|s"
78                 Tooltip       "A customized item string"
79         EndArgument
80         Argument listpreamble:1
81                 LabelString    "List preamble"
82                 MenuString     "List Preamble"
83                 Tooltip        "LaTeX code to be inserted before the first item"
84                 PassThru       1
85                 Font
86                         Family typewriter
87                         Color latex
88                 EndFont
89         EndArgument
90         DocBookTag            orderedlist
91         DocBookItemTag        listitem
92         DocBookItemInnerTag   para
93 End
94
95 Style Description
96         Category              List
97         Margin                First_Dynamic
98         LatexType             Item_environment
99         LatexName             description
100         NextNoIndent          1
101         LeftMargin            MM
102         LabelSep              xxx
103         ParSkip               0.4
104         ItemSep               0.2
105         TopSep                0.7
106         BottomSep             0.7
107         ParSep                0.3
108         Align                 Block
109         AlignPossible         Block, Left
110         LabelType             Manual
111         LabelFont
112           Series              Bold
113         EndFont
114         HTMLTag               dl
115         HTMLAttr              class='description'
116         HTMLItem              dd
117         HTMLLabel             dt
118         HTMLLabelFirst        1
119         HTMLStyle
120                 dl.description dt { font-weight: bold; }
121         EndHTMLStyle
122         Argument listpreamble:1
123                 LabelString    "List preamble"
124                 MenuString     "List Preamble"
125                 Tooltip        "LaTeX code to be inserted before the first item"
126                 PassThru       1
127                 Font
128                         Family typewriter
129                         Color latex
130                 EndFont
131         EndArgument
132         DocBookTag            variablelist
133         DocBookItemWrapperTag varlistentry
134         DocBookItemTag        listitem
135         DocBookItemInnerTag   para
136         DocBookItemLabelTag   term
137 End
138
139
140 Style List
141   Obsoletedby           Labeling
142 End