>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote: >> Two points: >> >> - you forgot a texrow.newline() [since you add a new line]; also >> you can add the \n just before the \\end Juergen> I see. Thanks. >> - why does this fix the arabtex issue? Juergen> This is what Munzir Taha Obeid reported (actually, adding a Juergen> space or probably [not tested] a {} solves this too). I guess Juergen> that there are some parsing conflicts with arabic chars and Juergen> latex commands. At any case, LyX seems to be quite unusable Juergen> for arabtex users now, which is a pity. But are you sure that this is really the place where the \end{arabtex} thingy is added? >> I am not sure moreover that it is the right place to fix the >> problem: in the attached file, the inner \end{quote} will be at the >> right position (without the patch), for example. Juergen> OK, then we have different handlings for nested and free Juergen> environments? Then this should be unified I guess. No it is probably that paragraphs get a trailing \n in one case and not the other. And this is probably this that we have to track down. Juergen> Anyway, I just find it better LaTeX code if the environment Juergen> tags are on a separate line (also, if I add a %comment at the Juergen> very last item of a list or an ERT command ending with %, Juergen> LaTeX breaks, but this might be a poweruser problem). Agreed. Juergen> Do you have any idea for a good fix (or can you point me to a Juergen> right direction?). I am not sure how to do that. Probably by looking at the source and using gdb :) JMarc