On Sat, May 12, 2007 at 09:42:00PM +0300, Dov Feldstern wrote: > Hi! > > Uwe (or anyone else who's been playing around with output_latex lately): > do you think you could provide some help with bug 1820 > (http://bugzilla.lyx.org/show_bug.cgi?id=1820)? This bug is not a > regression, but I think that some of the instability I've been seeing > lately in RTL is due to it... > > In the bugzilla I outline what the problem is, and a suggestion for > solving it, but I don't know the code there that well, so I'm not sure > that that's the best way. And with all the changes you've been making > lately, maybe there's now a better way? > > Thanks! > Dov
I believe you have to extend this code (output_latex.cpp) (as you correctly suspected): Language const * const prev_par_language = (pit != paragraphs.begin()) ? boost::prior(pit)->getParLanguage(bparams) : doc_language; to look at the language of the "embedding paragraph" of the inset. Recently I saw someone (Abdel?) do this kind of thing in some other connection, so he should know how to do this. - Martin