From 3d022e92b42d9d0e0c6af50caf33854e25b20742 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 19 Jun 2009 13:10:36 +0000 Subject: [PATCH] Forgot these. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30180 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/HTML/HTML.notes | 9 ++------- lib/layouts/stdfloats.inc | 18 +++++++++++++++++- lib/scripts/layout2layout.py | 3 +++ 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/development/HTML/HTML.notes b/development/HTML/HTML.notes index df20bbd977..bf7a870ebf 100644 --- a/development/HTML/HTML.notes +++ b/development/HTML/HTML.notes @@ -11,7 +11,7 @@ Known issues: These insets are basically done, though there are probably issues here and there, and there are even some FIXMEs: - Bibitem, Branch, Collapsable, Footnote, Hyperlink, Info, Label, Line, + Bibitem, Branch, Caption, Collapsable, Footnote, Hyperlink, Info, Label, Line, Marginal, Note, Newline, Newpage, Quotes, Space, SpecialChar, Wrap These insets do nothing for XHTML: @@ -37,9 +37,7 @@ These insets work but still need work: the like, but calculating labels will be more complex---unless we just parse the bbl file, which of course is the only fully general solution. InsetFlex: I think this one is OK, but it needs some testing. - -These insets do not work but should be completely straightforward: - Caption + InsetFloat: This seems to work OK, but it will need testing and tweaking. These insets do not work and are not yet scheduled to work: InsetExternal: It may be that this won't be too hard, but I don't understand @@ -53,9 +51,6 @@ May need to make use here of TocWidget::itemInset, which should then be moved to TocBackend. These do not yet work and need some attention: - InsetFloat: This will need some work, again because I do not really understand - what these are meant to do. Presumably, we'll just use a div or something, but - it's not clear what subfloat means, etc. InsetGraphics: This should be fairly straightforward, but I'll need to learn a bit about export formats, etc, to get it completely right. We'll also want to make some use of the params, eg, on width and height. I guess there is also some diff --git a/lib/layouts/stdfloats.inc b/lib/layouts/stdfloats.inc index c77778e22b..eb15ef6a45 100644 --- a/lib/layouts/stdfloats.inc +++ b/lib/layouts/stdfloats.inc @@ -4,7 +4,23 @@ # in most LyX layouts. -Format 11 +Format 16 + +AddToHTMLPreamble + +EndPreamble + + Float Type table GuiName Table diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index e354bdfafe..60f3cd8f90 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -60,6 +60,9 @@ import os, re, string, sys # HTMLStyle, and HTMLPreamble # For InsetLayout: # HTMLTag, HTMLAttr, HTMLStyle, and HTMLPreamble +# For Floats: +# HTMLType, HTMLClass, HTMLStyle +# These are still to be documented, once everything stabilizes. # Do not forget to document format change in Customization # Manual (section "Declaring a new text class"). -- 2.39.5