+ FontState curstate = font.fontInfo().emph();
+ if (font_old.emph() != curstate)
+ doFontSwitch(xs, at_start, emph_flag, curstate, "em");
+
+ // noun
+ curstate = font.fontInfo().noun();
+ if (font_old.noun() != curstate)
+ doFontSwitch(xs, at_start, noun_flag, curstate, "dfn", "class='lyxnoun'");
+
+ // underbar
+ curstate = font.fontInfo().underbar();
+ if (font_old.underbar() != curstate)
+ doFontSwitch(xs, at_start, ubar_flag, curstate, "u");
+
+ // strikeout
+ curstate = font.fontInfo().strikeout();
+ if (font_old.strikeout() != curstate)
+ doFontSwitch(xs, at_start, sout_flag, curstate, "del", "class='strikeout'");
+
+ // HTML does not really have an equivalent of the next two, so we will just
+ // output a single underscore with a class, and people can style it if they
+ // wish to do so
+
+ // double underbar
+ curstate = font.fontInfo().uuline();
+ if (font_old.uuline() != curstate)
+ doFontSwitch(xs, at_start, dbar_flag, curstate, "u", "class='dline'");
+
+ // wavy line
+ curstate = font.fontInfo().uwave();
+ if (font_old.uwave() != curstate)
+ doFontSwitch(xs, at_start, wave_flag, curstate, "u", "class='wavyline'");
+