Add CSS for enumerations to other classes

This commit is contained in:
Richard Kimberly Heck 2022-12-04 14:33:29 -05:00
parent c72cef7e8a
commit 59acab7eea
10 changed files with 45 additions and 4 deletions

View File

@ -459,6 +459,12 @@ Style Enumerate
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.lyxenumi { list-style-type: decimal; }
ol.lyxenumii { list-style-type: lower-latin; }
ol.lyxenumiii { list-style-type: lower-roman; }
ol.lyxenumiv { list-style-type: upper-latin; }
EndHTMLStyle
End

View File

@ -559,6 +559,12 @@ Style Enumerate
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.lyxenumi { list-style-type: decimal; }
ol.lyxenumii { list-style-type: lower-latin; }
ol.lyxenumiii { list-style-type: lower-roman; }
ol.lyxenumiv { list-style-type: upper-latin; }
EndHTMLStyle
End

View File

@ -183,6 +183,12 @@ Style Enumerate
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.lyxenumi { list-style-type: decimal; }
ol.lyxenumii { list-style-type: lower-latin; }
ol.lyxenumiii { list-style-type: lower-roman; }
ol.lyxenumiv { list-style-type: upper-latin; }
EndHTMLStyle
End
Style Description

View File

@ -197,6 +197,12 @@ Style Enumerate
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.lyxenumi { list-style-type: decimal; }
ol.lyxenumii { list-style-type: lower-latin; }
ol.lyxenumiii { list-style-type: lower-roman; }
ol.lyxenumiv { list-style-type: upper-latin; }
EndHTMLStyle
End

View File

@ -387,6 +387,7 @@ Style RomanList
AlignPossible Block, Left
LabelType Enumerate
LabelCounter "enum"
HTMLClass LyXRomanList
HTMLTag ol
HTMLItem li
HTMLLabel NONE
@ -394,6 +395,9 @@ Style RomanList
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.LyXRomanList { list-style-type: lower-roman; }
EndHTMLStyle
End
Style Proof

View File

@ -393,6 +393,7 @@ Style RomanList
AlignPossible Block, Left
LabelType Enumerate
LabelCounter "enum"
HTMLClass LyXRomanList
HTMLTag ol
HTMLItem li
HTMLLabel NONE
@ -400,6 +401,9 @@ Style RomanList
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.LyXRomanList { list-style-type: lower-roman; }
EndHTMLStyle
End
Style Proof

View File

@ -115,6 +115,7 @@ Style Numbered_Examples_(consecutive)
DocBookWrapperAttr role='consecutive'
DocBookWrapperMergeWithPrevious true
DocBookTag para
HTMLClass NumberedExample
End
@ -131,6 +132,7 @@ Style Subexample
Tooltip "Add subexamples options here"
PassThru 1
EndArgument
HTMLClass SubExample
End

View File

@ -374,6 +374,12 @@ Style Enumerate
DocBookTag orderedlist
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.lyxenumi { list-style-type: decimal; }
ol.lyxenumii { list-style-type: lower-latin; }
ol.lyxenumiii { list-style-type: lower-roman; }
ol.lyxenumiv { list-style-type: upper-latin; }
EndHTMLStyle
End
Style EnumerateType1

View File

@ -89,10 +89,10 @@ Style Enumerate
DocBookItemTag listitem
DocBookItemInnerTag para
HTMLStyle
ol.enumi { list-style-type: decimal; }
ol.enumii { list-style-type: lower-latin; }
ol.enumiii { list-style-type: lower-roman; }
ol.enumiv { list-style-type: upper-latin; }
ol.lyxenumi { list-style-type: decimal; }
ol.lyxenumii { list-style-type: lower-latin; }
ol.lyxenumiii { list-style-type: lower-roman; }
ol.lyxenumiv { list-style-type: upper-latin; }
EndHTMLStyle
End

View File

@ -51,6 +51,7 @@ Style Case
HTMLTag ol
HTMLItem li
HTMLLabel NONE
HTMLClass lyxcase
RefPrefix enu
Argument listpreamble:1
LabelString "List preamble"