Disable XHTML output for InsetExternal---for the time being.

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
This commit is contained in:
Richard Heck 2009-06-18 20:44:38 +00:00
parent 9c662bf442
commit 4a86c407d9
3 changed files with 14 additions and 1 deletions

View 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.

View 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)

View 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;
///