[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1



>>>>> "Andre" == Andre Poenitz <poenitz at htwm dot de> writes:

>> However, I still wonder how come you can add a % and a newline
>> without breaking out something whereas adding a newline alone will
>> break out too much!!!

Andre> Because the '%' will make TeX ignore the rest of the line
Andre> _including_ the newline at the end. So, %\n is invisible to
Andre> TeX's stomach. A \n alone, however, would be visible and
Andre> sometimes interpreted as extra space.

>> ----YOU TOLD ME BEFORE: It (newline) is _really_ hard to get right
>> and it will most certainly mess up in other situation. Such a thing
>> (the %) could be added without breaking too much ----

Actually, the problem is not about hiding the \n to tex, but rather
adding the \n. We count the number of \n added to the .tex file, and
the part that handles centering would have to be modified to return
this information.


>> I want to suggest something else. Why not we add a space after each
>> Arabic paragraph. I mean there should be a way to check for the
>> language written. If it's Arabic, we just add a space after each
>> paragraph. Something like the previous patch but for each
>> paragraph. What do you think?

Andre> Sounds a bit hackish, but would be ok to me as this should only
Andre> affect arabtex users - which are the ones having the problem...

This may not be too difficult, but I am really not competent to do
that. Maybe Dekel could have a go...

JMarc