From 858dae36e90df96c5d8d52825a0d20083d2a3681 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 27 Oct 2009 13:39:39 +0000 Subject: [PATCH] Fix up some of the HTML tags now that we have default CSS. There's more to be done here. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31767 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/stdinsets.inc | 3 ++- lib/layouts/stdlayouts.inc | 4 +--- lib/layouts/stdlists.inc | 1 + lib/layouts/stdsections.inc | 9 --------- lib/layouts/stdstruct.inc | 5 +++-- lib/layouts/stdtitle.inc | 5 ----- 6 files changed, 7 insertions(+), 20 deletions(-) diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 400b55efd5..e4a978c034 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -78,7 +78,6 @@ InsetLayout Marginal MultiPar true NeedProtect true HTMLTag span - HTMLAttr class='marginal' HTMLStyle span.marginal { border: 2px solid black; @@ -160,8 +159,10 @@ InsetLayout Note:Note EndFont MultiPar true HTMLIsBlock false +# FIXME HTML Need CSS End + InsetLayout Note:Greyedout LabelString greyedout LatexType environment diff --git a/lib/layouts/stdlayouts.inc b/lib/layouts/stdlayouts.inc index 27dcf19fab..965261c0fa 100644 --- a/lib/layouts/stdlayouts.inc +++ b/lib/layouts/stdlayouts.inc @@ -26,7 +26,6 @@ Style Quotation Align Block AlignPossible Block, Left, Right, Center HTMLTag blockquote - HTMLAttr class='quotation' HTMLItem p End @@ -46,7 +45,6 @@ Style Quote AlignPossible Block, Left, Right, Center LabelType No_Label HTMLTag blockquote - HTMLAttr class='quote' HTMLItem p End @@ -69,7 +67,6 @@ Style Verse AlignPossible Block, Left LabelType No_Label HTMLTag blockquote - HTMLAttr class='verse' HTMLItem p End @@ -90,4 +87,5 @@ Style --Separator-- Size Normal Color Blue EndFont + HTMLLabel NONE End diff --git a/lib/layouts/stdlists.inc b/lib/layouts/stdlists.inc index 8829529649..35be3b337c 100644 --- a/lib/layouts/stdlists.inc +++ b/lib/layouts/stdlists.inc @@ -50,6 +50,7 @@ Style Enumerate LabelCounter "enum" HTMLTag ol HTMLItem li + HTMLLabel NONE End Style Description diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index 59dba1c46b..7682cda485 100644 --- a/lib/layouts/stdsections.inc +++ b/lib/layouts/stdsections.inc @@ -32,7 +32,6 @@ Style Part Size Huge EndFont HTMLTag h1 - HTMLAttr class='part' End @@ -59,7 +58,6 @@ Style Chapter Size Huge EndFont HTMLTag h1 - HTMLAttr class='chapter' End @@ -85,10 +83,6 @@ Style Section Size Larger EndFont HTMLTag h2 - HTMLAttr class='section' - HTMLStyle - h2.section { font-family: sans-serif; } - EndHTMLStyle End @@ -105,7 +99,6 @@ Style Subsection Size Large EndFont HTMLTag h3 - HTMLAttr class='subsection' End @@ -121,7 +114,6 @@ Style Subsubsection Size Normal EndFont HTMLTag h4 - HTMLAttr class='subsubsection' End @@ -145,7 +137,6 @@ Style Subparagraph NextNoIndent 0 LeftMargin MM HTMLTag span - HTMLAttr class='subparagraph' End Input numarticle.inc diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index 5c61391998..c5b6fb98c1 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -57,6 +57,7 @@ Style Bibliography Series Bold Size Larger EndFont - HTMLTag p - HTMLAttr class='bibliography' + HTMLTag div + HTMLItem p +# FIXME HTML We should have some CSS here to format the items as hanging. End diff --git a/lib/layouts/stdtitle.inc b/lib/layouts/stdtitle.inc index d3593bea98..6ffdb29337 100644 --- a/lib/layouts/stdtitle.inc +++ b/lib/layouts/stdtitle.inc @@ -27,7 +27,6 @@ Style Title Size Largest EndFont HTMLTag h1 - HTMLAttr class='title' End @@ -47,8 +46,6 @@ Style Author Font Size Large EndFont - HTMLTag h2 - HTMLAttr class='author' End @@ -68,6 +65,4 @@ Style Date Font Size Large EndFont - HTMLTag h2 - HTMLAttr class='date' End -- 2.39.5