commit 59acab7eeae8948f4b02289df04b27aa5948dcf9 Author: Richard Kimberly Heck <rikih...@lyx.org> Date: Sun Dec 4 14:33:29 2022 -0500
Add CSS for enumerations to other classes --- lib/layouts/apa.layout | 6 ++++++ lib/layouts/apax.inc | 6 ++++++ lib/layouts/beamer.layout | 6 ++++++ lib/layouts/egs.layout | 6 ++++++ lib/layouts/ijmpc.layout | 4 ++++ lib/layouts/ijmpd.layout | 4 ++++ lib/layouts/linguistics.module | 2 ++ lib/layouts/powerdot.layout | 6 ++++++ lib/layouts/stdlists.inc | 8 ++++---- lib/layouts/theorems-case.inc | 1 + 10 files changed, 45 insertions(+), 4 deletions(-) diff --git a/lib/layouts/apa.layout b/lib/layouts/apa.layout index fb15f29..38216e8 100644 --- a/lib/layouts/apa.layout +++ b/lib/layouts/apa.layout @@ -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 diff --git a/lib/layouts/apax.inc b/lib/layouts/apax.inc index e693303..65f1179 100644 --- a/lib/layouts/apax.inc +++ b/lib/layouts/apax.inc @@ -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 diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index ca31c3e..00579c9 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -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 diff --git a/lib/layouts/egs.layout b/lib/layouts/egs.layout index c2ca95e..954a859 100644 --- a/lib/layouts/egs.layout +++ b/lib/layouts/egs.layout @@ -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 diff --git a/lib/layouts/ijmpc.layout b/lib/layouts/ijmpc.layout index ea60d59..7b2ebd3 100644 --- a/lib/layouts/ijmpc.layout +++ b/lib/layouts/ijmpc.layout @@ -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 diff --git a/lib/layouts/ijmpd.layout b/lib/layouts/ijmpd.layout index 25b6542..435f635 100644 --- a/lib/layouts/ijmpd.layout +++ b/lib/layouts/ijmpd.layout @@ -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 diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 1869c7b..c9478b5 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -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 diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout index d1bf9c6..f2bcf68 100644 --- a/lib/layouts/powerdot.layout +++ b/lib/layouts/powerdot.layout @@ -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 diff --git a/lib/layouts/stdlists.inc b/lib/layouts/stdlists.inc index abe5dbe..1e83198 100644 --- a/lib/layouts/stdlists.inc +++ b/lib/layouts/stdlists.inc @@ -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 diff --git a/lib/layouts/theorems-case.inc b/lib/layouts/theorems-case.inc index e03edd3..0741cb6 100644 --- a/lib/layouts/theorems-case.inc +++ b/lib/layouts/theorems-case.inc @@ -51,6 +51,7 @@ Style Case HTMLTag ol HTMLItem li HTMLLabel NONE + HTMLClass lyxcase RefPrefix enu Argument listpreamble:1 LabelString "List preamble" -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs