mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Activate export of external material for XHTML.
As of this commit, this is ineffective, since no changes have been
made to external_templates.
(cherry picked from commit daf7cd4c05
)
This commit is contained in:
parent
f457b11fa7
commit
de3284ba9a
@ -30,6 +30,7 @@
|
|||||||
#include "MetricsInfo.h"
|
#include "MetricsInfo.h"
|
||||||
#include "OutputParams.h"
|
#include "OutputParams.h"
|
||||||
#include "output_latex.h"
|
#include "output_latex.h"
|
||||||
|
#include "output_xhtml.h"
|
||||||
#include "TocBackend.h"
|
#include "TocBackend.h"
|
||||||
|
|
||||||
#include "frontends/alert.h"
|
#include "frontends/alert.h"
|
||||||
@ -753,12 +754,17 @@ int InsetExternal::docbook(odocstream & os,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
docstring InsetExternal::xhtml(XHTMLStream & /*xs*/,
|
docstring InsetExternal::xhtml(XHTMLStream & xs,
|
||||||
OutputParams const & /*rp*/) const
|
OutputParams const & runparams) const
|
||||||
{
|
{
|
||||||
// external::writeExternal(params_, "XHTML", buffer(), os,
|
bool const external_in_tmpdir = !runparams.nice;
|
||||||
// *(runparams.exportdata), false,
|
bool const dryrun = runparams.dryrun || runparams.inComment;
|
||||||
// runparams.dryrun || runparams.inComment);
|
TexRow texrow;
|
||||||
|
odocstringstream ods;
|
||||||
|
otexstream ots(ods, texrow);
|
||||||
|
external::writeExternal(params_, "XHTML", buffer(), ots,
|
||||||
|
*(runparams.exportdata), external_in_tmpdir, dryrun);
|
||||||
|
xs << XHTMLStream::ESCAPE_NONE << ods.str();
|
||||||
return docstring();
|
return docstring();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user