Abdelrazak Younes wrote:
Dov Feldstern wrote:
(This all relates to the situation after undoing the changes to
Text.cpp from r21117)
At the risk of being proved wrong again (but that's how we learn ;) )
--- also r21121 breaks bidi. Undoing it fixes the problem.
This is the problem: ERT in RTL text generates incorrect latex code.
See attached RTL_ERT.lyx. Good TeX output is in RTL_ERT.wo21121.tex,
bad output in RTL_ERT.wo21121.tex (gives a "Too many }'s" error).
The problem is that ERT should output only exactly what is in it ---
without changing languages or encoding or anything. However, with
r21121, it seems to be doing too much of that stuff. ERT is very
special in this respect...
Yes, I agree this problem is between my two commits and I think I fixed
it in r21126 as I wrote in my last reply to you. Please try latest trunk.
I think we're mixing two separate issues. I changed the subject to make
this clearer.
The problems that were caused by r21117 have been fixed by Abdel in r21127.
This thread is about a separate problem, which is due to Martin's change
in r21121. I have described above what the problem is, and provided a
sample file with both the incorrect output, and correct output (after
reverting the change).
This problem still exists as of latest trunk (r21127) --- it's a totally
separate issue from Abdel's changes.
Abdel.
Dov