};
// Keep the changes documented in the Customization manual.
-int const FORMAT = 18;
+int const FORMAT = 20;
bool layout2layout(FileName const & filename, FileName const & tempfile)
FT_LISTNAME,
FT_BUILTIN,
FT_HTMLSTYLE,
- FT_HTMLCLASS,
- FT_HTMLTYPE,
+ FT_HTMLATTR,
+ FT_HTMLTAG,
FT_END
};
{ "end", FT_END },
{ "extension", FT_EXT },
{ "guiname", FT_NAME },
- { "htmlclass", FT_HTMLCLASS },
+ { "htmlattr", FT_HTMLATTR },
{ "htmlstyle", FT_HTMLSTYLE },
- { "htmltype", FT_HTMLTYPE },
+ { "htmltag", FT_HTMLTAG },
{ "latexbuiltin", FT_BUILTIN },
{ "listname", FT_LISTNAME },
{ "numberwithin", FT_WITHIN },
lexrc.pushTable(floatTags);
string ext;
- string htmlclass;
+ string htmlattr;
string htmlstyle;
- string htmltype;
+ string htmltag;
string listName;
string name;
string placement;
lexrc.next();
builtin = lexrc.getBool();
break;
- case FT_HTMLCLASS:
+ case FT_HTMLATTR:
lexrc.next();
- htmlclass = lexrc.getString();
+ htmlattr = lexrc.getString();
break;
case FT_HTMLSTYLE:
lexrc.next();
htmlstyle = lexrc.getLongString("EndHTMLStyle");
break;
- case FT_HTMLTYPE:
+ case FT_HTMLTAG:
lexrc.next();
- htmltype = lexrc.getString();
+ htmltag = lexrc.getString();
break;
case FT_END:
getout = true;
// Here if have a full float if getout == true
if (getout) {
Floating fl(type, placement, ext, within, style, name,
- listName, htmltype, htmlclass, htmlstyle, builtin);
+ listName, htmltag, htmlattr, htmlstyle, builtin);
floatlist_.newFloat(fl);
// each float has its own counter
counters_.newCounter(from_ascii(type), from_ascii(within),