mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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.
This commit is contained in:
parent
6c5caa78cb
commit
daf7cd4c05
@ -30,6 +30,7 @@
|
||||
#include "MetricsInfo.h"
|
||||
#include "OutputParams.h"
|
||||
#include "output_latex.h"
|
||||
#include "output_xhtml.h"
|
||||
#include "texstream.h"
|
||||
#include "TocBackend.h"
|
||||
|
||||
@ -754,12 +755,16 @@ int InsetExternal::docbook(odocstream & os,
|
||||
}
|
||||
|
||||
|
||||
docstring InsetExternal::xhtml(XHTMLStream & /*xs*/,
|
||||
OutputParams const & /*rp*/) const
|
||||
docstring InsetExternal::xhtml(XHTMLStream & xs,
|
||||
OutputParams const & runparams) const
|
||||
{
|
||||
// external::writeExternal(params_, "XHTML", buffer(), os,
|
||||
// *(runparams.exportdata), false,
|
||||
// runparams.dryrun || runparams.inComment);
|
||||
bool const external_in_tmpdir = !runparams.nice;
|
||||
bool const dryrun = runparams.dryrun || runparams.inComment;
|
||||
odocstringstream ods;
|
||||
otexstream ots(ods, false);
|
||||
external::writeExternal(params_, "XHTML", buffer(), ots,
|
||||
*(runparams.exportdata), external_in_tmpdir, dryrun);
|
||||
xs << XHTMLStream::ESCAPE_NONE << ods.str();
|
||||
return docstring();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user