else if (name == "fontenc") {
h_fontencoding = getStringFromVector(options, ",");
- // as of version LyX 2.0 "T1" is equal to the setting "global"
- if (h_fontencoding == "T1")
+ /* We could do the following for better round trip support,
+ * but this makes the document less portable, so I skip it:
+ if (h_fontencoding == lyxrc.fontenc)
h_fontencoding = "global";
+ */
options.clear();
}
; // Ignore this, the geometry settings are made by the \geometry
// command. This command is handled below.
+ else if (name == "rotfloat")
+ ; // ignore this
+
+ else if (name == "wrapfig")
+ ; // ignore this
+
else if (is_known(name, known_languages))
h_language = name;