(i) Validate even for comments when outputting XHTML.
(ii) Output comments as divs hidden by default. Then people
can display them other ways if they wish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40401
a592a061-630c-0410-9148-
cb99ea01b6c8
EndFont
MultiPar true
Display false
- HTMLTag !--
- HTMLIsBlock false
+ HTMLTag div
+ HTMLIsBlock true
+ HTMLStyle
+ div.note_comment {
+ display: none;
+ }
+ EndHTMLStyle
End
EndFont
MultiPar true
Display false
+ HTMLInnerTag div
HTMLStyle
div.note_greyedout {
display: inline;
switch (params_.type) {
case InsetNoteParams::Comment:
features.require("verbatim");
+ if (features.runparams().flavor == OutputParams::HTML)
+ // we do output this but set display to "none" by default,
+ // but people might want to use it.
+ InsetCollapsable::validate(features);
break;
case InsetNoteParams::Greyedout:
features.require("color");
- Fix Sweave support for document encoding with R >= 2.13.1 (bug 7876).
+- Improved output of Comment notes for XHTML. These are now div's that are
+ hidden by the default CSS.
+
+
* TEX2LYX IMPROVEMENTS
- Chess diagram and Spreadsheet external templates are imported