The attached patch sets the correct language when loading old (pre 2.17) format tabulars. -- Yves Bastide | Limos | +33 (0)4 73 40 77 73
Index: ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.651 diff -u -p -r1.651 ChangeLog --- ChangeLog 2000/10/31 23:28:49 1.651 +++ ChangeLog 2000/11/01 13:21:54 @@ -1,3 +1,8 @@ +2000-11-01 Yves Bastide <[EMAIL PROTECTED]> + + * src/tabular.C (OldFormatRead): set tabular language to the + document's one. + 2000-11-01 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * src/support/filetools.C (GetFileContents): close to dummy change Index: src/tabular.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/tabular.C,v retrieving revision 1.41 diff -u -p -r1.41 tabular.C --- src/tabular.C 2000/10/30 21:53:28 1.41 +++ src/tabular.C 2000/11/01 13:21:55 @@ -1392,6 +1392,7 @@ void LyXTabular::OldFormatRead(LyXLex & int pos = 0; char depth = 0; LyXFont font(LyXFont::ALL_SANE); + font.setLanguage(owner_->BufferOwner()->GetLanguage()); while (lex.IsOK()) { lex.nextToken();