On Fri, Jul 13, 2007 at 01:27:09AM +0300, Dov Feldstern wrote: > > > Enrico Forestieri wrote: > >
> > Writing again "bla bla bla", I got: > > > > (Point 3a) > > bla bla bla \foreignlanguage{italian}{BLA BLA BLA}% > > \footnote{bla bla bla% > > } > > > > which lacks the \selectlanguage commands, meaning that I obtain different > > results after backspacing and writing again! > > > > I think this is purely a GUI issue, and has got to do with the > current_font stuff. I believe that the second time around, the language > you are typing in is Italian, not English. You can make sure by turning > on the "mark foreign language" preference. (I realize now that I have > the advantage of working with Hebrew and English, which use totally > different alphabets; so I very easily can tell when I'm in which > language...). Yes, you are right. However, doing so I discovered a bug in your patch. With your patch applied, when I mark as english the footnote content I correctly see a \selectlanguage{english} inserted before "bla bla bla". But I also see that the whole footnote inset is marked as foreign, so I select the whole of it and mark it as english. Now it is not underlined anymore but the \selectlanguage{english} is gone, too! -- Enrico