docstring InsetScript::layoutName() const
{
- return from_ascii("script:" + scripttranslator().find(params_.type));
+ return from_ascii("Script:" + scripttranslator().find(params_.type));
}
}
-docstring InsetScript::xhtml(XHTMLStream & xs, OutputParams const & runparams) const
-{
- string cmdname;
- switch (params_.type) {
- case InsetScriptParams::Subscript:
- cmdname = "sub";
- break;
- case InsetScriptParams::Superscript:
- cmdname = "sup";
- break;
- }
-
- xs << html::StartTag(cmdname);
- docstring const ret = InsetText::xhtml(xs, runparams);
- xs << html::EndTag(cmdname);
- return ret;
-}
-
-
docstring InsetScript::contextMenuName() const
{
return from_ascii("context-script");
///
int docbook(odocstream &, OutputParams const &) const;
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
- ///
void edit(Cursor & cur, bool front,
EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
///
flag by using the same latex backend used for previewing the document
instead of always using the plain latex backend.
+- Fixed XHTML export of sub- and superscripts.
+
* USER INTERFACE