]> git.lyx.org Git - lyx.git/commitdiff
CSS for InsetInfo.
authorRichard Heck <rgheck@comcast.net>
Fri, 12 Jun 2009 15:27:29 +0000 (15:27 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 12 Jun 2009 15:27:29 +0000 (15:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30077 a592a061-630c-0410-9148-cb99ea01b6c8

development/HTML/HTML.notes
lib/layouts/stdinsets.inc

index 076bf058fdb1e8ef2e155ec1f1b1671c326a9ee7..e9427d5cfca87aa07508eb3c0a7b32c7f6ab6d36 100644 (file)
@@ -11,8 +11,8 @@ 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, Label, Line, Note, 
-       Newline, Newpage, Quotes, Space, SpecialChar
+       Bibitem, Branch, Collapsable, Footnote, Hyperlink, Info, Label, Line, 
+       Marginal, Note, Newline, Newpage, Quotes, Space, SpecialChar
 
 These insets do nothing for XHTML:
        ERT, OptArg, Phantom
@@ -45,6 +45,7 @@ These insets do not work and are not yet scheduled to work:
        InsetIndex and InsetPrintIndex: An "advanced" case. What really would be cool 
                would be to collect all of these and then write the index as a series of links 
                back to the occurrences. But not now.
+       InsetNomencl and InsetPrintNomencl: Also "advanced".
 
 May need to make use here of TocWidget::itemInset, which should then be moved
 to TocBackend.
@@ -61,10 +62,7 @@ These do not yet work and need some attention:
        InsetInclude: I think we just want to include it, straightforwardly. Probably will
                base this more on the latex() routine, then. Another possibility, maybe with a
                flag of some sort, would be to do it as a separate file, to which we link.
-       InsetInfo: Probably skip it.
        InsetListings: Probably just output it as <pre>.
-       InsetMarginal: Fine, but will need CSS.
-       InsetNomencl and InsetPrintNomencl: Also "advanced".
        InsetRef: Presumably, this is an internal link. But what should the text be, and how
                should we get it? Probably some validation thing again, where labels tell us where 
                they are. Alternatively, we could parse the aux file.
index a09aa48e8fc4248341dd07876c184a1ac092c09e..438cead752a68c7725da1d34f3bde42df03d0f90 100644 (file)
@@ -327,6 +327,11 @@ End
 
 InsetLayout Info
        Decoration            conglomerate
+       HTMLTag           span
+       HTMLAttr          class='info'
+       HTMLStyle
+               span.info { font-family: sans-serif; }
+       EndHTMLStyle
 End
 
 InsetLayout Info:menu
@@ -339,6 +344,11 @@ InsetLayout Info:menu
        Font
          Family              sans
        EndFont
+       HTMLTag           span
+       HTMLAttr          "class='info menu'"
+       HTMLStyle
+               span.menu { font-family: sans-serif; }
+       EndHTMLStyle
 End
 
 InsetLayout Info:shortcut
@@ -351,6 +361,11 @@ InsetLayout Info:shortcut
        Font
          Family              sans
        EndFont
+       HTMLTag           span
+       HTMLAttr          "class='info shortcut'"
+       HTMLStyle
+               span.shortcut { font-family: sans-serif; }
+       EndHTMLStyle
 End
 
 InsetLayout Info:shortcuts
@@ -363,6 +378,11 @@ InsetLayout Info:shortcuts
        Font
          Family              sans
        EndFont
+       HTMLTag           span
+       HTMLAttr          "class='info shortcut'"
+       HTMLStyle
+               span.shortcut { font-family: sans-serif; }
+       EndHTMLStyle
 End
 
 InsetLayout Box