On Sat, Sep 24, 2016 at 08:35:47AM +0200, Jürgen Spitzmüller wrote:

> Am Samstag, den 24.09.2016, 03:34 +0200 schrieb Enrico Forestieri:
> > LyX was making a real mess when switching languages with polyglossia.
> > I attach here a couple of simple test cases demonstrating it.
> > Should be fixed at 3bc08a76.
> 
> Thanks for fixing. This bug was a real PITA.
> 
> This is http://www.lyx.org/trac/ticket/9633 by the way.

Thanks, I was missing this one. I see that you also had an almost
working patch following the same strategy. It cannot work simply
because you were using the paragraph depth as a nesting level, which
should instead be tracked. However, nice idea using a map, I had not
thought of it. A stack was the natural construct that popped in my mind.

-- 
Enrico

Reply via email to