this is pretty cool, I think.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29965
a592a061-630c-0410-9148-
cb99ea01b6c8
MultiPar true
HTMLTag span
HTMLAttr class='footnote'
+ HTMLStyle
+ span.notenum {
+ vertical-align: super;
+ font-size: smaller;
+ }
+ span.footnote {
+ display: none;
+ }
+ span.footwrapper:hover span.footnote {
+ display: block;
+ border: 1px double black;
+ margin: 0em 1em;
+ padding: 1em;
+ }
+ EndHTMLStyle
End
InsetLayout Note:Comment
}
+int InsetFoot::xhtml(odocstream & os, OutputParams const & runparams) const
+{
+ // FIXME It'd be nice to output the note number, but we'd need to save
+ // that when we go through updateLabels.
+ os << "<span class='footwrapper'><span class='notenum'>Note</span>\n";
+ InsetCollapsable::xhtml(os, runparams);
+ os << "\n</span>\n";
+ return 0;
+}
+
} // namespace lyx
///
int docbook(odocstream &, OutputParams const &) const;
///
+ int xhtml(odocstream &, OutputParams const &) const;
+ ///
docstring editMessage() const;
/// Update the counters of this inset and of its contents
void updateLabels(ParIterator const &);