else if (name == "url")
; // ignore this
+ else if (LYX_FORMAT >= 408 && name == "subscript")
+ ; // ignore this
+
else if (name == "color") {
// with the following command this package is only loaded when needed for
// undefined colors, since we only support the predefined colors
\providecommand{\makenomenclature}{\makeglossary}
\usepackage{varioref}
\usepackage{prettyref}
+\usepackage{subscript}
\usepackage{graphicx}
ellipsis\ldots, and end-of-sentence\@. LyX also supports a menu
separator\lyxarrow{}and a spif\textcompwordmark{}fy ligature break.
+A sub\textsubscript{sc\emph{ript}} and super\textsuperscript{script
+with $a^2+b^2=c^2$ math}.
+
\printindex{}
\printnomenclature{}
end_inset(os);
}
+ else if (LYX_FORMAT >= 408 &&
+ (t.cs() == "textsuperscript" || t.cs() == "textsubscript")) {
+ context.check_layout(os);
+ begin_inset(os, "script ");
+ os << t.cs().substr(4) << '\n';
+ parse_text_in_inset(p, os, FLAG_ITEM, false, context);
+ end_inset(os);
+ }
+
else if (is_known(t.cs(), known_quotes)) {
char const * const * where = is_known(t.cs(), known_quotes);
context.check_layout(os);