[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



On Thu, Jul 10, 2003 at 01:15:43PM +0300, Munzir Taha Obeid wrote:
> First, I want to apologize for the long delay. Actually, I had a car accident 
> but praise be to God I am OK.

Good to hear (the latter part...)

> Second, as you guessed, if I changed the .tex file to look like this,
> 
> \begin{document}
> hi
> 
> \begin{arabtext}
> \begin{center}????????%
> \end{center}
> \end{arabtext}
> \end{document}
> 
> I still get some garbage at the end of the file. So this is not useful as 
> you guessed yourself.

Hm, as expected...

> 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!!!

Because the '%' will make TeX ignore the rest of the line _including_
the newline at the end. So,  %\n  is invisible to TeX's stomach.
A \n alone, however, would be visible and 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
> ----
> 
> 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?

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

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)