* buffer.C (parseSingleLyXformat2Token): Fix reading of old format
minipages: use col% instead of p%, and also use the current font.
(makeLaTeXFile): Fix use babel condition.
- (parseSingleLyXformat2Token): Do not reset font when reading old
- floats.
+ (parseSingleLyXformat2Token): Correct font when reading old floats.
2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
nylex.setStream(istr);
inset->read(this, nylex);
- // we have to reset the font as in the old format after a float
- // the font was automatically reset!
- //font = LyXFont(LyXFont::ALL_INHERIT, params.language);
- // This is not true (Dekel).
-
par->insertInset(pos, inset, font);
++pos;
insertErtContents(par, pos);
+
+ // we have to reset the font as in the old format after a float
+ // the font was automatically reset!
+ font = LyXFont(LyXFont::ALL_INHERIT, params.language);
#endif
} else if (token == "\\begin_deeper") {
++depth;