]> git.lyx.org Git - lyx.git/commitdiff
Disable XHTML output for InsetExternal---for the time being.
authorRichard Heck <rgheck@comcast.net>
Thu, 18 Jun 2009 20:44:38 +0000 (20:44 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 18 Jun 2009 20:44:38 +0000 (20:44 +0000)
As said in the comment, someone who knows what these are supposed
to do should have a look, please. It may be very easy to get these
to work, but I don't know.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30164 a592a061-630c-0410-9148-cb99ea01b6c8

development/HTML/HTML.notes
src/insets/InsetExternal.cpp
src/insets/InsetExternal.h

index fddefb120996f33cbb3c08bcdb56063b53695e1a..df20bbd977e2d3af3d9ecca28d5adb8e4a2988b0 100644 (file)
@@ -42,6 +42,8 @@ These insets do not work but should be completely straightforward:
        Caption
 
 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 
+               these so am not sure what to do. For now, it is disabled.
        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.
@@ -51,7 +53,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:
-       InsetExternal: I don't understand these so am not sure what to do.
        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.
index b773a2020426154f99c6532c76ac437c49f9eca7..c732024a23972a6bfa0e028ff7defec56923101a 100644 (file)
@@ -682,6 +682,15 @@ int InsetExternal::docbook(odocstream & os,
 }
 
 
+docstring InsetExternal::xhtml(odocstream & os,
+                       OutputParams const & rp) const {
+//     external::writeExternal(params_, "XHTML", buffer(), os,
+//                                    *(runparams.exportdata), false,
+//                                    runparams.dryrun || runparams.inComment);
+       return docstring();
+}
+
+
 void InsetExternal::validate(LaTeXFeatures & features) const
 {
        if (params_.draft)
index c41adea0afba4ef86f857b847f1fc0ad61453473..5f9d9b7da712cc903979c44dde9bc4b91c2f2a30 100644 (file)
@@ -133,6 +133,9 @@ private:
        int plaintext(odocstream &, OutputParams const &) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
+       /// For now, this does nothing. Someone who knows about this
+       /// should see what needs doing for XHTML output.
+       docstring xhtml(odocstream &, OutputParams const &) const;
        /// Update needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///