FuncStatus & flag) const
{
switch (cmd.action()) {
- case LFUN_BREAK_PARAGRAPH:
+ case LFUN_PARAGRAPH_BREAK:
case LFUN_LAYOUT:
case LFUN_LAYOUT_PARAGRAPH:
case LFUN_MATH_DISPLAY:
case LFUN_FLOAT_LIST_INSERT:
case LFUN_FLOAT_WIDE_INSERT:
case LFUN_FOOTNOTE_INSERT:
- case LFUN_HFILL_INSERT:
case LFUN_INDEX_PRINT:
case LFUN_LISTING_INSERT:
case LFUN_MARGINALNOTE_INSERT:
}
-void InsetScript::validate(LaTeXFeatures & features) const
-{
- if (params_.type == InsetScriptParams::Subscript)
- features.require("subscript");
- InsetText::validate(features);
-}
-
-
-void InsetScript::latex(otexstream & os, OutputParams const & runparams) const
-{
- switch (params_.type) {
- case InsetScriptParams::Subscript:
- os << "\\textsubscript{";
- break;
- case InsetScriptParams::Superscript:
- os << "\\textsuperscript{";
- break;
- }
- InsetText::latex(os, runparams);
- os << "}";
-}
-
-
int InsetScript::plaintext(odocstream & os, OutputParams const & runparams) const
{
odocstringstream oss;