First, I want to apologize for the long delay. Actually, I had a car accident but praise be to God I am OK.
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. 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!!! ----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? On Thursday 03 July 2003 10:48 am, Andre Poenitz wrote: > On Thu, Jul 03, 2003 at 07:12:53AM +0300, Munzir Taha Obeid wrote: > > > really simple way out... > > > > It works! > > I am not sure why a percent sign not a space but it _almost_ work. > > If I understand you properly, I made a small file in lyx and exported it > > to TeX. I edited the file by adding the percent before the "\end{center}" > > No. I meant at the end of the line before the \end{center}. > > % is the usual TeX command character which basically ignores everything on > the rest of the line and the leading whitespace on the next one. > > So your edited .tex should look like > > some text% > \end{center} > > Andre' -- __/ __/ _/ _/ _/ _/ _\ _/ _\ _/ _/ \ / _\ unzir _/ aha Telecommunications Engineer Linux Registered User [EMAIL PROTECTED]://counter.li.org CIW, ICDL, MOUS. New Horizons CLC Riyadh, SA